]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.cpp
Some trace log updates
[wxWidgets.git] / wxPython / src / msw / controls2.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/controls2.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initcontrols2c
55
56#define SWIG_name "controls2c"
57
58#include "helpers.h"
2f90df85
RD
59#ifdef __WXMSW__
60#include <windows.h>
61#endif
8ab979d7
RD
62#include <wx/listctrl.h>
63#include <wx/treectrl.h>
9416aa89 64#include <wx/imaglist.h>
68320e40 65#include <wx/dirctrl.h>
8ab979d7 66
8ab979d7
RD
67
68static PyObject* t_output_helper(PyObject* target, PyObject* o) {
69 PyObject* o2;
70 PyObject* o3;
71
e0672e2f 72 if (!target) {
8ab979d7 73 target = o;
e0672e2f 74 } else if (target == Py_None) {
8ab979d7
RD
75 Py_DECREF(Py_None);
76 target = o;
e0672e2f 77 } else {
8ab979d7
RD
78 if (!PyTuple_Check(target)) {
79 o2 = target;
80 target = PyTuple_New(1);
81 PyTuple_SetItem(target, 0, o2);
82 }
e0672e2f
RD
83 o3 = PyTuple_New(1);
84 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
85
86 o2 = target;
e0672e2f
RD
87 target = PySequence_Concat(o2, o3);
88 Py_DECREF(o2);
8ab979d7
RD
89 Py_DECREF(o3);
90 }
91 return target;
92}
137b5242
RD
93
94 // Put some wx default wxChar* values into wxStrings.
95 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
96 DECLARE_DEF_STRING(ListCtrlNameStr);
97
3413be75 98 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
137b5242
RD
99 DECLARE_DEF_STRING(_TreeCtrlNameStr);
100 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
101
102 static const wxString wxPyEmptyString(wxT(""));
0815db26
RD
103
104 static const long longzero = 0;
09f3d4e6 105 // C++ Version of a Python aware class
c7e7022c
RD
106class wxPyListCtrl : public wxListCtrl {
107 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
108public:
09f3d4e6 109 wxPyListCtrl() : wxListCtrl() {}
c7e7022c
RD
110 wxPyListCtrl(wxWindow* parent, wxWindowID id,
111 const wxPoint& pos,
112 const wxSize& size,
113 long style,
114 const wxValidator& validator,
137b5242 115 const wxString& name) :
c7e7022c
RD
116 wxListCtrl(parent, id, pos, size, style, validator, name) {}
117
09f3d4e6
RD
118 bool Create(wxWindow* parent, wxWindowID id,
119 const wxPoint& pos,
120 const wxSize& size,
121 long style,
122 const wxValidator& validator,
137b5242 123 const wxString& name) {
09f3d4e6
RD
124 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
125 }
126
c7e7022c
RD
127 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
128 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
129 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
130
131 PYPRIVATE;
132};
133
134IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
135
136IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
137IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
138IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
6d19860f 139 // Python aware sorting function for wxPyListCtrl
f6bcfd97 140 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
141 int retval = 0;
142 PyObject* func = (PyObject*)funcPtr;
4268f798 143 wxPyBeginBlockThreads();
dcd38683
RD
144
145 PyObject* args = Py_BuildValue("(ii)", item1, item2);
146 PyObject* result = PyEval_CallObject(func, args);
147 Py_DECREF(args);
148 if (result) {
149 retval = PyInt_AsLong(result);
150 Py_DECREF(result);
151 }
152
4268f798 153 wxPyEndBlockThreads();
dcd38683
RD
154 return retval;
155 }
156
157
cf694132
RD
158class wxPyTreeItemData : public wxTreeItemData {
159public:
160 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 161 if (obj == NULL)
cf694132 162 obj = Py_None;
c368d904
RD
163 Py_INCREF(obj);
164 m_obj = obj;
cf694132
RD
165 }
166
167 ~wxPyTreeItemData() {
4268f798 168 wxPyBeginBlockThreads();
c368d904 169 Py_DECREF(m_obj);
4268f798 170 wxPyEndBlockThreads();
cf694132
RD
171 }
172
173 PyObject* GetData() {
174 Py_INCREF(m_obj);
175 return m_obj;
176 }
177
178 void SetData(PyObject* obj) {
4268f798 179 wxPyBeginBlockThreads();
cf694132 180 Py_DECREF(m_obj);
4268f798 181 wxPyEndBlockThreads();
cf694132
RD
182 m_obj = obj;
183 Py_INCREF(obj);
184 }
185
186 PyObject* m_obj;
187};
09f3d4e6 188 // C++ version of Python aware wxTreeCtrl
f6bcfd97 189class wxPyTreeCtrl : public wxTreeCtrl {
3b36695d 190 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 191public:
09f3d4e6 192 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
193 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
194 const wxPoint& pos,
195 const wxSize& size,
196 long style,
197 const wxValidator& validator,
137b5242 198 const wxString& name) :
f6bcfd97
BP
199 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
200
09f3d4e6
RD
201 bool Create(wxWindow *parent, wxWindowID id,
202 const wxPoint& pos,
203 const wxSize& size,
204 long style,
205 const wxValidator& validator,
137b5242 206 const wxString& name) {
09f3d4e6
RD
207 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
208 }
209
210
f6bcfd97
BP
211 int OnCompareItems(const wxTreeItemId& item1,
212 const wxTreeItemId& item2) {
213 int rval = 0;
19a97bd6 214 bool found;
4268f798 215 wxPyBeginBlockThreads();
a66212dc
RD
216 if ((found = m_myInst.findCallback("OnCompareItems"))) {
217 PyObject *o1 = wxPyConstructObject((void*)&item1, "wxTreeItemId");
218 PyObject *o2 = wxPyConstructObject((void*)&item2, "wxTreeItemId");
219 rval = m_myInst.callCallback(Py_BuildValue("(OO)",o1,o2));
220 Py_DECREF(o1);
221 Py_DECREF(o2);
222 }
4268f798 223 wxPyEndBlockThreads();
19a97bd6 224 if (! found)
f6bcfd97 225 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
226 return rval;
227 }
228 PYPRIVATE;
229};
230
3b36695d
RD
231IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
232
1d99702e
RD
233#ifdef __cplusplus
234extern "C" {
235#endif
c7e7022c 236#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97 237static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 238 PyObject * _resultobj;
f6bcfd97 239 wxListItemAttr * _result;
c7e7022c
RD
240 wxColour * _arg0 = (wxColour *) &wxNullColour;
241 wxColour * _arg1 = (wxColour *) &wxNullColour;
242 wxFont * _arg2 = (wxFont *) &wxNullFont;
243 wxColour temp;
244 PyObject * _obj0 = 0;
245 wxColour temp0;
246 PyObject * _obj1 = 0;
247 PyObject * _argo2 = 0;
248 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97 249 char _ptemp[128];
af309447
RD
250
251 self = self;
c7e7022c
RD
252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
253 return NULL;
254 if (_obj0)
255{
256 _arg0 = &temp;
257 if (! wxColour_helper(_obj0, &_arg0))
258 return NULL;
259}
260 if (_obj1)
261{
262 _arg1 = &temp0;
263 if (! wxColour_helper(_obj1, &_arg1))
264 return NULL;
265}
266 if (_argo2) {
267 if (_argo2 == Py_None) { _arg2 = NULL; }
268 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
269 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
af309447 270 return NULL;
c7e7022c
RD
271 }
272 }
cf694132 273{
4268f798 274 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 275 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 276
4268f798 277 wxPyEndAllowThreads(__tstate);
493f1553 278 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
279} if (_result) {
280 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
281 _resultobj = Py_BuildValue("s",_ptemp);
282 } else {
283 Py_INCREF(Py_None);
284 _resultobj = Py_None;
285 }
af309447
RD
286 return _resultobj;
287}
288
f6bcfd97
BP
289#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
290static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 291 PyObject * _resultobj;
f6bcfd97
BP
292 wxListItemAttr * _arg0;
293 wxColour * _arg1;
1d99702e 294 PyObject * _argo0 = 0;
f6bcfd97
BP
295 wxColour temp;
296 PyObject * _obj1 = 0;
297 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
298
299 self = self;
f6bcfd97 300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 301 return NULL;
1d99702e
RD
302 if (_argo0) {
303 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
306 return NULL;
307 }
308 }
f6bcfd97
BP
309{
310 _arg1 = &temp;
311 if (! wxColour_helper(_obj1, &_arg1))
312 return NULL;
313}
cf694132 314{
4268f798 315 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 316 wxListItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 317
4268f798 318 wxPyEndAllowThreads(__tstate);
493f1553 319 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
320} Py_INCREF(Py_None);
321 _resultobj = Py_None;
8ab979d7
RD
322 return _resultobj;
323}
324
f6bcfd97
BP
325#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
326static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 327 PyObject * _resultobj;
f6bcfd97
BP
328 wxListItemAttr * _arg0;
329 wxColour * _arg1;
1d99702e 330 PyObject * _argo0 = 0;
f6bcfd97
BP
331 wxColour temp;
332 PyObject * _obj1 = 0;
333 char *_kwnames[] = { "self","colBack", NULL };
af309447
RD
334
335 self = self;
f6bcfd97 336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
af309447 337 return NULL;
1d99702e
RD
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
342 return NULL;
343 }
344 }
f6bcfd97
BP
345{
346 _arg1 = &temp;
347 if (! wxColour_helper(_obj1, &_arg1))
348 return NULL;
349}
cf694132 350{
4268f798 351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 352 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 353
4268f798 354 wxPyEndAllowThreads(__tstate);
493f1553 355 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
356} Py_INCREF(Py_None);
357 _resultobj = Py_None;
af309447
RD
358 return _resultobj;
359}
360
f6bcfd97
BP
361#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
362static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 363 PyObject * _resultobj;
f6bcfd97
BP
364 wxListItemAttr * _arg0;
365 wxFont * _arg1;
1d99702e 366 PyObject * _argo0 = 0;
f6bcfd97
BP
367 PyObject * _argo1 = 0;
368 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
369
370 self = self;
f6bcfd97 371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 372 return NULL;
1d99702e
RD
373 if (_argo0) {
374 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
377 return NULL;
378 }
379 }
380 if (_argo1) {
381 if (_argo1 == Py_None) { _arg1 = NULL; }
382 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
8ab979d7
RD
384 return NULL;
385 }
386 }
cf694132 387{
4268f798 388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 389 wxListItemAttr_SetFont(_arg0,*_arg1);
cf694132 390
4268f798 391 wxPyEndAllowThreads(__tstate);
493f1553 392 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
393} Py_INCREF(Py_None);
394 _resultobj = Py_None;
8ab979d7
RD
395 return _resultobj;
396}
397
f6bcfd97
BP
398#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
399static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 400 PyObject * _resultobj;
f6bcfd97
BP
401 bool _result;
402 wxListItemAttr * _arg0;
1d99702e 403 PyObject * _argo0 = 0;
f6bcfd97 404 char *_kwnames[] = { "self", NULL };
af309447
RD
405
406 self = self;
f6bcfd97 407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
af309447 408 return NULL;
1d99702e
RD
409 if (_argo0) {
410 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
af309447
RD
413 return NULL;
414 }
415 }
cf694132 416{
4268f798 417 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 418 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
cf694132 419
4268f798 420 wxPyEndAllowThreads(__tstate);
493f1553 421 if (PyErr_Occurred()) return NULL;
cf694132 422} _resultobj = Py_BuildValue("i",_result);
af309447
RD
423 return _resultobj;
424}
425
f6bcfd97
BP
426#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
427static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 428 PyObject * _resultobj;
f6bcfd97
BP
429 bool _result;
430 wxListItemAttr * _arg0;
1d99702e 431 PyObject * _argo0 = 0;
efc5f224 432 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
433
434 self = self;
f6bcfd97 435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
8ab979d7 436 return NULL;
1d99702e
RD
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
441 return NULL;
442 }
443 }
cf694132 444{
4268f798 445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 446 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
cf694132 447
4268f798 448 wxPyEndAllowThreads(__tstate);
493f1553 449 if (PyErr_Occurred()) return NULL;
cf694132 450} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
451 return _resultobj;
452}
453
f6bcfd97
BP
454#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
455static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 456 PyObject * _resultobj;
f6bcfd97
BP
457 bool _result;
458 wxListItemAttr * _arg0;
1d99702e 459 PyObject * _argo0 = 0;
f6bcfd97 460 char *_kwnames[] = { "self", NULL };
af309447
RD
461
462 self = self;
f6bcfd97 463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
af309447 464 return NULL;
1d99702e
RD
465 if (_argo0) {
466 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
af309447
RD
469 return NULL;
470 }
471 }
cf694132 472{
4268f798 473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 474 _result = (bool )wxListItemAttr_HasFont(_arg0);
cf694132 475
4268f798 476 wxPyEndAllowThreads(__tstate);
493f1553 477 if (PyErr_Occurred()) return NULL;
f6bcfd97 478} _resultobj = Py_BuildValue("i",_result);
af309447
RD
479 return _resultobj;
480}
481
f6bcfd97
BP
482#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
483static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 484 PyObject * _resultobj;
f6bcfd97
BP
485 wxColour * _result;
486 wxListItemAttr * _arg0;
1d99702e 487 PyObject * _argo0 = 0;
efc5f224 488 char *_kwnames[] = { "self", NULL };
f6bcfd97 489 char _ptemp[128];
8ab979d7
RD
490
491 self = self;
f6bcfd97 492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 493 return NULL;
1d99702e
RD
494 if (_argo0) {
495 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
498 return NULL;
499 }
500 }
cf694132 501{
4268f798 502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 503 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
cf694132 504
4268f798 505 wxPyEndAllowThreads(__tstate);
493f1553 506 if (PyErr_Occurred()) return NULL;
c5943253
RD
507} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
508 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
509 return _resultobj;
510}
511
f6bcfd97
BP
512#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
513static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 514 PyObject * _resultobj;
f6bcfd97
BP
515 wxColour * _result;
516 wxListItemAttr * _arg0;
1d99702e 517 PyObject * _argo0 = 0;
f6bcfd97
BP
518 char *_kwnames[] = { "self", NULL };
519 char _ptemp[128];
af309447
RD
520
521 self = self;
f6bcfd97 522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
af309447 523 return NULL;
1d99702e
RD
524 if (_argo0) {
525 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
528 return NULL;
529 }
530 }
cf694132 531{
4268f798 532 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 533 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
cf694132 534
4268f798 535 wxPyEndAllowThreads(__tstate);
493f1553 536 if (PyErr_Occurred()) return NULL;
c5943253
RD
537} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
538 _resultobj = Py_BuildValue("s",_ptemp);
af309447
RD
539 return _resultobj;
540}
541
f6bcfd97
BP
542#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
543static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 544 PyObject * _resultobj;
f6bcfd97
BP
545 wxFont * _result;
546 wxListItemAttr * _arg0;
1d99702e 547 PyObject * _argo0 = 0;
efc5f224 548 char *_kwnames[] = { "self", NULL };
f6bcfd97 549 char _ptemp[128];
8ab979d7
RD
550
551 self = self;
f6bcfd97 552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
8ab979d7 553 return NULL;
1d99702e
RD
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
8ab979d7
RD
558 return NULL;
559 }
560 }
cf694132 561{
4268f798 562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 563 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
cf694132 564
4268f798 565 wxPyEndAllowThreads(__tstate);
493f1553 566 if (PyErr_Occurred()) return NULL;
c5943253
RD
567} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
568 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
569 return _resultobj;
570}
571
9416aa89
RD
572static void *SwigwxListItemTowxObject(void *ptr) {
573 wxListItem *src;
574 wxObject *dest;
575 src = (wxListItem *) ptr;
576 dest = (wxObject *) src;
577 return (void *) dest;
578}
579
f6bcfd97
BP
580#define new_wxListItem() (new wxListItem())
581static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 582 PyObject * _resultobj;
f6bcfd97
BP
583 wxListItem * _result;
584 char *_kwnames[] = { NULL };
585 char _ptemp[128];
af309447
RD
586
587 self = self;
f6bcfd97 588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
af309447 589 return NULL;
af309447 590{
4268f798 591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 592 _result = (wxListItem *)new_wxListItem();
cf694132 593
4268f798 594 wxPyEndAllowThreads(__tstate);
493f1553 595 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
596} if (_result) {
597 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
598 _resultobj = Py_BuildValue("s",_ptemp);
599 } else {
600 Py_INCREF(Py_None);
601 _resultobj = Py_None;
602 }
af309447
RD
603 return _resultobj;
604}
605
f6bcfd97
BP
606#define delete_wxListItem(_swigobj) (delete _swigobj)
607static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 608 PyObject * _resultobj;
8ab979d7 609 wxListItem * _arg0;
1d99702e 610 PyObject * _argo0 = 0;
efc5f224 611 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
612
613 self = self;
f6bcfd97 614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 615 return NULL;
1d99702e
RD
616 if (_argo0) {
617 if (_argo0 == Py_None) { _arg0 = NULL; }
618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
8ab979d7
RD
620 return NULL;
621 }
622 }
8ab979d7 623{
4268f798 624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 625 delete_wxListItem(_arg0);
cf694132 626
4268f798 627 wxPyEndAllowThreads(__tstate);
493f1553 628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
629} Py_INCREF(Py_None);
630 _resultobj = Py_None;
8ab979d7
RD
631 return _resultobj;
632}
633
f6bcfd97
BP
634#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
635static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 636 PyObject * _resultobj;
af309447 637 wxListItem * _arg0;
1d99702e 638 PyObject * _argo0 = 0;
f6bcfd97 639 char *_kwnames[] = { "self", NULL };
af309447
RD
640
641 self = self;
f6bcfd97 642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
af309447 643 return NULL;
1d99702e
RD
644 if (_argo0) {
645 if (_argo0 == Py_None) { _arg0 = NULL; }
646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
af309447
RD
648 return NULL;
649 }
650 }
cf694132 651{
4268f798 652 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 653 wxListItem_Clear(_arg0);
cf694132 654
4268f798 655 wxPyEndAllowThreads(__tstate);
493f1553 656 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
657} Py_INCREF(Py_None);
658 _resultobj = Py_None;
af309447
RD
659 return _resultobj;
660}
661
f6bcfd97
BP
662#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
663static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 664 PyObject * _resultobj;
8ab979d7 665 wxListItem * _arg0;
1d99702e 666 PyObject * _argo0 = 0;
efc5f224 667 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
668
669 self = self;
f6bcfd97 670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
8ab979d7 671 return NULL;
1d99702e
RD
672 if (_argo0) {
673 if (_argo0 == Py_None) { _arg0 = NULL; }
674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
8ab979d7
RD
676 return NULL;
677 }
678 }
cf694132 679{
4268f798 680 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 681 wxListItem_ClearAttributes(_arg0);
cf694132 682
4268f798 683 wxPyEndAllowThreads(__tstate);
493f1553 684 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
685} Py_INCREF(Py_None);
686 _resultobj = Py_None;
687 return _resultobj;
688}
689
690#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
691static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
692 PyObject * _resultobj;
693 wxListItem * _arg0;
694 long _arg1;
695 PyObject * _argo0 = 0;
696 char *_kwnames[] = { "self","mask", NULL };
697
698 self = self;
699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
700 return NULL;
701 if (_argo0) {
702 if (_argo0 == Py_None) { _arg0 = NULL; }
703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
705 return NULL;
706 }
707 }
708{
4268f798 709 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 710 wxListItem_SetMask(_arg0,_arg1);
f6bcfd97 711
4268f798 712 wxPyEndAllowThreads(__tstate);
493f1553 713 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
714} Py_INCREF(Py_None);
715 _resultobj = Py_None;
716 return _resultobj;
717}
718
719#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
720static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxListItem * _arg0;
723 long _arg1;
724 PyObject * _argo0 = 0;
725 char *_kwnames[] = { "self","id", NULL };
726
727 self = self;
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
729 return NULL;
730 if (_argo0) {
731 if (_argo0 == Py_None) { _arg0 = NULL; }
732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
734 return NULL;
735 }
736 }
737{
4268f798 738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 739 wxListItem_SetId(_arg0,_arg1);
f6bcfd97 740
4268f798 741 wxPyEndAllowThreads(__tstate);
493f1553 742 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
743} Py_INCREF(Py_None);
744 _resultobj = Py_None;
745 return _resultobj;
746}
747
748#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
749static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
750 PyObject * _resultobj;
751 wxListItem * _arg0;
752 int _arg1;
753 PyObject * _argo0 = 0;
754 char *_kwnames[] = { "self","col", NULL };
755
756 self = self;
757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
758 return NULL;
759 if (_argo0) {
760 if (_argo0 == Py_None) { _arg0 = NULL; }
761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
763 return NULL;
764 }
765 }
766{
4268f798 767 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 768 wxListItem_SetColumn(_arg0,_arg1);
f6bcfd97 769
4268f798 770 wxPyEndAllowThreads(__tstate);
493f1553 771 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
772} Py_INCREF(Py_None);
773 _resultobj = Py_None;
774 return _resultobj;
775}
776
777#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
778static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 wxListItem * _arg0;
781 long _arg1;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self","state", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
792 return NULL;
793 }
794 }
795{
4268f798 796 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 797 wxListItem_SetState(_arg0,_arg1);
f6bcfd97 798
4268f798 799 wxPyEndAllowThreads(__tstate);
493f1553 800 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
801} Py_INCREF(Py_None);
802 _resultobj = Py_None;
803 return _resultobj;
804}
805
806#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
807static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject * _resultobj;
809 wxListItem * _arg0;
810 long _arg1;
811 PyObject * _argo0 = 0;
812 char *_kwnames[] = { "self","stateMask", NULL };
813
814 self = self;
815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
816 return NULL;
817 if (_argo0) {
818 if (_argo0 == Py_None) { _arg0 = NULL; }
819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
821 return NULL;
822 }
823 }
824{
4268f798 825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 826 wxListItem_SetStateMask(_arg0,_arg1);
f6bcfd97 827
4268f798 828 wxPyEndAllowThreads(__tstate);
493f1553 829 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
830} Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833}
834
835#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
836static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxListItem * _arg0;
839 wxString * _arg1;
840 PyObject * _argo0 = 0;
841 PyObject * _obj1 = 0;
842 char *_kwnames[] = { "self","text", NULL };
843
844 self = self;
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
846 return NULL;
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
851 return NULL;
852 }
853 }
854{
c8bc7bb8
RD
855 _arg1 = wxString_in_helper(_obj1);
856 if (_arg1 == NULL)
f6bcfd97 857 return NULL;
f6bcfd97
BP
858}
859{
4268f798 860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 861 wxListItem_SetText(_arg0,*_arg1);
f6bcfd97 862
4268f798 863 wxPyEndAllowThreads(__tstate);
493f1553 864 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
865} Py_INCREF(Py_None);
866 _resultobj = Py_None;
867{
868 if (_obj1)
869 delete _arg1;
870}
871 return _resultobj;
872}
873
874#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
875static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
876 PyObject * _resultobj;
877 wxListItem * _arg0;
878 int _arg1;
879 PyObject * _argo0 = 0;
880 char *_kwnames[] = { "self","image", NULL };
881
882 self = self;
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
884 return NULL;
885 if (_argo0) {
886 if (_argo0 == Py_None) { _arg0 = NULL; }
887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
889 return NULL;
890 }
891 }
892{
4268f798 893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 894 wxListItem_SetImage(_arg0,_arg1);
f6bcfd97 895
4268f798 896 wxPyEndAllowThreads(__tstate);
493f1553 897 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
898} Py_INCREF(Py_None);
899 _resultobj = Py_None;
900 return _resultobj;
901}
902
903#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
904static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxListItem * _arg0;
907 long _arg1;
908 PyObject * _argo0 = 0;
909 char *_kwnames[] = { "self","data", NULL };
910
911 self = self;
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
913 return NULL;
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
918 return NULL;
919 }
920 }
921{
4268f798 922 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 923 wxListItem_SetData(_arg0,_arg1);
f6bcfd97 924
4268f798 925 wxPyEndAllowThreads(__tstate);
493f1553 926 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
927} Py_INCREF(Py_None);
928 _resultobj = Py_None;
929 return _resultobj;
930}
931
932#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
933static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject * _resultobj;
935 wxListItem * _arg0;
936 int _arg1;
937 PyObject * _argo0 = 0;
938 char *_kwnames[] = { "self","width", NULL };
939
940 self = self;
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
942 return NULL;
943 if (_argo0) {
944 if (_argo0 == Py_None) { _arg0 = NULL; }
945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
947 return NULL;
948 }
949 }
950{
4268f798 951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 952 wxListItem_SetWidth(_arg0,_arg1);
f6bcfd97 953
4268f798 954 wxPyEndAllowThreads(__tstate);
493f1553 955 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
956} Py_INCREF(Py_None);
957 _resultobj = Py_None;
958 return _resultobj;
959}
960
961#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
962static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject * _resultobj;
964 wxListItem * _arg0;
965 wxListColumnFormat _arg1;
966 PyObject * _argo0 = 0;
967 char *_kwnames[] = { "self","align", NULL };
968
969 self = self;
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
971 return NULL;
972 if (_argo0) {
973 if (_argo0 == Py_None) { _arg0 = NULL; }
974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
976 return NULL;
977 }
978 }
979{
4268f798 980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 981 wxListItem_SetAlign(_arg0,_arg1);
f6bcfd97 982
4268f798 983 wxPyEndAllowThreads(__tstate);
493f1553 984 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
985} Py_INCREF(Py_None);
986 _resultobj = Py_None;
987 return _resultobj;
988}
989
990#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
991static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
992 PyObject * _resultobj;
993 wxListItem * _arg0;
994 wxColour * _arg1;
995 PyObject * _argo0 = 0;
996 wxColour temp;
997 PyObject * _obj1 = 0;
998 char *_kwnames[] = { "self","colText", NULL };
999
1000 self = self;
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
1002 return NULL;
1003 if (_argo0) {
1004 if (_argo0 == Py_None) { _arg0 = NULL; }
1005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1007 return NULL;
1008 }
1009 }
1010{
1011 _arg1 = &temp;
1012 if (! wxColour_helper(_obj1, &_arg1))
1013 return NULL;
1014}
1015{
4268f798 1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1017 wxListItem_SetTextColour(_arg0,*_arg1);
f6bcfd97 1018
4268f798 1019 wxPyEndAllowThreads(__tstate);
493f1553 1020 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1021} Py_INCREF(Py_None);
1022 _resultobj = Py_None;
1023 return _resultobj;
1024}
1025
1026#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1027static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject * _resultobj;
1029 wxListItem * _arg0;
1030 wxColour * _arg1;
1031 PyObject * _argo0 = 0;
1032 wxColour temp;
1033 PyObject * _obj1 = 0;
1034 char *_kwnames[] = { "self","colBack", NULL };
1035
1036 self = self;
1037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1038 return NULL;
1039 if (_argo0) {
1040 if (_argo0 == Py_None) { _arg0 = NULL; }
1041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1043 return NULL;
1044 }
1045 }
1046{
1047 _arg1 = &temp;
1048 if (! wxColour_helper(_obj1, &_arg1))
1049 return NULL;
1050}
1051{
4268f798 1052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1053 wxListItem_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 1054
4268f798 1055 wxPyEndAllowThreads(__tstate);
493f1553 1056 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1057} Py_INCREF(Py_None);
1058 _resultobj = Py_None;
1059 return _resultobj;
1060}
1061
1062#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1063static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject * _resultobj;
1065 wxListItem * _arg0;
1066 wxFont * _arg1;
1067 PyObject * _argo0 = 0;
1068 PyObject * _argo1 = 0;
1069 char *_kwnames[] = { "self","font", NULL };
1070
1071 self = self;
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1073 return NULL;
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1078 return NULL;
1079 }
1080 }
1081 if (_argo1) {
1082 if (_argo1 == Py_None) { _arg1 = NULL; }
1083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1085 return NULL;
1086 }
1087 }
1088{
4268f798 1089 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1090 wxListItem_SetFont(_arg0,*_arg1);
f6bcfd97 1091
4268f798 1092 wxPyEndAllowThreads(__tstate);
493f1553 1093 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1094} Py_INCREF(Py_None);
1095 _resultobj = Py_None;
1096 return _resultobj;
1097}
1098
1099#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1100static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1101 PyObject * _resultobj;
1102 long _result;
1103 wxListItem * _arg0;
1104 PyObject * _argo0 = 0;
1105 char *_kwnames[] = { "self", NULL };
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1114 return NULL;
1115 }
1116 }
1117{
4268f798 1118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1119 _result = (long )wxListItem_GetMask(_arg0);
f6bcfd97 1120
4268f798 1121 wxPyEndAllowThreads(__tstate);
493f1553 1122 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1123} _resultobj = Py_BuildValue("l",_result);
1124 return _resultobj;
1125}
1126
1127#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1128static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1129 PyObject * _resultobj;
1130 long _result;
1131 wxListItem * _arg0;
1132 PyObject * _argo0 = 0;
1133 char *_kwnames[] = { "self", NULL };
1134
1135 self = self;
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1137 return NULL;
1138 if (_argo0) {
1139 if (_argo0 == Py_None) { _arg0 = NULL; }
1140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1142 return NULL;
1143 }
1144 }
1145{
4268f798 1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1147 _result = (long )wxListItem_GetId(_arg0);
f6bcfd97 1148
4268f798 1149 wxPyEndAllowThreads(__tstate);
493f1553 1150 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1151} _resultobj = Py_BuildValue("l",_result);
1152 return _resultobj;
1153}
1154
1155#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1156static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject * _resultobj;
1158 int _result;
1159 wxListItem * _arg0;
1160 PyObject * _argo0 = 0;
1161 char *_kwnames[] = { "self", NULL };
1162
1163 self = self;
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1165 return NULL;
1166 if (_argo0) {
1167 if (_argo0 == Py_None) { _arg0 = NULL; }
1168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1170 return NULL;
1171 }
1172 }
1173{
4268f798 1174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1175 _result = (int )wxListItem_GetColumn(_arg0);
f6bcfd97 1176
4268f798 1177 wxPyEndAllowThreads(__tstate);
493f1553 1178 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1179} _resultobj = Py_BuildValue("i",_result);
1180 return _resultobj;
1181}
1182
1183#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1184static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject * _resultobj;
1186 long _result;
1187 wxListItem * _arg0;
1188 PyObject * _argo0 = 0;
1189 char *_kwnames[] = { "self", NULL };
1190
1191 self = self;
1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1193 return NULL;
1194 if (_argo0) {
1195 if (_argo0 == Py_None) { _arg0 = NULL; }
1196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1198 return NULL;
1199 }
1200 }
1201{
4268f798 1202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1203 _result = (long )wxListItem_GetState(_arg0);
f6bcfd97 1204
4268f798 1205 wxPyEndAllowThreads(__tstate);
493f1553 1206 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1207} _resultobj = Py_BuildValue("l",_result);
1208 return _resultobj;
1209}
1210
1211#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1212static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
1214 wxString * _result;
1215 wxListItem * _arg0;
1216 PyObject * _argo0 = 0;
1217 char *_kwnames[] = { "self", NULL };
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1226 return NULL;
1227 }
1228 }
1229{
4268f798 1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1231 const wxString & _result_ref = wxListItem_GetText(_arg0);
f6bcfd97
BP
1232 _result = (wxString *) &_result_ref;
1233
4268f798 1234 wxPyEndAllowThreads(__tstate);
493f1553 1235 if (PyErr_Occurred()) return NULL;
f6bcfd97 1236}{
c8bc7bb8
RD
1237#if wxUSE_UNICODE
1238 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1239#else
f6bcfd97 1240 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1241#endif
f6bcfd97
BP
1242}
1243 return _resultobj;
1244}
1245
1246#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1247static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject * _resultobj;
1249 int _result;
1250 wxListItem * _arg0;
1251 PyObject * _argo0 = 0;
1252 char *_kwnames[] = { "self", NULL };
1253
1254 self = self;
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1256 return NULL;
1257 if (_argo0) {
1258 if (_argo0 == Py_None) { _arg0 = NULL; }
1259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1261 return NULL;
1262 }
1263 }
1264{
4268f798 1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1266 _result = (int )wxListItem_GetImage(_arg0);
f6bcfd97 1267
4268f798 1268 wxPyEndAllowThreads(__tstate);
493f1553 1269 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1270} _resultobj = Py_BuildValue("i",_result);
1271 return _resultobj;
1272}
1273
1274#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1275static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject * _resultobj;
1277 long _result;
1278 wxListItem * _arg0;
1279 PyObject * _argo0 = 0;
1280 char *_kwnames[] = { "self", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1284 return NULL;
1285 if (_argo0) {
1286 if (_argo0 == Py_None) { _arg0 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1289 return NULL;
1290 }
1291 }
1292{
4268f798 1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1294 _result = (long )wxListItem_GetData(_arg0);
f6bcfd97 1295
4268f798 1296 wxPyEndAllowThreads(__tstate);
493f1553 1297 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1298} _resultobj = Py_BuildValue("l",_result);
1299 return _resultobj;
1300}
1301
1302#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1303static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject * _resultobj;
1305 int _result;
1306 wxListItem * _arg0;
1307 PyObject * _argo0 = 0;
1308 char *_kwnames[] = { "self", NULL };
1309
1310 self = self;
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1312 return NULL;
1313 if (_argo0) {
1314 if (_argo0 == Py_None) { _arg0 = NULL; }
1315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1317 return NULL;
1318 }
1319 }
1320{
4268f798 1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1322 _result = (int )wxListItem_GetWidth(_arg0);
f6bcfd97 1323
4268f798 1324 wxPyEndAllowThreads(__tstate);
493f1553 1325 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1326} _resultobj = Py_BuildValue("i",_result);
1327 return _resultobj;
1328}
1329
1330#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1331static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject * _resultobj;
1333 wxListColumnFormat _result;
1334 wxListItem * _arg0;
1335 PyObject * _argo0 = 0;
1336 char *_kwnames[] = { "self", NULL };
1337
1338 self = self;
1339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1340 return NULL;
1341 if (_argo0) {
1342 if (_argo0 == Py_None) { _arg0 = NULL; }
1343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1345 return NULL;
1346 }
1347 }
1348{
4268f798 1349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1350 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
f6bcfd97 1351
4268f798 1352 wxPyEndAllowThreads(__tstate);
493f1553 1353 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1354} _resultobj = Py_BuildValue("i",_result);
1355 return _resultobj;
1356}
1357
1358#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1359static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxListItemAttr * _result;
1362 wxListItem * _arg0;
1363 PyObject * _argo0 = 0;
1364 char *_kwnames[] = { "self", NULL };
1365 char _ptemp[128];
1366
1367 self = self;
1368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1369 return NULL;
1370 if (_argo0) {
1371 if (_argo0 == Py_None) { _arg0 = NULL; }
1372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1374 return NULL;
1375 }
1376 }
1377{
4268f798 1378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1379 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
f6bcfd97 1380
4268f798 1381 wxPyEndAllowThreads(__tstate);
493f1553 1382 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1383} if (_result) {
1384 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1385 _resultobj = Py_BuildValue("s",_ptemp);
1386 } else {
1387 Py_INCREF(Py_None);
1388 _resultobj = Py_None;
1389 }
1390 return _resultobj;
1391}
1392
1393#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1394static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 bool _result;
1397 wxListItem * _arg0;
1398 PyObject * _argo0 = 0;
1399 char *_kwnames[] = { "self", NULL };
1400
1401 self = self;
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1403 return NULL;
1404 if (_argo0) {
1405 if (_argo0 == Py_None) { _arg0 = NULL; }
1406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1408 return NULL;
1409 }
1410 }
1411{
4268f798 1412 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1413 _result = (bool )wxListItem_HasAttributes(_arg0);
f6bcfd97 1414
4268f798 1415 wxPyEndAllowThreads(__tstate);
493f1553 1416 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1417} _resultobj = Py_BuildValue("i",_result);
1418 return _resultobj;
1419}
1420
1421#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1422static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 wxColour * _result;
1425 wxListItem * _arg0;
1426 PyObject * _argo0 = 0;
1427 char *_kwnames[] = { "self", NULL };
1428 char _ptemp[128];
1429
1430 self = self;
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1432 return NULL;
1433 if (_argo0) {
1434 if (_argo0 == Py_None) { _arg0 = NULL; }
1435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1437 return NULL;
1438 }
1439 }
1440{
4268f798 1441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1442 _result = new wxColour (wxListItem_GetTextColour(_arg0));
f6bcfd97 1443
4268f798 1444 wxPyEndAllowThreads(__tstate);
493f1553 1445 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1446} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1447 _resultobj = Py_BuildValue("s",_ptemp);
1448 return _resultobj;
1449}
1450
1451#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1452static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject * _resultobj;
1454 wxColour * _result;
1455 wxListItem * _arg0;
1456 PyObject * _argo0 = 0;
1457 char *_kwnames[] = { "self", NULL };
1458 char _ptemp[128];
1459
1460 self = self;
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1462 return NULL;
1463 if (_argo0) {
1464 if (_argo0 == Py_None) { _arg0 = NULL; }
1465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1467 return NULL;
1468 }
1469 }
1470{
4268f798 1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1472 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
f6bcfd97 1473
4268f798 1474 wxPyEndAllowThreads(__tstate);
493f1553 1475 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1476} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1477 _resultobj = Py_BuildValue("s",_ptemp);
1478 return _resultobj;
1479}
1480
1481#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1482static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxFont * _result;
1485 wxListItem * _arg0;
1486 PyObject * _argo0 = 0;
1487 char *_kwnames[] = { "self", NULL };
1488 char _ptemp[128];
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1497 return NULL;
1498 }
1499 }
1500{
4268f798 1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1502 _result = new wxFont (wxListItem_GetFont(_arg0));
f6bcfd97 1503
4268f798 1504 wxPyEndAllowThreads(__tstate);
493f1553 1505 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1506} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1507 _resultobj = Py_BuildValue("s",_ptemp);
1508 return _resultobj;
1509}
1510
1511#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1512static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject * _resultobj;
1514 long _result;
1515 wxListItem * _arg0;
1516 long _arg1;
1517 PyObject * _argo0 = 0;
1518 char *_kwnames[] = { "self","m_mask", NULL };
1519
1520 self = self;
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1522 return NULL;
1523 if (_argo0) {
1524 if (_argo0 == Py_None) { _arg0 = NULL; }
1525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1527 return NULL;
1528 }
1529 }
1530{
4268f798 1531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1532 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
f6bcfd97 1533
4268f798 1534 wxPyEndAllowThreads(__tstate);
493f1553 1535 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1536} _resultobj = Py_BuildValue("l",_result);
1537 return _resultobj;
1538}
1539
1540#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1541static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject * _resultobj;
1543 long _result;
1544 wxListItem * _arg0;
1545 PyObject * _argo0 = 0;
1546 char *_kwnames[] = { "self", NULL };
1547
1548 self = self;
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1550 return NULL;
1551 if (_argo0) {
1552 if (_argo0 == Py_None) { _arg0 = NULL; }
1553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1555 return NULL;
1556 }
1557 }
1558{
4268f798 1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1560 _result = (long )wxListItem_m_mask_get(_arg0);
f6bcfd97 1561
4268f798 1562 wxPyEndAllowThreads(__tstate);
493f1553 1563 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1564} _resultobj = Py_BuildValue("l",_result);
1565 return _resultobj;
1566}
1567
1568#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1569static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject * _resultobj;
1571 long _result;
1572 wxListItem * _arg0;
1573 long _arg1;
1574 PyObject * _argo0 = 0;
1575 char *_kwnames[] = { "self","m_itemId", NULL };
1576
1577 self = self;
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1579 return NULL;
1580 if (_argo0) {
1581 if (_argo0 == Py_None) { _arg0 = NULL; }
1582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1584 return NULL;
1585 }
1586 }
1587{
4268f798 1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1589 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
f6bcfd97 1590
4268f798 1591 wxPyEndAllowThreads(__tstate);
493f1553 1592 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1593} _resultobj = Py_BuildValue("l",_result);
1594 return _resultobj;
1595}
1596
1597#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1598static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1599 PyObject * _resultobj;
1600 long _result;
1601 wxListItem * _arg0;
1602 PyObject * _argo0 = 0;
1603 char *_kwnames[] = { "self", NULL };
1604
1605 self = self;
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1607 return NULL;
1608 if (_argo0) {
1609 if (_argo0 == Py_None) { _arg0 = NULL; }
1610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1612 return NULL;
1613 }
1614 }
1615{
4268f798 1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1617 _result = (long )wxListItem_m_itemId_get(_arg0);
f6bcfd97 1618
4268f798 1619 wxPyEndAllowThreads(__tstate);
493f1553 1620 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1621} _resultobj = Py_BuildValue("l",_result);
1622 return _resultobj;
1623}
1624
1625#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1626static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1627 PyObject * _resultobj;
1628 int _result;
1629 wxListItem * _arg0;
1630 int _arg1;
1631 PyObject * _argo0 = 0;
1632 char *_kwnames[] = { "self","m_col", NULL };
1633
1634 self = self;
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1636 return NULL;
1637 if (_argo0) {
1638 if (_argo0 == Py_None) { _arg0 = NULL; }
1639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1641 return NULL;
1642 }
1643 }
1644{
4268f798 1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1646 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
f6bcfd97 1647
4268f798 1648 wxPyEndAllowThreads(__tstate);
493f1553 1649 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1650} _resultobj = Py_BuildValue("i",_result);
1651 return _resultobj;
1652}
1653
1654#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1655static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject * _resultobj;
1657 int _result;
1658 wxListItem * _arg0;
1659 PyObject * _argo0 = 0;
1660 char *_kwnames[] = { "self", NULL };
1661
1662 self = self;
1663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1664 return NULL;
1665 if (_argo0) {
1666 if (_argo0 == Py_None) { _arg0 = NULL; }
1667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1669 return NULL;
1670 }
1671 }
1672{
4268f798 1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1674 _result = (int )wxListItem_m_col_get(_arg0);
f6bcfd97 1675
4268f798 1676 wxPyEndAllowThreads(__tstate);
493f1553 1677 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1678} _resultobj = Py_BuildValue("i",_result);
1679 return _resultobj;
1680}
1681
1682#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1683static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject * _resultobj;
1685 long _result;
1686 wxListItem * _arg0;
1687 long _arg1;
1688 PyObject * _argo0 = 0;
1689 char *_kwnames[] = { "self","m_state", NULL };
1690
1691 self = self;
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1693 return NULL;
1694 if (_argo0) {
1695 if (_argo0 == Py_None) { _arg0 = NULL; }
1696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1698 return NULL;
1699 }
1700 }
1701{
4268f798 1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1703 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
f6bcfd97 1704
4268f798 1705 wxPyEndAllowThreads(__tstate);
493f1553 1706 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1707} _resultobj = Py_BuildValue("l",_result);
1708 return _resultobj;
1709}
1710
1711#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1712static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject * _resultobj;
1714 long _result;
1715 wxListItem * _arg0;
1716 PyObject * _argo0 = 0;
1717 char *_kwnames[] = { "self", NULL };
1718
1719 self = self;
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1721 return NULL;
1722 if (_argo0) {
1723 if (_argo0 == Py_None) { _arg0 = NULL; }
1724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1726 return NULL;
1727 }
1728 }
1729{
4268f798 1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1731 _result = (long )wxListItem_m_state_get(_arg0);
f6bcfd97 1732
4268f798 1733 wxPyEndAllowThreads(__tstate);
493f1553 1734 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1735} _resultobj = Py_BuildValue("l",_result);
1736 return _resultobj;
1737}
1738
1739#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1740static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1741 PyObject * _resultobj;
1742 long _result;
1743 wxListItem * _arg0;
1744 long _arg1;
1745 PyObject * _argo0 = 0;
1746 char *_kwnames[] = { "self","m_stateMask", NULL };
1747
1748 self = self;
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1750 return NULL;
1751 if (_argo0) {
1752 if (_argo0 == Py_None) { _arg0 = NULL; }
1753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1755 return NULL;
1756 }
1757 }
1758{
4268f798 1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1760 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
f6bcfd97 1761
4268f798 1762 wxPyEndAllowThreads(__tstate);
493f1553 1763 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1764} _resultobj = Py_BuildValue("l",_result);
1765 return _resultobj;
1766}
1767
1768#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1769static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject * _resultobj;
1771 long _result;
1772 wxListItem * _arg0;
1773 PyObject * _argo0 = 0;
1774 char *_kwnames[] = { "self", NULL };
1775
1776 self = self;
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1778 return NULL;
1779 if (_argo0) {
1780 if (_argo0 == Py_None) { _arg0 = NULL; }
1781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1783 return NULL;
1784 }
1785 }
1786{
4268f798 1787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1788 _result = (long )wxListItem_m_stateMask_get(_arg0);
f6bcfd97 1789
4268f798 1790 wxPyEndAllowThreads(__tstate);
493f1553 1791 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1792} _resultobj = Py_BuildValue("l",_result);
1793 return _resultobj;
1794}
1795
1796#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1797static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject * _resultobj;
1799 wxString * _result;
1800 wxListItem * _arg0;
1801 wxString * _arg1;
1802 PyObject * _argo0 = 0;
1803 PyObject * _obj1 = 0;
1804 char *_kwnames[] = { "self","m_text", NULL };
1805
1806 self = self;
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1808 return NULL;
1809 if (_argo0) {
1810 if (_argo0 == Py_None) { _arg0 = NULL; }
1811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1813 return NULL;
1814 }
1815 }
1816{
c8bc7bb8
RD
1817 _arg1 = wxString_in_helper(_obj1);
1818 if (_arg1 == NULL)
f6bcfd97 1819 return NULL;
f6bcfd97
BP
1820}
1821{
4268f798 1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1823 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
f6bcfd97 1824
4268f798 1825 wxPyEndAllowThreads(__tstate);
493f1553 1826 if (PyErr_Occurred()) return NULL;
f6bcfd97 1827}{
c8bc7bb8
RD
1828#if wxUSE_UNICODE
1829 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1830#else
f6bcfd97 1831 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1832#endif
f6bcfd97
BP
1833}
1834{
1835 if (_obj1)
1836 delete _arg1;
1837}
1838 return _resultobj;
1839}
1840
1841#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1842static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject * _resultobj;
1844 wxString * _result;
1845 wxListItem * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1856 return NULL;
1857 }
1858 }
1859{
4268f798 1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1861 _result = (wxString *)wxListItem_m_text_get(_arg0);
f6bcfd97 1862
4268f798 1863 wxPyEndAllowThreads(__tstate);
493f1553 1864 if (PyErr_Occurred()) return NULL;
f6bcfd97 1865}{
c8bc7bb8
RD
1866#if wxUSE_UNICODE
1867 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1868#else
f6bcfd97 1869 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1870#endif
f6bcfd97
BP
1871}
1872 return _resultobj;
1873}
1874
1875#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1876static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject * _resultobj;
1878 int _result;
1879 wxListItem * _arg0;
1880 int _arg1;
1881 PyObject * _argo0 = 0;
1882 char *_kwnames[] = { "self","m_image", NULL };
1883
1884 self = self;
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1886 return NULL;
1887 if (_argo0) {
1888 if (_argo0 == Py_None) { _arg0 = NULL; }
1889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1891 return NULL;
1892 }
1893 }
1894{
4268f798 1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1896 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
f6bcfd97 1897
4268f798 1898 wxPyEndAllowThreads(__tstate);
493f1553 1899 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1900} _resultobj = Py_BuildValue("i",_result);
1901 return _resultobj;
1902}
1903
1904#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1905static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject * _resultobj;
1907 int _result;
1908 wxListItem * _arg0;
1909 PyObject * _argo0 = 0;
1910 char *_kwnames[] = { "self", NULL };
1911
1912 self = self;
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1914 return NULL;
1915 if (_argo0) {
1916 if (_argo0 == Py_None) { _arg0 = NULL; }
1917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1919 return NULL;
1920 }
1921 }
1922{
4268f798 1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1924 _result = (int )wxListItem_m_image_get(_arg0);
f6bcfd97 1925
4268f798 1926 wxPyEndAllowThreads(__tstate);
493f1553 1927 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1928} _resultobj = Py_BuildValue("i",_result);
1929 return _resultobj;
1930}
1931
1932#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1933static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject * _resultobj;
1935 long _result;
1936 wxListItem * _arg0;
1937 long _arg1;
1938 PyObject * _argo0 = 0;
1939 char *_kwnames[] = { "self","m_data", NULL };
1940
1941 self = self;
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1943 return NULL;
1944 if (_argo0) {
1945 if (_argo0 == Py_None) { _arg0 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1948 return NULL;
1949 }
1950 }
1951{
4268f798 1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1953 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
f6bcfd97 1954
4268f798 1955 wxPyEndAllowThreads(__tstate);
493f1553 1956 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1957} _resultobj = Py_BuildValue("l",_result);
1958 return _resultobj;
1959}
1960
1961#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1962static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject * _resultobj;
1964 long _result;
1965 wxListItem * _arg0;
1966 PyObject * _argo0 = 0;
1967 char *_kwnames[] = { "self", NULL };
1968
1969 self = self;
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1971 return NULL;
1972 if (_argo0) {
1973 if (_argo0 == Py_None) { _arg0 = NULL; }
1974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1976 return NULL;
1977 }
1978 }
1979{
4268f798 1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1981 _result = (long )wxListItem_m_data_get(_arg0);
f6bcfd97 1982
4268f798 1983 wxPyEndAllowThreads(__tstate);
493f1553 1984 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1985} _resultobj = Py_BuildValue("l",_result);
1986 return _resultobj;
1987}
1988
1989#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1990static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject * _resultobj;
1992 int _result;
1993 wxListItem * _arg0;
1994 int _arg1;
1995 PyObject * _argo0 = 0;
1996 char *_kwnames[] = { "self","m_format", NULL };
1997
1998 self = self;
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
2000 return NULL;
2001 if (_argo0) {
2002 if (_argo0 == Py_None) { _arg0 = NULL; }
2003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2005 return NULL;
2006 }
2007 }
2008{
4268f798 2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2010 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
f6bcfd97 2011
4268f798 2012 wxPyEndAllowThreads(__tstate);
493f1553 2013 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2014} _resultobj = Py_BuildValue("i",_result);
2015 return _resultobj;
2016}
2017
2018#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2019static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2020 PyObject * _resultobj;
2021 int _result;
2022 wxListItem * _arg0;
2023 PyObject * _argo0 = 0;
2024 char *_kwnames[] = { "self", NULL };
2025
2026 self = self;
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
2028 return NULL;
2029 if (_argo0) {
2030 if (_argo0 == Py_None) { _arg0 = NULL; }
2031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2033 return NULL;
2034 }
2035 }
2036{
4268f798 2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2038 _result = (int )wxListItem_m_format_get(_arg0);
f6bcfd97 2039
4268f798 2040 wxPyEndAllowThreads(__tstate);
493f1553 2041 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2042} _resultobj = Py_BuildValue("i",_result);
2043 return _resultobj;
8ab979d7
RD
2044}
2045
f6bcfd97
BP
2046#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2047static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2048 PyObject * _resultobj;
f6bcfd97 2049 int _result;
af309447 2050 wxListItem * _arg0;
f6bcfd97 2051 int _arg1;
1d99702e 2052 PyObject * _argo0 = 0;
f6bcfd97 2053 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2054
2055 self = self;
f6bcfd97 2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2057 return NULL;
1d99702e
RD
2058 if (_argo0) {
2059 if (_argo0 == Py_None) { _arg0 = NULL; }
2060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2062 return NULL;
2063 }
2064 }
cf694132 2065{
4268f798 2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2067 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2068
4268f798 2069 wxPyEndAllowThreads(__tstate);
493f1553 2070 if (PyErr_Occurred()) return NULL;
f6bcfd97 2071} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2072 return _resultobj;
2073}
2074
f6bcfd97
BP
2075#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2076static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2077 PyObject * _resultobj;
f6bcfd97 2078 int _result;
8ab979d7 2079 wxListItem * _arg0;
1d99702e 2080 PyObject * _argo0 = 0;
efc5f224 2081 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2082
2083 self = self;
f6bcfd97 2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2085 return NULL;
1d99702e
RD
2086 if (_argo0) {
2087 if (_argo0 == Py_None) { _arg0 = NULL; }
2088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97
BP
2089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2090 return NULL;
2091 }
2092 }
2093{
4268f798 2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2095 _result = (int )wxListItem_m_width_get(_arg0);
f6bcfd97 2096
4268f798 2097 wxPyEndAllowThreads(__tstate);
493f1553 2098 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2099} _resultobj = Py_BuildValue("i",_result);
2100 return _resultobj;
2101}
2102
c368d904
RD
2103static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2104 wxListEvent *src;
2105 wxNotifyEvent *dest;
2106 src = (wxListEvent *) ptr;
2107 dest = (wxNotifyEvent *) src;
2108 return (void *) dest;
2109}
2110
f6bcfd97
BP
2111static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2112 wxListEvent *src;
2113 wxCommandEvent *dest;
2114 src = (wxListEvent *) ptr;
2115 dest = (wxCommandEvent *) src;
2116 return (void *) dest;
2117}
2118
2119static void *SwigwxListEventTowxEvent(void *ptr) {
2120 wxListEvent *src;
2121 wxEvent *dest;
2122 src = (wxListEvent *) ptr;
2123 dest = (wxEvent *) src;
2124 return (void *) dest;
2125}
2126
9416aa89
RD
2127static void *SwigwxListEventTowxObject(void *ptr) {
2128 wxListEvent *src;
2129 wxObject *dest;
2130 src = (wxListEvent *) ptr;
2131 dest = (wxObject *) src;
2132 return (void *) dest;
2133}
2134
6d19860f
RD
2135#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2136static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 wxListEvent * _result;
2139 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2140 int _arg1 = (int ) 0;
2141 char *_kwnames[] = { "commandType","id", NULL };
2142 char _ptemp[128];
2143
2144 self = self;
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2146 return NULL;
2147{
4268f798 2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2149 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
6d19860f 2150
4268f798 2151 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2152 if (PyErr_Occurred()) return NULL;
2153} if (_result) {
2154 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2155 _resultobj = Py_BuildValue("s",_ptemp);
2156 } else {
2157 Py_INCREF(Py_None);
2158 _resultobj = Py_None;
2159 }
2160 return _resultobj;
2161}
2162
f6bcfd97
BP
2163#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2164static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 int _result;
2167 wxListEvent * _arg0;
2168 PyObject * _argo0 = 0;
2169 char *_kwnames[] = { "self", NULL };
2170
2171 self = self;
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2173 return NULL;
2174 if (_argo0) {
2175 if (_argo0 == Py_None) { _arg0 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2178 return NULL;
2179 }
2180 }
2181{
4268f798 2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2183 _result = (int )wxListEvent_m_code_get(_arg0);
f6bcfd97 2184
4268f798 2185 wxPyEndAllowThreads(__tstate);
493f1553 2186 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2187} _resultobj = Py_BuildValue("i",_result);
2188 return _resultobj;
2189}
2190
ebf4302c
RD
2191#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2192static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2193 PyObject * _resultobj;
2194 long _result;
2195 wxListEvent * _arg0;
2196 PyObject * _argo0 = 0;
2197 char *_kwnames[] = { "self", NULL };
2198
2199 self = self;
ebf4302c 2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
f6bcfd97
BP
2201 return NULL;
2202 if (_argo0) {
2203 if (_argo0 == Py_None) { _arg0 = NULL; }
2204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
f6bcfd97
BP
2206 return NULL;
2207 }
2208 }
2209{
4268f798 2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2211 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
f6bcfd97 2212
4268f798 2213 wxPyEndAllowThreads(__tstate);
493f1553 2214 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2215} _resultobj = Py_BuildValue("l",_result);
2216 return _resultobj;
2217}
2218
ebf4302c
RD
2219#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2220static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2221 PyObject * _resultobj;
ebf4302c 2222 long _result;
f6bcfd97 2223 wxListEvent * _arg0;
1d99702e 2224 PyObject * _argo0 = 0;
f6bcfd97 2225 char *_kwnames[] = { "self", NULL };
af309447
RD
2226
2227 self = self;
ebf4302c 2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
af309447 2229 return NULL;
1d99702e
RD
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
af309447
RD
2234 return NULL;
2235 }
2236 }
cf694132 2237{
4268f798 2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2239 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2240
4268f798 2241 wxPyEndAllowThreads(__tstate);
493f1553 2242 if (PyErr_Occurred()) return NULL;
ebf4302c 2243} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2244 return _resultobj;
2245}
2246
ebf4302c
RD
2247#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2248static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2249 PyObject * _resultobj;
ebf4302c 2250 int _result;
f6bcfd97 2251 wxListEvent * _arg0;
1d99702e 2252 PyObject * _argo0 = 0;
f6bcfd97 2253 char *_kwnames[] = { "self", NULL };
af309447
RD
2254
2255 self = self;
ebf4302c 2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
af309447 2257 return NULL;
1d99702e
RD
2258 if (_argo0) {
2259 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
af309447
RD
2262 return NULL;
2263 }
2264 }
cf694132 2265{
4268f798 2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2267 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2268
4268f798 2269 wxPyEndAllowThreads(__tstate);
493f1553 2270 if (PyErr_Occurred()) return NULL;
cf694132 2271} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2272 return _resultobj;
2273}
2274
f6bcfd97
BP
2275#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2276static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2277 PyObject * _resultobj;
f6bcfd97
BP
2278 wxPoint * _result;
2279 wxListEvent * _arg0;
2280 PyObject * _argo0 = 0;
2281 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2282 char _ptemp[128];
2283
2284 self = self;
f6bcfd97
BP
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2286 return NULL;
2287 if (_argo0) {
2288 if (_argo0 == Py_None) { _arg0 = NULL; }
2289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7 2291 return NULL;
f6bcfd97
BP
2292 }
2293 }
cf694132 2294{
4268f798 2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2296 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2297
4268f798 2298 wxPyEndAllowThreads(__tstate);
493f1553 2299 if (PyErr_Occurred()) return NULL;
1d99702e 2300} if (_result) {
f6bcfd97 2301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2302 _resultobj = Py_BuildValue("s",_ptemp);
2303 } else {
2304 Py_INCREF(Py_None);
2305 _resultobj = Py_None;
2306 }
8ab979d7
RD
2307 return _resultobj;
2308}
2309
f6bcfd97
BP
2310#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2311static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2312 PyObject * _resultobj;
f6bcfd97 2313 wxListItem * _result;
af309447 2314 wxListEvent * _arg0;
1d99702e 2315 PyObject * _argo0 = 0;
f6bcfd97 2316 char *_kwnames[] = { "self", NULL };
af309447
RD
2317
2318 self = self;
f6bcfd97 2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2320 return NULL;
1d99702e
RD
2321 if (_argo0) {
2322 if (_argo0 == Py_None) { _arg0 = NULL; }
2323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2325 return NULL;
2326 }
2327 }
cf694132 2328{
4268f798 2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2330 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2331
4268f798 2332 wxPyEndAllowThreads(__tstate);
493f1553 2333 if (PyErr_Occurred()) return NULL;
9416aa89 2334}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2335 return _resultobj;
2336}
2337
f6bcfd97
BP
2338#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2339static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2340 PyObject * _resultobj;
2341 int _result;
2342 wxListEvent * _arg0;
1d99702e 2343 PyObject * _argo0 = 0;
efc5f224 2344 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2345
2346 self = self;
f6bcfd97 2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2348 return NULL;
1d99702e
RD
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2353 return NULL;
2354 }
2355 }
cf694132 2356{
4268f798 2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2358 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2359
4268f798 2360 wxPyEndAllowThreads(__tstate);
493f1553 2361 if (PyErr_Occurred()) return NULL;
cf694132 2362} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2363 return _resultobj;
2364}
2365
f6bcfd97
BP
2366#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2367static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2368 PyObject * _resultobj;
2369 long _result;
2370 wxListEvent * _arg0;
1d99702e 2371 PyObject * _argo0 = 0;
f6bcfd97 2372 char *_kwnames[] = { "self", NULL };
af309447
RD
2373
2374 self = self;
f6bcfd97 2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2376 return NULL;
1d99702e
RD
2377 if (_argo0) {
2378 if (_argo0 == Py_None) { _arg0 = NULL; }
2379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2381 return NULL;
2382 }
2383 }
cf694132 2384{
4268f798 2385 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2386 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2387
4268f798 2388 wxPyEndAllowThreads(__tstate);
493f1553 2389 if (PyErr_Occurred()) return NULL;
cf694132 2390} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2391 return _resultobj;
2392}
2393
f6bcfd97
BP
2394#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2395static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2396 PyObject * _resultobj;
f6bcfd97 2397 int _result;
8ab979d7 2398 wxListEvent * _arg0;
1d99702e 2399 PyObject * _argo0 = 0;
efc5f224 2400 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2401
2402 self = self;
f6bcfd97 2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2404 return NULL;
1d99702e
RD
2405 if (_argo0) {
2406 if (_argo0 == Py_None) { _arg0 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2409 return NULL;
2410 }
2411 }
cf694132 2412{
4268f798 2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2414 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2415
4268f798 2416 wxPyEndAllowThreads(__tstate);
493f1553 2417 if (PyErr_Occurred()) return NULL;
f6bcfd97 2418} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2419 return _resultobj;
2420}
2421
f6bcfd97
BP
2422#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2423static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2424 PyObject * _resultobj;
f6bcfd97 2425 wxPoint * _result;
8ab979d7 2426 wxListEvent * _arg0;
1d99702e 2427 PyObject * _argo0 = 0;
efc5f224 2428 char *_kwnames[] = { "self", NULL };
f6bcfd97 2429 char _ptemp[128];
8ab979d7
RD
2430
2431 self = self;
f6bcfd97 2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2433 return NULL;
1d99702e
RD
2434 if (_argo0) {
2435 if (_argo0 == Py_None) { _arg0 = NULL; }
2436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2438 return NULL;
2439 }
2440 }
cf694132 2441{
4268f798 2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2443 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2444
4268f798 2445 wxPyEndAllowThreads(__tstate);
493f1553 2446 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2447} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2448 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2449 return _resultobj;
2450}
2451
f6bcfd97
BP
2452#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2453static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2454 PyObject * _resultobj;
f6bcfd97 2455 wxString * _result;
af309447 2456 wxListEvent * _arg0;
1d99702e 2457 PyObject * _argo0 = 0;
f6bcfd97 2458 char *_kwnames[] = { "self", NULL };
af309447
RD
2459
2460 self = self;
f6bcfd97 2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2462 return NULL;
1d99702e
RD
2463 if (_argo0) {
2464 if (_argo0 == Py_None) { _arg0 = NULL; }
2465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2467 return NULL;
2468 }
2469 }
cf694132 2470{
4268f798 2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2472 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2473 _result = (wxString *) &_result_ref;
cf694132 2474
4268f798 2475 wxPyEndAllowThreads(__tstate);
493f1553 2476 if (PyErr_Occurred()) return NULL;
f6bcfd97 2477}{
c8bc7bb8
RD
2478#if wxUSE_UNICODE
2479 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2480#else
f6bcfd97 2481 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2482#endif
f6bcfd97 2483}
af309447
RD
2484 return _resultobj;
2485}
2486
f6bcfd97
BP
2487#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2488static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2489 PyObject * _resultobj;
f6bcfd97 2490 wxString * _result;
8ab979d7 2491 wxListEvent * _arg0;
1d99702e 2492 PyObject * _argo0 = 0;
efc5f224 2493 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2494
2495 self = self;
f6bcfd97 2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2497 return NULL;
1d99702e
RD
2498 if (_argo0) {
2499 if (_argo0 == Py_None) { _arg0 = NULL; }
2500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2502 return NULL;
2503 }
2504 }
cf694132 2505{
4268f798 2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2507 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2508 _result = (wxString *) &_result_ref;
cf694132 2509
4268f798 2510 wxPyEndAllowThreads(__tstate);
493f1553 2511 if (PyErr_Occurred()) return NULL;
f6bcfd97 2512}{
c8bc7bb8
RD
2513#if wxUSE_UNICODE
2514 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2515#else
f6bcfd97 2516 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2517#endif
f6bcfd97 2518}
8ab979d7
RD
2519 return _resultobj;
2520}
2521
f6bcfd97
BP
2522#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2523static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2524 PyObject * _resultobj;
f6bcfd97 2525 int _result;
af309447 2526 wxListEvent * _arg0;
1d99702e 2527 PyObject * _argo0 = 0;
f6bcfd97 2528 char *_kwnames[] = { "self", NULL };
af309447
RD
2529
2530 self = self;
f6bcfd97 2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2532 return NULL;
1d99702e
RD
2533 if (_argo0) {
2534 if (_argo0 == Py_None) { _arg0 = NULL; }
2535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2537 return NULL;
2538 }
2539 }
cf694132 2540{
4268f798 2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2542 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2543
4268f798 2544 wxPyEndAllowThreads(__tstate);
493f1553 2545 if (PyErr_Occurred()) return NULL;
f6bcfd97 2546} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2547 return _resultobj;
2548}
2549
f6bcfd97
BP
2550#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2551static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2552 PyObject * _resultobj;
f6bcfd97 2553 long _result;
8ab979d7 2554 wxListEvent * _arg0;
1d99702e 2555 PyObject * _argo0 = 0;
efc5f224 2556 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2557
2558 self = self;
f6bcfd97 2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2560 return NULL;
1d99702e
RD
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2565 return NULL;
2566 }
2567 }
cf694132 2568{
4268f798 2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2570 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2571
4268f798 2572 wxPyEndAllowThreads(__tstate);
493f1553 2573 if (PyErr_Occurred()) return NULL;
f6bcfd97 2574} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2575 return _resultobj;
2576}
2577
f6bcfd97
BP
2578#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2579static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2580 PyObject * _resultobj;
f6bcfd97 2581 long _result;
af309447 2582 wxListEvent * _arg0;
1d99702e 2583 PyObject * _argo0 = 0;
f6bcfd97 2584 char *_kwnames[] = { "self", NULL };
af309447
RD
2585
2586 self = self;
f6bcfd97 2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2588 return NULL;
1d99702e
RD
2589 if (_argo0) {
2590 if (_argo0 == Py_None) { _arg0 = NULL; }
2591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2593 return NULL;
2594 }
2595 }
cf694132 2596{
4268f798 2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2598 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2599
4268f798 2600 wxPyEndAllowThreads(__tstate);
493f1553 2601 if (PyErr_Occurred()) return NULL;
f6bcfd97 2602} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2603 return _resultobj;
2604}
2605
f6bcfd97
BP
2606#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2607static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2608 PyObject * _resultobj;
2609 wxListItem * _result;
2610 wxListEvent * _arg0;
1d99702e 2611 PyObject * _argo0 = 0;
efc5f224 2612 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2613
2614 self = self;
f6bcfd97 2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2616 return NULL;
1d99702e
RD
2617 if (_argo0) {
2618 if (_argo0 == Py_None) { _arg0 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2621 return NULL;
2622 }
2623 }
cf694132 2624{
4268f798 2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2626 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2627 _result = (wxListItem *) &_result_ref;
cf694132 2628
4268f798 2629 wxPyEndAllowThreads(__tstate);
493f1553 2630 if (PyErr_Occurred()) return NULL;
9416aa89 2631}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2632 return _resultobj;
2633}
2634
6d19860f
RD
2635#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2636static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 long _result;
2639 wxListEvent * _arg0;
2640 PyObject * _argo0 = 0;
2641 char *_kwnames[] = { "self", NULL };
2642
2643 self = self;
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2645 return NULL;
2646 if (_argo0) {
2647 if (_argo0 == Py_None) { _arg0 = NULL; }
2648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2650 return NULL;
2651 }
2652 }
2653{
4268f798 2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2655 _result = (long )wxListEvent_GetCacheFrom(_arg0);
6d19860f 2656
4268f798 2657 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2658 if (PyErr_Occurred()) return NULL;
2659} _resultobj = Py_BuildValue("l",_result);
2660 return _resultobj;
2661}
2662
2663#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2664static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject * _resultobj;
2666 long _result;
2667 wxListEvent * _arg0;
2668 PyObject * _argo0 = 0;
2669 char *_kwnames[] = { "self", NULL };
2670
2671 self = self;
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2673 return NULL;
2674 if (_argo0) {
2675 if (_argo0 == Py_None) { _arg0 = NULL; }
2676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2678 return NULL;
2679 }
2680 }
2681{
4268f798 2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2683 _result = (long )wxListEvent_GetCacheTo(_arg0);
6d19860f 2684
4268f798 2685 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2686 if (PyErr_Occurred()) return NULL;
2687} _resultobj = Py_BuildValue("l",_result);
2688 return _resultobj;
2689}
2690
c7e7022c
RD
2691static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2692 wxPyListCtrl *src;
8ab979d7 2693 wxControl *dest;
c7e7022c 2694 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2695 dest = (wxControl *) src;
2696 return (void *) dest;
2697}
2698
c7e7022c
RD
2699static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2700 wxPyListCtrl *src;
8ab979d7 2701 wxWindow *dest;
c7e7022c 2702 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2703 dest = (wxWindow *) src;
2704 return (void *) dest;
2705}
2706
c7e7022c
RD
2707static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2708 wxPyListCtrl *src;
8ab979d7 2709 wxEvtHandler *dest;
c7e7022c 2710 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2711 dest = (wxEvtHandler *) src;
2712 return (void *) dest;
2713}
2714
c7e7022c
RD
2715static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2716 wxPyListCtrl *src;
9416aa89 2717 wxObject *dest;
c7e7022c 2718 src = (wxPyListCtrl *) ptr;
9416aa89
RD
2719 dest = (wxObject *) src;
2720 return (void *) dest;
2721}
2722
c7e7022c 2723#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2724static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2725 PyObject * _resultobj;
c7e7022c 2726 wxPyListCtrl * _result;
8ab979d7 2727 wxWindow * _arg0;
c7e7022c 2728 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
2729 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2730 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
0adbc166 2731 long _arg4 = (long ) (wxLC_ICON);
e508a2b6 2732 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 2733 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
1d99702e 2734 PyObject * _argo0 = 0;
2f90df85
RD
2735 wxPoint temp;
2736 PyObject * _obj2 = 0;
2737 wxSize temp0;
2738 PyObject * _obj3 = 0;
1d99702e 2739 PyObject * _argo5 = 0;
137b5242 2740 PyObject * _obj6 = 0;
efc5f224 2741 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2742 char _ptemp[128];
2743
2744 self = self;
137b5242 2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 2746 return NULL;
1d99702e
RD
2747 if (_argo0) {
2748 if (_argo0 == Py_None) { _arg0 = NULL; }
2749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2751 return NULL;
2752 }
2753 }
2f90df85
RD
2754 if (_obj2)
2755{
2756 _arg2 = &temp;
2757 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2758 return NULL;
2f90df85
RD
2759}
2760 if (_obj3)
2761{
2762 _arg3 = &temp0;
2763 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2764 return NULL;
2f90df85 2765}
1d99702e
RD
2766 if (_argo5) {
2767 if (_argo5 == Py_None) { _arg5 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2770 return NULL;
2771 }
2772 }
137b5242
RD
2773 if (_obj6)
2774{
2775 _arg6 = wxString_in_helper(_obj6);
2776 if (_arg6 == NULL)
2777 return NULL;
2778}
cf694132 2779{
4268f798 2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2781 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 2782
4268f798 2783 wxPyEndAllowThreads(__tstate);
493f1553 2784 if (PyErr_Occurred()) return NULL;
1d99702e 2785} if (_result) {
c7e7022c 2786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2787 _resultobj = Py_BuildValue("s",_ptemp);
2788 } else {
2789 Py_INCREF(Py_None);
2790 _resultobj = Py_None;
2791 }
137b5242
RD
2792{
2793 if (_obj6)
2794 delete _arg6;
2795}
8ab979d7
RD
2796 return _resultobj;
2797}
2798
09f3d4e6
RD
2799#define new_wxPreListCtrl() (new wxPyListCtrl())
2800static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject * _resultobj;
2802 wxPyListCtrl * _result;
2803 char *_kwnames[] = { NULL };
2804 char _ptemp[128];
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2808 return NULL;
2809{
4268f798 2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2811 _result = (wxPyListCtrl *)new_wxPreListCtrl();
09f3d4e6 2812
4268f798 2813 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2814 if (PyErr_Occurred()) return NULL;
2815} if (_result) {
2816 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
2817 _resultobj = Py_BuildValue("s",_ptemp);
2818 } else {
2819 Py_INCREF(Py_None);
2820 _resultobj = Py_None;
2821 }
2822 return _resultobj;
2823}
2824
2825#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2826static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 bool _result;
2829 wxPyListCtrl * _arg0;
2830 wxWindow * _arg1;
2831 wxWindowID _arg2 = (wxWindowID ) -1;
2832 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2833 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2834 long _arg5 = (long ) (wxLC_ICON);
2835 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 2836 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
09f3d4e6
RD
2837 PyObject * _argo0 = 0;
2838 PyObject * _argo1 = 0;
2839 wxPoint temp;
2840 PyObject * _obj3 = 0;
2841 wxSize temp0;
2842 PyObject * _obj4 = 0;
2843 PyObject * _argo6 = 0;
137b5242 2844 PyObject * _obj7 = 0;
09f3d4e6
RD
2845 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
2846
2847 self = self;
137b5242 2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
2849 return NULL;
2850 if (_argo0) {
2851 if (_argo0 == Py_None) { _arg0 = NULL; }
2852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2854 return NULL;
2855 }
2856 }
2857 if (_argo1) {
2858 if (_argo1 == Py_None) { _arg1 = NULL; }
2859 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2860 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2861 return NULL;
2862 }
2863 }
2864 if (_obj3)
2865{
2866 _arg3 = &temp;
2867 if (! wxPoint_helper(_obj3, &_arg3))
2868 return NULL;
2869}
2870 if (_obj4)
2871{
2872 _arg4 = &temp0;
2873 if (! wxSize_helper(_obj4, &_arg4))
2874 return NULL;
2875}
2876 if (_argo6) {
2877 if (_argo6 == Py_None) { _arg6 = NULL; }
2878 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
2879 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2880 return NULL;
2881 }
2882 }
137b5242
RD
2883 if (_obj7)
2884{
2885 _arg7 = wxString_in_helper(_obj7);
2886 if (_arg7 == NULL)
2887 return NULL;
2888}
09f3d4e6 2889{
4268f798 2890 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2891 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 2892
4268f798 2893 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2894 if (PyErr_Occurred()) return NULL;
2895} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
2896{
2897 if (_obj7)
2898 delete _arg7;
2899}
09f3d4e6
RD
2900 return _resultobj;
2901}
2902
0122b7e3
RD
2903#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2904static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2905 PyObject * _resultobj;
c7e7022c
RD
2906 wxPyListCtrl * _arg0;
2907 PyObject * _arg1;
2908 PyObject * _arg2;
1d99702e 2909 PyObject * _argo0 = 0;
c7e7022c
RD
2910 PyObject * _obj1 = 0;
2911 PyObject * _obj2 = 0;
2912 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
2913
2914 self = self;
0122b7e3 2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 2916 return NULL;
1d99702e
RD
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c 2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0122b7e3 2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2921 return NULL;
2922 }
2923 }
c7e7022c
RD
2924{
2925 _arg1 = _obj1;
2926}
2927{
2928 _arg2 = _obj2;
2929}
cf694132 2930{
4268f798 2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2932 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 2933
4268f798 2934 wxPyEndAllowThreads(__tstate);
493f1553 2935 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
2936} Py_INCREF(Py_None);
2937 _resultobj = Py_None;
8ab979d7
RD
2938 return _resultobj;
2939}
2940
c7e7022c
RD
2941#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2942static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1b62f00d 2943 PyObject * _resultobj;
c7e7022c
RD
2944 bool _result;
2945 wxPyListCtrl * _arg0;
2946 wxColour * _arg1;
1b62f00d 2947 PyObject * _argo0 = 0;
c7e7022c
RD
2948 wxColour temp;
2949 PyObject * _obj1 = 0;
2950 char *_kwnames[] = { "self","col", NULL };
1b62f00d
RD
2951
2952 self = self;
c7e7022c 2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1b62f00d
RD
2954 return NULL;
2955 if (_argo0) {
2956 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
1b62f00d
RD
2959 return NULL;
2960 }
2961 }
c7e7022c
RD
2962{
2963 _arg1 = &temp;
2964 if (! wxColour_helper(_obj1, &_arg1))
1b62f00d 2965 return NULL;
c7e7022c 2966}
1b62f00d 2967{
4268f798 2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2969 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
1b62f00d 2970
4268f798 2971 wxPyEndAllowThreads(__tstate);
493f1553 2972 if (PyErr_Occurred()) return NULL;
c7e7022c 2973} _resultobj = Py_BuildValue("i",_result);
1b62f00d
RD
2974 return _resultobj;
2975}
2976
c7e7022c
RD
2977#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2978static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2979 PyObject * _resultobj;
2980 bool _result;
c7e7022c
RD
2981 wxPyListCtrl * _arg0;
2982 wxColour * _arg1;
1d99702e 2983 PyObject * _argo0 = 0;
c7e7022c
RD
2984 wxColour temp;
2985 PyObject * _obj1 = 0;
2986 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
2987
2988 self = self;
c7e7022c 2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 2990 return NULL;
1d99702e
RD
2991 if (_argo0) {
2992 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2995 return NULL;
2996 }
2997 }
c7e7022c
RD
2998{
2999 _arg1 = &temp;
3000 if (! wxColour_helper(_obj1, &_arg1))
3001 return NULL;
3002}
cf694132 3003{
4268f798 3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3005 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
cf694132 3006
4268f798 3007 wxPyEndAllowThreads(__tstate);
493f1553 3008 if (PyErr_Occurred()) return NULL;
cf694132 3009} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3010 return _resultobj;
3011}
3012
14afa2cb
RD
3013static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3014 wxListItem item;
3015 if (self->GetColumn(col, item))
3016 return new wxListItem(item);
3017 else
3018 return NULL;
3019 }
c7e7022c 3020static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3021 PyObject * _resultobj;
14afa2cb 3022 wxListItem * _result;
c7e7022c
RD
3023 wxPyListCtrl * _arg0;
3024 int _arg1;
1d99702e 3025 PyObject * _argo0 = 0;
14afa2cb 3026 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3027
3028 self = self;
14afa2cb 3029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3030 return NULL;
1d99702e
RD
3031 if (_argo0) {
3032 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3035 return NULL;
3036 }
3037 }
cf694132 3038{
4268f798 3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3040 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3041
4268f798 3042 wxPyEndAllowThreads(__tstate);
493f1553 3043 if (PyErr_Occurred()) return NULL;
14afa2cb 3044}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3045 return _resultobj;
3046}
3047
c7e7022c
RD
3048#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3049static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3050 PyObject * _resultobj;
3051 bool _result;
c7e7022c 3052 wxPyListCtrl * _arg0;
8ab979d7 3053 int _arg1;
c7e7022c 3054 wxListItem * _arg2;
1d99702e 3055 PyObject * _argo0 = 0;
c7e7022c
RD
3056 PyObject * _argo2 = 0;
3057 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3058
3059 self = self;
c7e7022c 3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3061 return NULL;
1d99702e
RD
3062 if (_argo0) {
3063 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3066 return NULL;
3067 }
3068 }
3069 if (_argo2) {
3070 if (_argo2 == Py_None) { _arg2 = NULL; }
3071 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3072 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3073 return NULL;
3074 }
3075 }
cf694132 3076{
4268f798 3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3078 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3079
4268f798 3080 wxPyEndAllowThreads(__tstate);
493f1553 3081 if (PyErr_Occurred()) return NULL;
cf694132 3082} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3083 return _resultobj;
3084}
3085
c7e7022c
RD
3086#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3087static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3088 PyObject * _resultobj;
c7e7022c
RD
3089 int _result;
3090 wxPyListCtrl * _arg0;
3091 int _arg1;
1d99702e 3092 PyObject * _argo0 = 0;
c7e7022c 3093 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3094
3095 self = self;
c7e7022c 3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3097 return NULL;
1d99702e
RD
3098 if (_argo0) {
3099 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3102 return NULL;
3103 }
3104 }
cf694132 3105{
4268f798 3106 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3107 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3108
4268f798 3109 wxPyEndAllowThreads(__tstate);
493f1553 3110 if (PyErr_Occurred()) return NULL;
cf694132 3111} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3112 return _resultobj;
3113}
3114
c7e7022c
RD
3115#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3116static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3117 PyObject * _resultobj;
c7e7022c
RD
3118 bool _result;
3119 wxPyListCtrl * _arg0;
3120 int _arg1;
3121 int _arg2;
1d99702e 3122 PyObject * _argo0 = 0;
c7e7022c 3123 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3124
3125 self = self;
c7e7022c 3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3127 return NULL;
1d99702e
RD
3128 if (_argo0) {
3129 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3132 return NULL;
3133 }
3134 }
cf694132 3135{
4268f798 3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3137 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3138
4268f798 3139 wxPyEndAllowThreads(__tstate);
493f1553 3140 if (PyErr_Occurred()) return NULL;
c7e7022c 3141} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3142 return _resultobj;
3143}
3144
c7e7022c
RD
3145#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3146static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3147 PyObject * _resultobj;
c7e7022c
RD
3148 int _result;
3149 wxPyListCtrl * _arg0;
1d99702e 3150 PyObject * _argo0 = 0;
c7e7022c 3151 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3152
3153 self = self;
c7e7022c 3154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3155 return NULL;
1d99702e
RD
3156 if (_argo0) {
3157 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3160 return NULL;
3161 }
3162 }
cf694132 3163{
4268f798 3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3165 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3166
4268f798 3167 wxPyEndAllowThreads(__tstate);
493f1553 3168 if (PyErr_Occurred()) return NULL;
c7e7022c 3169} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3170 return _resultobj;
3171}
3172
c7e7022c
RD
3173#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3174static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3175 PyObject * _resultobj;
c7e7022c
RD
3176 wxTextCtrl * _result;
3177 wxPyListCtrl * _arg0;
1d99702e 3178 PyObject * _argo0 = 0;
c7e7022c 3179 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3180
3181 self = self;
c7e7022c 3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
8ab979d7 3183 return NULL;
1d99702e
RD
3184 if (_argo0) {
3185 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3188 return NULL;
3189 }
3190 }
cf694132 3191{
4268f798 3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3193 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
cf694132 3194
4268f798 3195 wxPyEndAllowThreads(__tstate);
493f1553 3196 if (PyErr_Occurred()) return NULL;
c7e7022c 3197}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3198 return _resultobj;
3199}
3200
c7e7022c
RD
3201static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3202 wxListItem* info = new wxListItem;
3203 info->m_itemId = itemId;
3204 info->m_col = col;
3205 info->m_mask = 0xFFFF;
3206 self->GetItem(*info);
3207 return info;
3208 }
3209static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3210 PyObject * _resultobj;
c7e7022c
RD
3211 wxListItem * _result;
3212 wxPyListCtrl * _arg0;
3213 long _arg1;
3214 int _arg2 = (int ) 0;
1d99702e 3215 PyObject * _argo0 = 0;
c7e7022c 3216 char *_kwnames[] = { "self","itemId","col", NULL };
be4d9c1f
RD
3217
3218 self = self;
c7e7022c 3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
be4d9c1f 3220 return NULL;
1d99702e
RD
3221 if (_argo0) {
3222 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3225 return NULL;
3226 }
3227 }
cf694132 3228{
4268f798 3229 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3230 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3231
4268f798 3232 wxPyEndAllowThreads(__tstate);
493f1553 3233 if (PyErr_Occurred()) return NULL;
9416aa89 3234}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3235 return _resultobj;
3236}
3237
c7e7022c
RD
3238#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3239static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3240 PyObject * _resultobj;
3241 bool _result;
c7e7022c
RD
3242 wxPyListCtrl * _arg0;
3243 wxListItem * _arg1;
1d99702e 3244 PyObject * _argo0 = 0;
c7e7022c
RD
3245 PyObject * _argo1 = 0;
3246 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3247
3248 self = self;
c7e7022c 3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3250 return NULL;
1d99702e
RD
3251 if (_argo0) {
3252 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3255 return NULL;
3256 }
3257 }
3258 if (_argo1) {
3259 if (_argo1 == Py_None) { _arg1 = NULL; }
3260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3262 return NULL;
3263 }
3264 }
cf694132 3265{
4268f798 3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3267 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3268
4268f798 3269 wxPyEndAllowThreads(__tstate);
493f1553 3270 if (PyErr_Occurred()) return NULL;
cf694132 3271} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3272 return _resultobj;
3273}
3274
c7e7022c
RD
3275#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3276static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3277 PyObject * _resultobj;
3278 long _result;
c7e7022c 3279 wxPyListCtrl * _arg0;
8ab979d7 3280 long _arg1;
c7e7022c
RD
3281 int _arg2;
3282 wxString * _arg3;
3283 int _arg4 = (int ) -1;
1d99702e 3284 PyObject * _argo0 = 0;
c7e7022c
RD
3285 PyObject * _obj3 = 0;
3286 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3287
3288 self = self;
c7e7022c 3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3290 return NULL;
1d99702e
RD
3291 if (_argo0) {
3292 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3295 return NULL;
3296 }
3297 }
3298{
c8bc7bb8
RD
3299 _arg3 = wxString_in_helper(_obj3);
3300 if (_arg3 == NULL)
185d7c3e 3301 return NULL;
8ab979d7 3302}
cf694132 3303{
4268f798 3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3305 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3306
4268f798 3307 wxPyEndAllowThreads(__tstate);
493f1553 3308 if (PyErr_Occurred()) return NULL;
cf694132 3309} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3310{
c7e7022c
RD
3311 if (_obj3)
3312 delete _arg3;
8ab979d7
RD
3313}
3314 return _resultobj;
3315}
3316
c7e7022c
RD
3317#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3318static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3319 PyObject * _resultobj;
c7e7022c
RD
3320 int _result;
3321 wxPyListCtrl * _arg0;
8ab979d7
RD
3322 long _arg1;
3323 long _arg2;
1d99702e 3324 PyObject * _argo0 = 0;
c7e7022c 3325 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3326
3327 self = self;
c7e7022c 3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3329 return NULL;
1d99702e
RD
3330 if (_argo0) {
3331 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3334 return NULL;
3335 }
3336 }
cf694132 3337{
4268f798 3338 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3339 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3340
4268f798 3341 wxPyEndAllowThreads(__tstate);
493f1553 3342 if (PyErr_Occurred()) return NULL;
c7e7022c 3343} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3344 return _resultobj;
3345}
3346
c7e7022c
RD
3347#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3348static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3349 PyObject * _resultobj;
c7e7022c
RD
3350 bool _result;
3351 wxPyListCtrl * _arg0;
8ab979d7 3352 long _arg1;
c7e7022c
RD
3353 long _arg2;
3354 long _arg3;
1d99702e 3355 PyObject * _argo0 = 0;
c7e7022c 3356 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3357
3358 self = self;
c7e7022c 3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3360 return NULL;
1d99702e
RD
3361 if (_argo0) {
3362 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3365 return NULL;
3366 }
3367 }
cf694132 3368{
4268f798 3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3370 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3371
4268f798 3372 wxPyEndAllowThreads(__tstate);
493f1553 3373 if (PyErr_Occurred()) return NULL;
c7e7022c 3374} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3375 return _resultobj;
3376}
3377
c7e7022c
RD
3378#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3379static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3380 PyObject * _resultobj;
3381 bool _result;
c7e7022c
RD
3382 wxPyListCtrl * _arg0;
3383 long _arg1;
3384 int _arg2;
3385 int _arg3;
1d99702e 3386 PyObject * _argo0 = 0;
c7e7022c 3387 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3388
3389 self = self;
c7e7022c 3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3391 return NULL;
1d99702e
RD
3392 if (_argo0) {
3393 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3396 return NULL;
3397 }
3398 }
cf694132 3399{
4268f798 3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3401 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3402
4268f798 3403 wxPyEndAllowThreads(__tstate);
493f1553 3404 if (PyErr_Occurred()) return NULL;
cf694132 3405} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3406 return _resultobj;
3407}
3408
c7e7022c
RD
3409#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3410static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3411 PyObject * _resultobj;
c7e7022c
RD
3412 wxString * _result;
3413 wxPyListCtrl * _arg0;
3414 long _arg1;
1d99702e 3415 PyObject * _argo0 = 0;
c7e7022c 3416 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3417
3418 self = self;
c7e7022c 3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3420 return NULL;
1d99702e
RD
3421 if (_argo0) {
3422 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3425 return NULL;
3426 }
3427 }
cf694132 3428{
4268f798 3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3430 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3431
4268f798 3432 wxPyEndAllowThreads(__tstate);
493f1553 3433 if (PyErr_Occurred()) return NULL;
c7e7022c 3434}{
c8bc7bb8
RD
3435#if wxUSE_UNICODE
3436 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3437#else
c7e7022c 3438 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3439#endif
c7e7022c
RD
3440}
3441{
3442 delete _result;
3443}
8ab979d7
RD
3444 return _resultobj;
3445}
3446
c7e7022c
RD
3447#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3448static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3449 PyObject * _resultobj;
c7e7022c
RD
3450 wxPyListCtrl * _arg0;
3451 long _arg1;
3452 wxString * _arg2;
1d99702e 3453 PyObject * _argo0 = 0;
c7e7022c
RD
3454 PyObject * _obj2 = 0;
3455 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3456
3457 self = self;
c7e7022c 3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3459 return NULL;
1d99702e
RD
3460 if (_argo0) {
3461 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3464 return NULL;
3465 }
3466 }
cf694132 3467{
c8bc7bb8
RD
3468 _arg2 = wxString_in_helper(_obj2);
3469 if (_arg2 == NULL)
8ab979d7 3470 return NULL;
c7e7022c 3471}
cf694132 3472{
4268f798 3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3474 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3475
4268f798 3476 wxPyEndAllowThreads(__tstate);
493f1553 3477 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3478} Py_INCREF(Py_None);
3479 _resultobj = Py_None;
3480{
3481 if (_obj2)
3482 delete _arg2;
3483}
8ab979d7
RD
3484 return _resultobj;
3485}
3486
3487#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3488static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3489 PyObject * _resultobj;
3490 long _result;
c7e7022c 3491 wxPyListCtrl * _arg0;
8ab979d7 3492 long _arg1;
1d99702e 3493 PyObject * _argo0 = 0;
efc5f224 3494 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3495
3496 self = self;
efc5f224 3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3498 return NULL;
1d99702e
RD
3499 if (_argo0) {
3500 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3503 return NULL;
3504 }
3505 }
cf694132 3506{
4268f798 3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3508 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3509
4268f798 3510 wxPyEndAllowThreads(__tstate);
493f1553 3511 if (PyErr_Occurred()) return NULL;
cf694132 3512} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3513 return _resultobj;
3514}
3515
c7e7022c
RD
3516#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3517static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3518 PyObject * _resultobj;
c7e7022c
RD
3519 bool _result;
3520 wxPyListCtrl * _arg0;
0699c864 3521 long _arg1;
c7e7022c 3522 long _arg2;
1d99702e 3523 PyObject * _argo0 = 0;
c7e7022c 3524 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3525
3526 self = self;
c7e7022c 3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3528 return NULL;
1d99702e
RD
3529 if (_argo0) {
3530 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3533 return NULL;
3534 }
3535 }
cf694132 3536{
4268f798 3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3538 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3539
4268f798 3540 wxPyEndAllowThreads(__tstate);
493f1553 3541 if (PyErr_Occurred()) return NULL;
c7e7022c 3542} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3543 return _resultobj;
3544}
3545
c7e7022c 3546static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3547 wxPoint* pos = new wxPoint;
3548 self->GetItemPosition(item, *pos);
3549 return pos;
3550 }
efc5f224 3551static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3552 PyObject * _resultobj;
3553 wxPoint * _result;
c7e7022c 3554 wxPyListCtrl * _arg0;
8ab979d7 3555 long _arg1;
1d99702e 3556 PyObject * _argo0 = 0;
efc5f224 3557 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3558 char _ptemp[128];
3559
3560 self = self;
efc5f224 3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3562 return NULL;
1d99702e
RD
3563 if (_argo0) {
3564 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3567 return NULL;
3568 }
3569 }
cf694132 3570{
4268f798 3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3572 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3573
4268f798 3574 wxPyEndAllowThreads(__tstate);
493f1553 3575 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3576} if (_result) {
3577 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3578 _resultobj = Py_BuildValue("s",_ptemp);
3579 } else {
3580 Py_INCREF(Py_None);
3581 _resultobj = Py_None;
3582 }
8ab979d7
RD
3583 return _resultobj;
3584}
3585
c7e7022c 3586static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3587 wxRect* rect= new wxRect;
3588 self->GetItemRect(item, *rect, code);
3589 return rect;
3590 }
efc5f224 3591static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3592 PyObject * _resultobj;
3593 wxRect * _result;
c7e7022c 3594 wxPyListCtrl * _arg0;
8ab979d7 3595 long _arg1;
1d99702e
RD
3596 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3597 PyObject * _argo0 = 0;
efc5f224 3598 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3599 char _ptemp[128];
3600
3601 self = self;
efc5f224 3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3603 return NULL;
1d99702e
RD
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3608 return NULL;
3609 }
3610 }
cf694132 3611{
4268f798 3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3613 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3614
4268f798 3615 wxPyEndAllowThreads(__tstate);
493f1553 3616 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3617} if (_result) {
3618 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3619 _resultobj = Py_BuildValue("s",_ptemp);
3620 } else {
3621 Py_INCREF(Py_None);
3622 _resultobj = Py_None;
3623 }
8ab979d7
RD
3624 return _resultobj;
3625}
3626
c7e7022c
RD
3627#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3628static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3629 PyObject * _resultobj;
c7e7022c
RD
3630 bool _result;
3631 wxPyListCtrl * _arg0;
8ab979d7 3632 long _arg1;
c7e7022c 3633 wxPoint * _arg2;
1d99702e 3634 PyObject * _argo0 = 0;
c7e7022c
RD
3635 wxPoint temp;
3636 PyObject * _obj2 = 0;
3637 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3638
3639 self = self;
c7e7022c 3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3641 return NULL;
1d99702e
RD
3642 if (_argo0) {
3643 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3646 return NULL;
3647 }
3648 }
c7e7022c
RD
3649{
3650 _arg2 = &temp;
3651 if (! wxPoint_helper(_obj2, &_arg2))
3652 return NULL;
3653}
cf694132 3654{
4268f798 3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3656 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3657
4268f798 3658 wxPyEndAllowThreads(__tstate);
493f1553 3659 if (PyErr_Occurred()) return NULL;
cf694132 3660} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3661 return _resultobj;
3662}
3663
3664#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3665static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3666 PyObject * _resultobj;
3667 int _result;
c7e7022c 3668 wxPyListCtrl * _arg0;
1d99702e 3669 PyObject * _argo0 = 0;
efc5f224 3670 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3671
3672 self = self;
efc5f224 3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3674 return NULL;
1d99702e
RD
3675 if (_argo0) {
3676 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3679 return NULL;
3680 }
3681 }
cf694132 3682{
4268f798 3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3684 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3685
4268f798 3686 wxPyEndAllowThreads(__tstate);
493f1553 3687 if (PyErr_Occurred()) return NULL;
cf694132 3688} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3689 return _resultobj;
3690}
3691
c7e7022c
RD
3692#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3693static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3694 PyObject * _resultobj;
3695 int _result;
c7e7022c 3696 wxPyListCtrl * _arg0;
1d99702e 3697 PyObject * _argo0 = 0;
c7e7022c 3698 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3699
3700 self = self;
c7e7022c 3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
8ab979d7 3702 return NULL;
1d99702e
RD
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3707 return NULL;
3708 }
3709 }
cf694132 3710{
4268f798 3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3712 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cf694132 3713
4268f798 3714 wxPyEndAllowThreads(__tstate);
493f1553 3715 if (PyErr_Occurred()) return NULL;
cf694132 3716} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3717 return _resultobj;
3718}
3719
c7e7022c
RD
3720#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3721static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3722 PyObject * _resultobj;
c7e7022c
RD
3723 int _result;
3724 wxPyListCtrl * _arg0;
3725 bool _arg1;
1d99702e 3726 PyObject * _argo0 = 0;
c7e7022c
RD
3727 int tempbool1;
3728 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3729
3730 self = self;
c7e7022c 3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3732 return NULL;
1d99702e
RD
3733 if (_argo0) {
3734 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3737 return NULL;
3738 }
3739 }
c7e7022c 3740 _arg1 = (bool ) tempbool1;
8ab979d7 3741{
4268f798 3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3743 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3744
4268f798 3745 wxPyEndAllowThreads(__tstate);
493f1553 3746 if (PyErr_Occurred()) return NULL;
c7e7022c 3747} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3748 return _resultobj;
3749}
3750
c7e7022c
RD
3751#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3752static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3753 PyObject * _resultobj;
c7e7022c
RD
3754 int _result;
3755 wxPyListCtrl * _arg0;
1d99702e 3756 PyObject * _argo0 = 0;
c7e7022c 3757 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3758
3759 self = self;
c7e7022c 3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3761 return NULL;
1d99702e
RD
3762 if (_argo0) {
3763 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3766 return NULL;
3767 }
3768 }
cf694132 3769{
4268f798 3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3771 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3772
4268f798 3773 wxPyEndAllowThreads(__tstate);
493f1553 3774 if (PyErr_Occurred()) return NULL;
c7e7022c 3775} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3776 return _resultobj;
3777}
3778
c7e7022c
RD
3779#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3780static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3781 PyObject * _resultobj;
c7e7022c
RD
3782 wxColour * _result;
3783 wxPyListCtrl * _arg0;
1d99702e 3784 PyObject * _argo0 = 0;
efc5f224 3785 char *_kwnames[] = { "self", NULL };
c7e7022c 3786 char _ptemp[128];
8ab979d7
RD
3787
3788 self = self;
c7e7022c 3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3790 return NULL;
1d99702e
RD
3791 if (_argo0) {
3792 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3795 return NULL;
3796 }
3797 }
cf694132 3798{
4268f798 3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3800 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3801
4268f798 3802 wxPyEndAllowThreads(__tstate);
493f1553 3803 if (PyErr_Occurred()) return NULL;
cf694132 3804} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
3805 _resultobj = Py_BuildValue("s",_ptemp);
3806 return _resultobj;
3807}
3808
be4d9c1f 3809#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 3810static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3811 PyObject * _resultobj;
c7e7022c 3812 wxPyListCtrl * _arg0;
be4d9c1f 3813 wxColour * _arg1;
1d99702e 3814 PyObject * _argo0 = 0;
f6bcfd97
BP
3815 wxColour temp;
3816 PyObject * _obj1 = 0;
efc5f224 3817 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
3818
3819 self = self;
f6bcfd97 3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
be4d9c1f 3821 return NULL;
1d99702e
RD
3822 if (_argo0) {
3823 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3826 return NULL;
3827 }
3828 }
f6bcfd97
BP
3829{
3830 _arg1 = &temp;
3831 if (! wxColour_helper(_obj1, &_arg1))
be4d9c1f 3832 return NULL;
f6bcfd97 3833}
cf694132 3834{
4268f798 3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3836 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 3837
4268f798 3838 wxPyEndAllowThreads(__tstate);
493f1553 3839 if (PyErr_Occurred()) return NULL;
cf694132 3840} Py_INCREF(Py_None);
be4d9c1f
RD
3841 _resultobj = Py_None;
3842 return _resultobj;
3843}
3844
8ab979d7 3845#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 3846static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3847 PyObject * _resultobj;
3848 long _result;
c7e7022c 3849 wxPyListCtrl * _arg0;
1d99702e 3850 PyObject * _argo0 = 0;
efc5f224 3851 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3852
3853 self = self;
efc5f224 3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 3855 return NULL;
1d99702e
RD
3856 if (_argo0) {
3857 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3860 return NULL;
3861 }
3862 }
cf694132 3863{
4268f798 3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3865 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 3866
4268f798 3867 wxPyEndAllowThreads(__tstate);
493f1553 3868 if (PyErr_Occurred()) return NULL;
cf694132 3869} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3870 return _resultobj;
3871}
3872
c7e7022c
RD
3873#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3874static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3875 PyObject * _resultobj;
c7e7022c
RD
3876 wxPyListCtrl * _arg0;
3877 long _arg1;
3878 bool _arg2 = (bool ) TRUE;
1d99702e 3879 PyObject * _argo0 = 0;
c7e7022c
RD
3880 int tempbool2 = (int) TRUE;
3881 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
3882
3883 self = self;
c7e7022c 3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 3885 return NULL;
1d99702e
RD
3886 if (_argo0) {
3887 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3890 return NULL;
3891 }
3892 }
c7e7022c 3893 _arg2 = (bool ) tempbool2;
cf694132 3894{
4268f798 3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3896 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cf694132 3897
4268f798 3898 wxPyEndAllowThreads(__tstate);
493f1553 3899 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3900} Py_INCREF(Py_None);
3901 _resultobj = Py_None;
8ab979d7
RD
3902 return _resultobj;
3903}
3904
c7e7022c
RD
3905#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3906static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3907 PyObject * _resultobj;
c7e7022c 3908 wxPyListCtrl * _arg0;
8ab979d7 3909 long _arg1;
1d99702e 3910 PyObject * _argo0 = 0;
c7e7022c 3911 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
3912
3913 self = self;
c7e7022c 3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 3915 return NULL;
1d99702e
RD
3916 if (_argo0) {
3917 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3920 return NULL;
3921 }
3922 }
cf694132 3923{
4268f798 3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3925 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cf694132 3926
4268f798 3927 wxPyEndAllowThreads(__tstate);
493f1553 3928 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3929} Py_INCREF(Py_None);
3930 _resultobj = Py_None;
8ab979d7
RD
3931 return _resultobj;
3932}
3933
c7e7022c
RD
3934#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3935static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3936 PyObject * _resultobj;
3937 long _result;
c7e7022c 3938 wxPyListCtrl * _arg0;
8ab979d7 3939 long _arg1;
c7e7022c
RD
3940 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3941 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
1d99702e 3942 PyObject * _argo0 = 0;
c7e7022c 3943 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
3944
3945 self = self;
c7e7022c 3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3947 return NULL;
1d99702e
RD
3948 if (_argo0) {
3949 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3952 return NULL;
3953 }
3954 }
3955{
4268f798 3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3957 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
c7e7022c 3958
4268f798 3959 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
3960 if (PyErr_Occurred()) return NULL;
3961} _resultobj = Py_BuildValue("l",_result);
3962 return _resultobj;
3963}
3964
3965#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3966static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject * _resultobj;
3968 wxImageList * _result;
3969 wxPyListCtrl * _arg0;
3970 int _arg1;
3971 PyObject * _argo0 = 0;
3972 char *_kwnames[] = { "self","which", NULL };
3973
3974 self = self;
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
185d7c3e 3976 return NULL;
c7e7022c
RD
3977 if (_argo0) {
3978 if (_argo0 == Py_None) { _arg0 = NULL; }
3979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
8ab979d7 3981 return NULL;
c7e7022c 3982 }
8ab979d7 3983 }
cf694132 3984{
4268f798 3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3986 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cf694132 3987
4268f798 3988 wxPyEndAllowThreads(__tstate);
493f1553 3989 if (PyErr_Occurred()) return NULL;
c7e7022c 3990}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3991 return _resultobj;
3992}
3993
c7e7022c
RD
3994#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3995static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3996 PyObject * _resultobj;
c7e7022c
RD
3997 wxPyListCtrl * _arg0;
3998 wxImageList * _arg1;
3999 int _arg2;
1d99702e
RD
4000 PyObject * _argo0 = 0;
4001 PyObject * _argo1 = 0;
c7e7022c 4002 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4003
4004 self = self;
c7e7022c 4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4006 return NULL;
1d99702e
RD
4007 if (_argo0) {
4008 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4011 return NULL;
4012 }
4013 }
1d99702e
RD
4014 if (_argo1) {
4015 if (_argo1 == Py_None) { _arg1 = NULL; }
c7e7022c
RD
4016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4018 return NULL;
4019 }
4020 }
cf694132 4021{
4268f798 4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4023 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4024
4268f798 4025 wxPyEndAllowThreads(__tstate);
493f1553 4026 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4027} Py_INCREF(Py_None);
4028 _resultobj = Py_None;
8ab979d7
RD
4029 return _resultobj;
4030}
4031
c7e7022c
RD
4032#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4033static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4034 PyObject * _resultobj;
c7e7022c
RD
4035 wxPyListCtrl * _arg0;
4036 wxImageList * _arg1;
4037 int _arg2;
1d99702e 4038 PyObject * _argo0 = 0;
c7e7022c
RD
4039 PyObject * _argo1 = 0;
4040 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4041
4042 self = self;
c7e7022c 4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4044 return NULL;
1d99702e
RD
4045 if (_argo0) {
4046 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4049 return NULL;
4050 }
4051 }
c7e7022c
RD
4052 if (_argo1) {
4053 if (_argo1 == Py_None) { _arg1 = NULL; }
4054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
8ab979d7 4056 return NULL;
c7e7022c 4057 }
8ab979d7 4058 }
cf694132 4059{
4268f798 4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4061 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cf694132 4062
4268f798 4063 wxPyEndAllowThreads(__tstate);
493f1553 4064 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4065} Py_INCREF(Py_None);
4066 _resultobj = Py_None;
8ab979d7
RD
4067 return _resultobj;
4068}
4069
c7e7022c
RD
4070#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4071static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4072 PyObject * _resultobj;
c7e7022c
RD
4073 bool _result;
4074 wxPyListCtrl * _arg0;
1d99702e 4075 PyObject * _argo0 = 0;
c7e7022c 4076 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4077
4078 self = self;
c7e7022c 4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
8ab979d7 4080 return NULL;
1d99702e
RD
4081 if (_argo0) {
4082 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4085 return NULL;
4086 }
4087 }
cf694132 4088{
4268f798 4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4090 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4091
4268f798 4092 wxPyEndAllowThreads(__tstate);
493f1553 4093 if (PyErr_Occurred()) return NULL;
c7e7022c 4094} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4095 return _resultobj;
4096}
4097
c7e7022c
RD
4098#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4099static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4100 PyObject * _resultobj;
c7e7022c 4101 wxPyListCtrl * _arg0;
8ab979d7 4102 long _arg1;
1d99702e 4103 PyObject * _argo0 = 0;
c7e7022c 4104 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4105
4106 self = self;
c7e7022c 4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4108 return NULL;
1d99702e
RD
4109 if (_argo0) {
4110 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4113 return NULL;
4114 }
4115 }
cf694132 4116{
4268f798 4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4118 wxListCtrl_RefreshItem(_arg0,_arg1);
cf694132 4119
4268f798 4120 wxPyEndAllowThreads(__tstate);
493f1553 4121 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4122} Py_INCREF(Py_None);
4123 _resultobj = Py_None;
8ab979d7
RD
4124 return _resultobj;
4125}
4126
c7e7022c
RD
4127#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4128static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4129 PyObject * _resultobj;
c7e7022c
RD
4130 wxPyListCtrl * _arg0;
4131 long _arg1;
4132 long _arg2;
1d99702e 4133 PyObject * _argo0 = 0;
c7e7022c 4134 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4135
4136 self = self;
c7e7022c 4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4138 return NULL;
1d99702e
RD
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4143 return NULL;
4144 }
4145 }
cf694132 4146{
4268f798 4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4148 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cf694132 4149
4268f798 4150 wxPyEndAllowThreads(__tstate);
493f1553 4151 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4152} Py_INCREF(Py_None);
4153 _resultobj = Py_None;
8ab979d7
RD
4154 return _resultobj;
4155}
4156
c7e7022c
RD
4157#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4158static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4159 PyObject * _resultobj;
c7e7022c
RD
4160 bool _result;
4161 wxPyListCtrl * _arg0;
4162 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1d99702e 4163 PyObject * _argo0 = 0;
c7e7022c 4164 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
4165
4166 self = self;
c7e7022c 4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 4168 return NULL;
1d99702e
RD
4169 if (_argo0) {
4170 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4173 return NULL;
4174 }
4175 }
cf694132 4176{
4268f798 4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4178 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4179
4268f798 4180 wxPyEndAllowThreads(__tstate);
493f1553 4181 if (PyErr_Occurred()) return NULL;
c7e7022c 4182} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4183 return _resultobj;
4184}
4185
c7e7022c
RD
4186#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4187static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4188 PyObject * _resultobj;
4189 bool _result;
c7e7022c
RD
4190 wxPyListCtrl * _arg0;
4191 long _arg1;
1d99702e 4192 PyObject * _argo0 = 0;
c7e7022c 4193 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4194
4195 self = self;
c7e7022c 4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4197 return NULL;
1d99702e
RD
4198 if (_argo0) {
4199 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4202 return NULL;
4203 }
4204 }
c7e7022c 4205{
4268f798 4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4207 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
c7e7022c 4208
4268f798 4209 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4210 if (PyErr_Occurred()) return NULL;
4211} _resultobj = Py_BuildValue("i",_result);
4212 return _resultobj;
4213}
4214
4215#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4216static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject * _resultobj;
4218 bool _result;
4219 wxPyListCtrl * _arg0;
4220 PyObject * _argo0 = 0;
4221 char *_kwnames[] = { "self", NULL };
4222
4223 self = self;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4225 return NULL;
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4230 return NULL;
4231 }
4232 }
cf694132 4233{
4268f798 4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4235 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cf694132 4236
4268f798 4237 wxPyEndAllowThreads(__tstate);
493f1553 4238 if (PyErr_Occurred()) return NULL;
cf694132 4239} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4240 return _resultobj;
4241}
4242
c7e7022c
RD
4243#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4244static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4245 PyObject * _resultobj;
4246 bool _result;
c7e7022c 4247 wxPyListCtrl * _arg0;
8ab979d7 4248 int _arg1;
1d99702e 4249 PyObject * _argo0 = 0;
c7e7022c 4250 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4251
4252 self = self;
c7e7022c 4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 4254 return NULL;
1d99702e
RD
4255 if (_argo0) {
4256 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4259 return NULL;
4260 }
4261 }
cf694132 4262{
4268f798 4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4264 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cf694132 4265
4268f798 4266 wxPyEndAllowThreads(__tstate);
493f1553 4267 if (PyErr_Occurred()) return NULL;
cf694132 4268} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4269 return _resultobj;
4270}
4271
c7e7022c
RD
4272#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4273static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4274 PyObject * _resultobj;
c7e7022c
RD
4275 bool _result;
4276 wxPyListCtrl * _arg0;
1d99702e 4277 PyObject * _argo0 = 0;
c7e7022c 4278 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4279
4280 self = self;
c7e7022c 4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 4282 return NULL;
1d99702e
RD
4283 if (_argo0) {
4284 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4287 return NULL;
4288 }
4289 }
c7e7022c 4290{
4268f798 4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4292 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
c7e7022c 4293
4268f798 4294 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4295 if (PyErr_Occurred()) return NULL;
4296} _resultobj = Py_BuildValue("i",_result);
4297 return _resultobj;
4298}
4299
4300#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4301static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject * _resultobj;
4303 wxPyListCtrl * _arg0;
4304 PyObject * _argo0 = 0;
4305 char *_kwnames[] = { "self", NULL };
4306
4307 self = self;
4308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
4309 return NULL;
4310 if (_argo0) {
4311 if (_argo0 == Py_None) { _arg0 = NULL; }
4312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4314 return NULL;
4315 }
4316 }
cf694132 4317{
4268f798 4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4319 wxListCtrl_ClearAll(_arg0);
cf694132 4320
4268f798 4321 wxPyEndAllowThreads(__tstate);
493f1553 4322 if (PyErr_Occurred()) return NULL;
cf694132 4323} Py_INCREF(Py_None);
8ab979d7
RD
4324 _resultobj = Py_None;
4325 return _resultobj;
4326}
4327
c7e7022c
RD
4328#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4329static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4330 PyObject * _resultobj;
4331 wxTextCtrl * _result;
4332 wxPyListCtrl * _arg0;
4333 long _arg1;
4334 PyObject * _argo0 = 0;
4335 char *_kwnames[] = { "self","item", NULL };
4336
4337 self = self;
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4339 return NULL;
4340 if (_argo0) {
4341 if (_argo0 == Py_None) { _arg0 = NULL; }
4342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4344 return NULL;
4345 }
4346 }
4347{
4268f798 4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4349 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
c7e7022c 4350
4268f798 4351 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4352 if (PyErr_Occurred()) return NULL;
4353}{ _resultobj = wxPyMake_wxObject(_result); }
4354 return _resultobj;
4355}
4356
4357#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4358static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4359 PyObject * _resultobj;
4360 bool _result;
c7e7022c
RD
4361 wxPyListCtrl * _arg0;
4362 bool _arg1;
1d99702e 4363 PyObject * _argo0 = 0;
c7e7022c
RD
4364 int tempbool1;
4365 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
4366
4367 self = self;
c7e7022c 4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 4369 return NULL;
1d99702e
RD
4370 if (_argo0) {
4371 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4374 return NULL;
4375 }
4376 }
c7e7022c
RD
4377 _arg1 = (bool ) tempbool1;
4378{
4268f798 4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4380 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
c7e7022c 4381
4268f798 4382 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4383 if (PyErr_Occurred()) return NULL;
4384} _resultobj = Py_BuildValue("i",_result);
4385 return _resultobj;
4386}
4387
4388#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4389static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject * _resultobj;
4391 bool _result;
4392 wxPyListCtrl * _arg0;
4393 long _arg1;
4394 PyObject * _argo0 = 0;
4395 char *_kwnames[] = { "self","item", NULL };
4396
4397 self = self;
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4399 return NULL;
4400 if (_argo0) {
4401 if (_argo0 == Py_None) { _arg0 = NULL; }
4402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4404 return NULL;
4405 }
4406 }
cf694132 4407{
4268f798 4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4409 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4410
4268f798 4411 wxPyEndAllowThreads(__tstate);
493f1553 4412 if (PyErr_Occurred()) return NULL;
cf694132 4413} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4414 return _resultobj;
4415}
4416
c7e7022c
RD
4417#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4418static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4419 PyObject * _resultobj;
4420 long _result;
c7e7022c 4421 wxPyListCtrl * _arg0;
8ab979d7 4422 long _arg1;
c7e7022c
RD
4423 wxString * _arg2;
4424 bool _arg3 = (bool ) FALSE;
1d99702e 4425 PyObject * _argo0 = 0;
c7e7022c
RD
4426 PyObject * _obj2 = 0;
4427 int tempbool3 = (int) FALSE;
4428 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4429
4430 self = self;
c7e7022c 4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4432 return NULL;
1d99702e
RD
4433 if (_argo0) {
4434 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4437 return NULL;
4438 }
4439 }
4440{
c8bc7bb8
RD
4441 _arg2 = wxString_in_helper(_obj2);
4442 if (_arg2 == NULL)
8ab979d7 4443 return NULL;
8ab979d7 4444}
c7e7022c 4445 _arg3 = (bool ) tempbool3;
cf694132 4446{
4268f798 4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4448 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4449
4268f798 4450 wxPyEndAllowThreads(__tstate);
493f1553 4451 if (PyErr_Occurred()) return NULL;
cf694132 4452} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4453{
c7e7022c
RD
4454 if (_obj2)
4455 delete _arg2;
8ab979d7
RD
4456}
4457 return _resultobj;
4458}
4459
c7e7022c
RD
4460#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4461static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4462 PyObject * _resultobj;
c7e7022c
RD
4463 long _result;
4464 wxPyListCtrl * _arg0;
8ab979d7
RD
4465 long _arg1;
4466 long _arg2;
1d99702e 4467 PyObject * _argo0 = 0;
c7e7022c 4468 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4469
4470 self = self;
c7e7022c 4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4472 return NULL;
1d99702e
RD
4473 if (_argo0) {
4474 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4477 return NULL;
4478 }
4479 }
cf694132 4480{
4268f798 4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4482 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4483
4268f798 4484 wxPyEndAllowThreads(__tstate);
493f1553 4485 if (PyErr_Occurred()) return NULL;
c7e7022c 4486} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4487 return _resultobj;
4488}
4489
c7e7022c
RD
4490#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4491static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4492 PyObject * _resultobj;
c7e7022c
RD
4493 long _result;
4494 wxPyListCtrl * _arg0;
4495 long _arg1;
4496 wxPoint * _arg2;
4497 int _arg3;
4498 PyObject * _argo0 = 0;
4499 wxPoint temp;
4500 PyObject * _obj2 = 0;
4501 char *_kwnames[] = { "self","start","pt","direction", NULL };
4502
4503 self = self;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4505 return NULL;
4506 if (_argo0) {
4507 if (_argo0 == Py_None) { _arg0 = NULL; }
4508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4510 return NULL;
4511 }
4512 }
4513{
4514 _arg2 = &temp;
4515 if (! wxPoint_helper(_obj2, &_arg2))
4516 return NULL;
4517}
4518{
4268f798 4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4520 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
c7e7022c 4521
4268f798 4522 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4523 if (PyErr_Occurred()) return NULL;
4524} _resultobj = Py_BuildValue("l",_result);
4525 return _resultobj;
4526}
4527
4528#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4529static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject * _resultobj;
4531 long _result;
4532 wxPyListCtrl * _arg0;
4533 wxPoint * _arg1;
4534 int * _arg2;
4535 int temp;
4536 PyObject * _argo0 = 0;
4537 wxPoint temp0;
4538 PyObject * _obj1 = 0;
4539 char *_kwnames[] = { "self","point", NULL };
4540
4541 self = self;
4542{
4543 _arg2 = &temp;
4544}
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4546 return NULL;
4547 if (_argo0) {
4548 if (_argo0 == Py_None) { _arg0 = NULL; }
4549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4551 return NULL;
4552 }
4553 }
4554{
4555 _arg1 = &temp0;
4556 if (! wxPoint_helper(_obj1, &_arg1))
4557 return NULL;
4558}
4559{
4268f798 4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4561 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
c7e7022c 4562
4268f798 4563 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4564 if (PyErr_Occurred()) return NULL;
4565} _resultobj = Py_BuildValue("l",_result);
4566{
4567 PyObject *o;
4568 o = PyInt_FromLong((long) (*_arg2));
4569 _resultobj = t_output_helper(_resultobj, o);
4570}
4571 return _resultobj;
4572}
4573
4574#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4575static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject * _resultobj;
4577 long _result;
4578 wxPyListCtrl * _arg0;
4579 wxListItem * _arg1;
4580 PyObject * _argo0 = 0;
4581 PyObject * _argo1 = 0;
4582 char *_kwnames[] = { "self","info", NULL };
4583
4584 self = self;
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4586 return NULL;
4587 if (_argo0) {
4588 if (_argo0 == Py_None) { _arg0 = NULL; }
4589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4591 return NULL;
4592 }
4593 }
4594 if (_argo1) {
4595 if (_argo1 == Py_None) { _arg1 = NULL; }
4596 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4597 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4598 return NULL;
4599 }
4600 }
4601{
4268f798 4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4603 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
c7e7022c 4604
4268f798 4605 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4606 if (PyErr_Occurred()) return NULL;
4607} _resultobj = Py_BuildValue("l",_result);
4608 return _resultobj;
4609}
4610
4611#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4612static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4613 PyObject * _resultobj;
4614 long _result;
4615 wxPyListCtrl * _arg0;
4616 long _arg1;
4617 wxString * _arg2;
4618 PyObject * _argo0 = 0;
4619 PyObject * _obj2 = 0;
4620 char *_kwnames[] = { "self","index","label", NULL };
4621
4622 self = self;
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4624 return NULL;
4625 if (_argo0) {
4626 if (_argo0 == Py_None) { _arg0 = NULL; }
4627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4629 return NULL;
4630 }
4631 }
4632{
c8bc7bb8
RD
4633 _arg2 = wxString_in_helper(_obj2);
4634 if (_arg2 == NULL)
c7e7022c 4635 return NULL;
c7e7022c
RD
4636}
4637{
4268f798 4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4639 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
c7e7022c 4640
4268f798 4641 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4642 if (PyErr_Occurred()) return NULL;
4643} _resultobj = Py_BuildValue("l",_result);
4644{
4645 if (_obj2)
4646 delete _arg2;
4647}
4648 return _resultobj;
4649}
4650
4651#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4652static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject * _resultobj;
4654 long _result;
4655 wxPyListCtrl * _arg0;
8ab979d7
RD
4656 long _arg1;
4657 int _arg2;
1d99702e 4658 PyObject * _argo0 = 0;
c7e7022c 4659 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4660
4661 self = self;
c7e7022c 4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4663 return NULL;
1d99702e
RD
4664 if (_argo0) {
4665 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4668 return NULL;
4669 }
4670 }
cf694132 4671{
4268f798 4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4673 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4674
4268f798 4675 wxPyEndAllowThreads(__tstate);
493f1553 4676 if (PyErr_Occurred()) return NULL;
c7e7022c 4677} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4678 return _resultobj;
4679}
4680
c7e7022c
RD
4681#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4682static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4683 PyObject * _resultobj;
c7e7022c
RD
4684 long _result;
4685 wxPyListCtrl * _arg0;
8ab979d7 4686 long _arg1;
c7e7022c
RD
4687 wxString * _arg2;
4688 int _arg3;
1d99702e 4689 PyObject * _argo0 = 0;
2f90df85 4690 PyObject * _obj2 = 0;
c7e7022c 4691 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4692
4693 self = self;
c7e7022c 4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4695 return NULL;
1d99702e
RD
4696 if (_argo0) {
4697 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4700 return NULL;
4701 }
4702 }
2f90df85 4703{
c8bc7bb8
RD
4704 _arg2 = wxString_in_helper(_obj2);
4705 if (_arg2 == NULL)
8ab979d7 4706 return NULL;
2f90df85 4707}
cf694132 4708{
4268f798 4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4710 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4711
4268f798 4712 wxPyEndAllowThreads(__tstate);
493f1553 4713 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4714} _resultobj = Py_BuildValue("l",_result);
4715{
4716 if (_obj2)
4717 delete _arg2;
4718}
8ab979d7
RD
4719 return _resultobj;
4720}
4721
c7e7022c
RD
4722#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4723static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4724 PyObject * _resultobj;
c7e7022c
RD
4725 long _result;
4726 wxPyListCtrl * _arg0;
8ab979d7 4727 long _arg1;
c7e7022c 4728 wxListItem * _arg2;
1d99702e 4729 PyObject * _argo0 = 0;
c7e7022c
RD
4730 PyObject * _argo2 = 0;
4731 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4732
4733 self = self;
c7e7022c 4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4735 return NULL;
1d99702e
RD
4736 if (_argo0) {
4737 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4740 return NULL;
4741 }
4742 }
4743 if (_argo2) {
4744 if (_argo2 == Py_None) { _arg2 = NULL; }
4745 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4746 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4747 return NULL;
4748 }
4749 }
cf694132 4750{
4268f798 4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4752 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4753
4268f798 4754 wxPyEndAllowThreads(__tstate);
493f1553 4755 if (PyErr_Occurred()) return NULL;
c7e7022c 4756} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4757 return _resultobj;
4758}
4759
c7e7022c
RD
4760#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4761static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4762 PyObject * _resultobj;
c7e7022c
RD
4763 long _result;
4764 wxPyListCtrl * _arg0;
8ab979d7
RD
4765 long _arg1;
4766 wxString * _arg2;
c7e7022c
RD
4767 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4768 int _arg4 = (int ) -1;
1d99702e 4769 PyObject * _argo0 = 0;
8ab979d7 4770 PyObject * _obj2 = 0;
c7e7022c 4771 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4772
4773 self = self;
c7e7022c 4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4775 return NULL;
1d99702e
RD
4776 if (_argo0) {
4777 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4780 return NULL;
4781 }
4782 }
4783{
c8bc7bb8
RD
4784 _arg2 = wxString_in_helper(_obj2);
4785 if (_arg2 == NULL)
8ab979d7 4786 return NULL;
8ab979d7 4787}
cf694132 4788{
4268f798 4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4790 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4791
4268f798 4792 wxPyEndAllowThreads(__tstate);
493f1553 4793 if (PyErr_Occurred()) return NULL;
c7e7022c 4794} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4795{
4796 if (_obj2)
4797 delete _arg2;
4798}
4799 return _resultobj;
4800}
4801
c7e7022c
RD
4802#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4803static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4804 PyObject * _resultobj;
c7e7022c 4805 wxPyListCtrl * _arg0;
8ab979d7 4806 long _arg1;
1d99702e 4807 PyObject * _argo0 = 0;
c7e7022c 4808 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4809
4810 self = self;
c7e7022c 4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4812 return NULL;
1d99702e
RD
4813 if (_argo0) {
4814 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4817 return NULL;
4818 }
4819 }
cf694132 4820{
4268f798 4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4822 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4823
4268f798 4824 wxPyEndAllowThreads(__tstate);
493f1553 4825 if (PyErr_Occurred()) return NULL;
cf694132 4826} Py_INCREF(Py_None);
8ab979d7
RD
4827 _resultobj = Py_None;
4828 return _resultobj;
4829}
4830
c7e7022c
RD
4831#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4832static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4833 PyObject * _resultobj;
c7e7022c
RD
4834 bool _result;
4835 wxPyListCtrl * _arg0;
4836 int _arg1;
4837 int _arg2;
1d99702e 4838 PyObject * _argo0 = 0;
c7e7022c 4839 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4840
4841 self = self;
c7e7022c 4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4843 return NULL;
1d99702e
RD
4844 if (_argo0) {
4845 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4848 return NULL;
4849 }
4850 }
cf694132 4851{
4268f798 4852 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4853 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 4854
4268f798 4855 wxPyEndAllowThreads(__tstate);
493f1553 4856 if (PyErr_Occurred()) return NULL;
c7e7022c 4857} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4858 return _resultobj;
4859}
4860
3bd1e033
RD
4861#define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4862static PyObject *_wrap_wxListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4863 PyObject * _resultobj;
4864 wxPyListCtrl * _arg0;
4865 long _arg1;
4866 wxColour * _arg2;
4867 PyObject * _argo0 = 0;
4868 wxColour temp;
4869 PyObject * _obj2 = 0;
4870 char *_kwnames[] = { "self","item","col", NULL };
4871
4872 self = self;
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemTextColour",_kwnames,&_argo0,&_arg1,&_obj2))
4874 return NULL;
4875 if (_argo0) {
4876 if (_argo0 == Py_None) { _arg0 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4879 return NULL;
4880 }
4881 }
4882{
4883 _arg2 = &temp;
4884 if (! wxColour_helper(_obj2, &_arg2))
4885 return NULL;
4886}
4887{
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 wxListCtrl_SetItemTextColour(_arg0,_arg1,*_arg2);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) return NULL;
4893} Py_INCREF(Py_None);
4894 _resultobj = Py_None;
4895 return _resultobj;
4896}
4897
4898#define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4899static PyObject *_wrap_wxListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4900 PyObject * _resultobj;
4901 wxColour * _result;
4902 wxPyListCtrl * _arg0;
4903 long _arg1;
4904 PyObject * _argo0 = 0;
4905 char *_kwnames[] = { "self","item", NULL };
4906 char _ptemp[128];
4907
4908 self = self;
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemTextColour",_kwnames,&_argo0,&_arg1))
4910 return NULL;
4911 if (_argo0) {
4912 if (_argo0 == Py_None) { _arg0 = NULL; }
4913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4915 return NULL;
4916 }
4917 }
4918{
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 _result = new wxColour (wxListCtrl_GetItemTextColour(_arg0,_arg1));
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) return NULL;
4924} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4925 _resultobj = Py_BuildValue("s",_ptemp);
4926 return _resultobj;
4927}
4928
4929#define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4930static PyObject *_wrap_wxListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject * _resultobj;
4932 wxPyListCtrl * _arg0;
4933 long _arg1;
4934 wxColour * _arg2;
4935 PyObject * _argo0 = 0;
4936 wxColour temp;
4937 PyObject * _obj2 = 0;
4938 char *_kwnames[] = { "self","item","col", NULL };
4939
4940 self = self;
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_arg1,&_obj2))
4942 return NULL;
4943 if (_argo0) {
4944 if (_argo0 == Py_None) { _arg0 = NULL; }
4945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4947 return NULL;
4948 }
4949 }
4950{
4951 _arg2 = &temp;
4952 if (! wxColour_helper(_obj2, &_arg2))
4953 return NULL;
4954}
4955{
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 wxListCtrl_SetItemBackgroundColour(_arg0,_arg1,*_arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) return NULL;
4961} Py_INCREF(Py_None);
4962 _resultobj = Py_None;
4963 return _resultobj;
4964}
4965
4966#define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4967static PyObject *_wrap_wxListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject * _resultobj;
4969 wxColour * _result;
4970 wxPyListCtrl * _arg0;
4971 long _arg1;
4972 PyObject * _argo0 = 0;
4973 char *_kwnames[] = { "self","item", NULL };
4974 char _ptemp[128];
4975
4976 self = self;
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_arg1))
4978 return NULL;
4979 if (_argo0) {
4980 if (_argo0 == Py_None) { _arg0 = NULL; }
4981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4983 return NULL;
4984 }
4985 }
4986{
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 _result = new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0,_arg1));
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) return NULL;
4992} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4993 _resultobj = Py_BuildValue("s",_ptemp);
4994 return _resultobj;
4995}
4996
c7e7022c 4997static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
4998 if (!PyCallable_Check(func))
4999 return FALSE;
f6bcfd97 5000 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5001 }
5002static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5003 PyObject * _resultobj;
5004 bool _result;
c7e7022c 5005 wxPyListCtrl * _arg0;
dcd38683
RD
5006 PyObject * _arg1;
5007 PyObject * _argo0 = 0;
5008 PyObject * _obj1 = 0;
5009 char *_kwnames[] = { "self","func", NULL };
5010
5011 self = self;
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5013 return NULL;
5014 if (_argo0) {
5015 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5018 return NULL;
5019 }
5020 }
5021{
5022 _arg1 = _obj1;
5023}
5024{
4268f798 5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5026 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5027
4268f798 5028 wxPyEndAllowThreads(__tstate);
493f1553 5029 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5030} _resultobj = Py_BuildValue("i",_result);
5031 return _resultobj;
5032}
5033
6d19860f
RD
5034static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5035 wxListView *src;
5036 wxPyListCtrl *dest;
5037 src = (wxListView *) ptr;
5038 dest = (wxPyListCtrl *) src;
5039 return (void *) dest;
5040}
5041
5042static void *SwigwxListViewTowxControl(void *ptr) {
5043 wxListView *src;
5044 wxControl *dest;
5045 src = (wxListView *) ptr;
5046 dest = (wxControl *) src;
5047 return (void *) dest;
5048}
5049
5050static void *SwigwxListViewTowxWindow(void *ptr) {
5051 wxListView *src;
5052 wxWindow *dest;
5053 src = (wxListView *) ptr;
5054 dest = (wxWindow *) src;
5055 return (void *) dest;
5056}
5057
5058static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5059 wxListView *src;
5060 wxEvtHandler *dest;
5061 src = (wxListView *) ptr;
5062 dest = (wxEvtHandler *) src;
5063 return (void *) dest;
5064}
5065
5066static void *SwigwxListViewTowxObject(void *ptr) {
5067 wxListView *src;
5068 wxObject *dest;
5069 src = (wxListView *) ptr;
5070 dest = (wxObject *) src;
5071 return (void *) dest;
5072}
5073
5074#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5075static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject * _resultobj;
5077 wxListView * _result;
5078 wxWindow * _arg0;
5079 wxWindowID _arg1 = (wxWindowID ) -1;
5080 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5081 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5082 long _arg4 = (long ) (wxLC_REPORT);
5083 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 5084 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5085 PyObject * _argo0 = 0;
5086 wxPoint temp;
5087 PyObject * _obj2 = 0;
5088 wxSize temp0;
5089 PyObject * _obj3 = 0;
5090 PyObject * _argo5 = 0;
5091 PyObject * _obj6 = 0;
5092 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5093 char _ptemp[128];
5094
5095 self = self;
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5097 return NULL;
5098 if (_argo0) {
5099 if (_argo0 == Py_None) { _arg0 = NULL; }
5100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5102 return NULL;
5103 }
5104 }
5105 if (_obj2)
5106{
5107 _arg2 = &temp;
5108 if (! wxPoint_helper(_obj2, &_arg2))
5109 return NULL;
5110}
5111 if (_obj3)
5112{
5113 _arg3 = &temp0;
5114 if (! wxSize_helper(_obj3, &_arg3))
5115 return NULL;
5116}
5117 if (_argo5) {
5118 if (_argo5 == Py_None) { _arg5 = NULL; }
5119 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5120 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5121 return NULL;
5122 }
5123 }
5124 if (_obj6)
5125{
c8bc7bb8
RD
5126 _arg6 = wxString_in_helper(_obj6);
5127 if (_arg6 == NULL)
6d19860f 5128 return NULL;
6d19860f
RD
5129}
5130{
4268f798 5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5132 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
6d19860f 5133
4268f798 5134 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5135 if (PyErr_Occurred()) return NULL;
5136} if (_result) {
5137 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5138 _resultobj = Py_BuildValue("s",_ptemp);
5139 } else {
5140 Py_INCREF(Py_None);
5141 _resultobj = Py_None;
5142 }
5143{
5144 if (_obj6)
5145 delete _arg6;
5146}
5147 return _resultobj;
5148}
5149
5150#define new_wxPreListView() (new wxListView())
5151static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject * _resultobj;
5153 wxListView * _result;
5154 char *_kwnames[] = { NULL };
5155 char _ptemp[128];
5156
5157 self = self;
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5159 return NULL;
5160{
4268f798 5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5162 _result = (wxListView *)new_wxPreListView();
6d19860f 5163
4268f798 5164 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5165 if (PyErr_Occurred()) return NULL;
5166} if (_result) {
5167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5168 _resultobj = Py_BuildValue("s",_ptemp);
5169 } else {
5170 Py_INCREF(Py_None);
5171 _resultobj = Py_None;
5172 }
5173 return _resultobj;
5174}
5175
5176#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5177static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject * _resultobj;
5179 bool _result;
5180 wxListView * _arg0;
5181 wxWindow * _arg1;
5182 wxWindowID _arg2 = (wxWindowID ) -1;
5183 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5184 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5185 long _arg5 = (long ) (wxLC_REPORT);
5186 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 5187 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5188 PyObject * _argo0 = 0;
5189 PyObject * _argo1 = 0;
5190 wxPoint temp;
5191 PyObject * _obj3 = 0;
5192 wxSize temp0;
5193 PyObject * _obj4 = 0;
5194 PyObject * _argo6 = 0;
5195 PyObject * _obj7 = 0;
5196 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5197
5198 self = self;
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5200 return NULL;
5201 if (_argo0) {
5202 if (_argo0 == Py_None) { _arg0 = NULL; }
5203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5205 return NULL;
5206 }
5207 }
5208 if (_argo1) {
5209 if (_argo1 == Py_None) { _arg1 = NULL; }
5210 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5211 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5212 return NULL;
5213 }
5214 }
5215 if (_obj3)
5216{
5217 _arg3 = &temp;
5218 if (! wxPoint_helper(_obj3, &_arg3))
5219 return NULL;
5220}
5221 if (_obj4)
5222{
5223 _arg4 = &temp0;
5224 if (! wxSize_helper(_obj4, &_arg4))
5225 return NULL;
5226}
5227 if (_argo6) {
5228 if (_argo6 == Py_None) { _arg6 = NULL; }
5229 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5230 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5231 return NULL;
5232 }
5233 }
5234 if (_obj7)
5235{
c8bc7bb8
RD
5236 _arg7 = wxString_in_helper(_obj7);
5237 if (_arg7 == NULL)
6d19860f 5238 return NULL;
6d19860f
RD
5239}
5240{
4268f798 5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5242 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
6d19860f 5243
4268f798 5244 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5245 if (PyErr_Occurred()) return NULL;
5246} _resultobj = Py_BuildValue("i",_result);
5247{
5248 if (_obj7)
5249 delete _arg7;
5250}
5251 return _resultobj;
5252}
5253
5254#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5255static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject * _resultobj;
5257 wxListView * _arg0;
5258 long _arg1;
5259 bool _arg2 = (bool ) TRUE;
5260 PyObject * _argo0 = 0;
5261 int tempbool2 = (int) TRUE;
5262 char *_kwnames[] = { "self","n","on", NULL };
5263
5264 self = self;
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5266 return NULL;
5267 if (_argo0) {
5268 if (_argo0 == Py_None) { _arg0 = NULL; }
5269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5271 return NULL;
5272 }
5273 }
5274 _arg2 = (bool ) tempbool2;
5275{
4268f798 5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5277 wxListView_Select(_arg0,_arg1,_arg2);
6d19860f 5278
4268f798 5279 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5280 if (PyErr_Occurred()) return NULL;
5281} Py_INCREF(Py_None);
5282 _resultobj = Py_None;
5283 return _resultobj;
5284}
5285
5286#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5287static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject * _resultobj;
5289 wxListView * _arg0;
5290 long _arg1;
5291 PyObject * _argo0 = 0;
5292 char *_kwnames[] = { "self","index", NULL };
5293
5294 self = self;
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5296 return NULL;
5297 if (_argo0) {
5298 if (_argo0 == Py_None) { _arg0 = NULL; }
5299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5301 return NULL;
5302 }
5303 }
5304{
4268f798 5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5306 wxListView_Focus(_arg0,_arg1);
6d19860f 5307
4268f798 5308 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5309 if (PyErr_Occurred()) return NULL;
5310} Py_INCREF(Py_None);
5311 _resultobj = Py_None;
5312 return _resultobj;
5313}
5314
5315#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5316static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject * _resultobj;
5318 long _result;
5319 wxListView * _arg0;
5320 PyObject * _argo0 = 0;
5321 char *_kwnames[] = { "self", NULL };
5322
5323 self = self;
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5325 return NULL;
5326 if (_argo0) {
5327 if (_argo0 == Py_None) { _arg0 = NULL; }
5328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5330 return NULL;
5331 }
5332 }
5333{
4268f798 5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5335 _result = (long )wxListView_GetFocusedItem(_arg0);
6d19860f 5336
4268f798 5337 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5338 if (PyErr_Occurred()) return NULL;
5339} _resultobj = Py_BuildValue("l",_result);
5340 return _resultobj;
5341}
5342
5343#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5344static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject * _resultobj;
5346 long _result;
5347 wxListView * _arg0;
5348 long _arg1;
5349 PyObject * _argo0 = 0;
5350 char *_kwnames[] = { "self","item", NULL };
5351
5352 self = self;
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5354 return NULL;
5355 if (_argo0) {
5356 if (_argo0 == Py_None) { _arg0 = NULL; }
5357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5359 return NULL;
5360 }
5361 }
5362{
4268f798 5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5364 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
6d19860f 5365
4268f798 5366 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5367 if (PyErr_Occurred()) return NULL;
5368} _resultobj = Py_BuildValue("l",_result);
5369 return _resultobj;
5370}
5371
5372#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5373static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject * _resultobj;
5375 long _result;
5376 wxListView * _arg0;
5377 PyObject * _argo0 = 0;
5378 char *_kwnames[] = { "self", NULL };
5379
5380 self = self;
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5382 return NULL;
5383 if (_argo0) {
5384 if (_argo0 == Py_None) { _arg0 = NULL; }
5385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5387 return NULL;
5388 }
5389 }
5390{
4268f798 5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5392 _result = (long )wxListView_GetFirstSelected(_arg0);
6d19860f 5393
4268f798 5394 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5395 if (PyErr_Occurred()) return NULL;
5396} _resultobj = Py_BuildValue("l",_result);
5397 return _resultobj;
5398}
5399
5400#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5401static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5402 PyObject * _resultobj;
5403 bool _result;
5404 wxListView * _arg0;
5405 long _arg1;
5406 PyObject * _argo0 = 0;
5407 char *_kwnames[] = { "self","index", NULL };
5408
5409 self = self;
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5411 return NULL;
5412 if (_argo0) {
5413 if (_argo0 == Py_None) { _arg0 = NULL; }
5414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5416 return NULL;
5417 }
5418 }
5419{
4268f798 5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5421 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
6d19860f 5422
4268f798 5423 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5424 if (PyErr_Occurred()) return NULL;
5425} _resultobj = Py_BuildValue("i",_result);
5426 return _resultobj;
5427}
5428
5429#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5430static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject * _resultobj;
5432 wxListView * _arg0;
5433 int _arg1;
5434 int _arg2;
5435 PyObject * _argo0 = 0;
5436 char *_kwnames[] = { "self","col","image", NULL };
5437
5438 self = self;
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5440 return NULL;
5441 if (_argo0) {
5442 if (_argo0 == Py_None) { _arg0 = NULL; }
5443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5445 return NULL;
5446 }
5447 }
5448{
4268f798 5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5450 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
6d19860f 5451
4268f798 5452 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5453 if (PyErr_Occurred()) return NULL;
5454} Py_INCREF(Py_None);
5455 _resultobj = Py_None;
5456 return _resultobj;
5457}
5458
5459#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5460static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject * _resultobj;
5462 wxListView * _arg0;
5463 int _arg1;
5464 PyObject * _argo0 = 0;
5465 char *_kwnames[] = { "self","col", NULL };
5466
5467 self = self;
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5469 return NULL;
5470 if (_argo0) {
5471 if (_argo0 == Py_None) { _arg0 = NULL; }
5472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5474 return NULL;
5475 }
5476 }
5477{
4268f798 5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5479 wxListView_ClearColumnImage(_arg0,_arg1);
6d19860f 5480
4268f798 5481 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5482 if (PyErr_Occurred()) return NULL;
5483} Py_INCREF(Py_None);
5484 _resultobj = Py_None;
5485 return _resultobj;
5486}
5487
00b6c4e3
RD
5488#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5489static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject * _resultobj;
5491 wxTreeItemAttr * _result;
5492 wxColour * _arg0 = (wxColour *) &wxNullColour;
5493 wxColour * _arg1 = (wxColour *) &wxNullColour;
5494 wxFont * _arg2 = (wxFont *) &wxNullFont;
5495 wxColour temp;
5496 PyObject * _obj0 = 0;
5497 wxColour temp0;
5498 PyObject * _obj1 = 0;
5499 PyObject * _argo2 = 0;
5500 char *_kwnames[] = { "colText","colBack","font", NULL };
5501 char _ptemp[128];
5502
5503 self = self;
5504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5505 return NULL;
5506 if (_obj0)
5507{
5508 _arg0 = &temp;
5509 if (! wxColour_helper(_obj0, &_arg0))
5510 return NULL;
5511}
5512 if (_obj1)
5513{
5514 _arg1 = &temp0;
5515 if (! wxColour_helper(_obj1, &_arg1))
5516 return NULL;
5517}
5518 if (_argo2) {
5519 if (_argo2 == Py_None) { _arg2 = NULL; }
5520 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5521 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5522 return NULL;
5523 }
5524 }
5525{
4268f798 5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5527 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
00b6c4e3 5528
4268f798 5529 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5530 if (PyErr_Occurred()) return NULL;
5531} if (_result) {
5532 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5533 _resultobj = Py_BuildValue("s",_ptemp);
5534 } else {
5535 Py_INCREF(Py_None);
5536 _resultobj = Py_None;
5537 }
5538 return _resultobj;
5539}
5540
5541#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5542static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5543 PyObject * _resultobj;
5544 wxTreeItemAttr * _arg0;
5545 wxColour * _arg1;
5546 PyObject * _argo0 = 0;
5547 wxColour temp;
5548 PyObject * _obj1 = 0;
5549 char *_kwnames[] = { "self","colText", NULL };
5550
5551 self = self;
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5553 return NULL;
5554 if (_argo0) {
5555 if (_argo0 == Py_None) { _arg0 = NULL; }
5556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5558 return NULL;
5559 }
5560 }
5561{
5562 _arg1 = &temp;
5563 if (! wxColour_helper(_obj1, &_arg1))
5564 return NULL;
5565}
5566{
4268f798 5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5568 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
00b6c4e3 5569
4268f798 5570 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5571 if (PyErr_Occurred()) return NULL;
5572} Py_INCREF(Py_None);
5573 _resultobj = Py_None;
5574 return _resultobj;
5575}
5576
5577#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5578static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject * _resultobj;
5580 wxTreeItemAttr * _arg0;
5581 wxColour * _arg1;
5582 PyObject * _argo0 = 0;
5583 wxColour temp;
5584 PyObject * _obj1 = 0;
5585 char *_kwnames[] = { "self","colBack", NULL };
5586
5587 self = self;
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5589 return NULL;
5590 if (_argo0) {
5591 if (_argo0 == Py_None) { _arg0 = NULL; }
5592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5594 return NULL;
5595 }
5596 }
5597{
5598 _arg1 = &temp;
5599 if (! wxColour_helper(_obj1, &_arg1))
5600 return NULL;
5601}
5602{
4268f798 5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5604 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
00b6c4e3 5605
4268f798 5606 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5607 if (PyErr_Occurred()) return NULL;
5608} Py_INCREF(Py_None);
5609 _resultobj = Py_None;
5610 return _resultobj;
5611}
5612
5613#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5614static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject * _resultobj;
5616 wxTreeItemAttr * _arg0;
5617 wxFont * _arg1;
5618 PyObject * _argo0 = 0;
5619 PyObject * _argo1 = 0;
5620 char *_kwnames[] = { "self","font", NULL };
5621
5622 self = self;
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
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_SetFont. Expected _wxTreeItemAttr_p.");
5629 return NULL;
5630 }
5631 }
5632 if (_argo1) {
5633 if (_argo1 == Py_None) { _arg1 = NULL; }
5634 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5635 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5636 return NULL;
5637 }
5638 }
5639{
4268f798 5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5641 wxTreeItemAttr_SetFont(_arg0,*_arg1);
00b6c4e3 5642
4268f798 5643 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5644 if (PyErr_Occurred()) return NULL;
5645} Py_INCREF(Py_None);
5646 _resultobj = Py_None;
5647 return _resultobj;
5648}
5649
5650#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5651static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject * _resultobj;
5653 bool _result;
5654 wxTreeItemAttr * _arg0;
5655 PyObject * _argo0 = 0;
5656 char *_kwnames[] = { "self", NULL };
5657
5658 self = self;
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5660 return NULL;
5661 if (_argo0) {
5662 if (_argo0 == Py_None) { _arg0 = NULL; }
5663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5665 return NULL;
5666 }
5667 }
5668{
4268f798 5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5670 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
00b6c4e3 5671
4268f798 5672 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5673 if (PyErr_Occurred()) return NULL;
5674} _resultobj = Py_BuildValue("i",_result);
5675 return _resultobj;
5676}
5677
5678#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5679static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5680 PyObject * _resultobj;
5681 bool _result;
5682 wxTreeItemAttr * _arg0;
5683 PyObject * _argo0 = 0;
5684 char *_kwnames[] = { "self", NULL };
5685
5686 self = self;
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5688 return NULL;
5689 if (_argo0) {
5690 if (_argo0 == Py_None) { _arg0 = NULL; }
5691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5693 return NULL;
5694 }
5695 }
5696{
4268f798 5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5698 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
00b6c4e3 5699
4268f798 5700 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5701 if (PyErr_Occurred()) return NULL;
5702} _resultobj = Py_BuildValue("i",_result);
5703 return _resultobj;
5704}
5705
5706#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5707static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5708 PyObject * _resultobj;
5709 bool _result;
5710 wxTreeItemAttr * _arg0;
5711 PyObject * _argo0 = 0;
5712 char *_kwnames[] = { "self", NULL };
5713
5714 self = self;
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
5716 return NULL;
5717 if (_argo0) {
5718 if (_argo0 == Py_None) { _arg0 = NULL; }
5719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5721 return NULL;
5722 }
5723 }
5724{
4268f798 5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5726 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
00b6c4e3 5727
4268f798 5728 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5729 if (PyErr_Occurred()) return NULL;
5730} _resultobj = Py_BuildValue("i",_result);
5731 return _resultobj;
5732}
5733
5734#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5735static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject * _resultobj;
5737 wxColour * _result;
5738 wxTreeItemAttr * _arg0;
5739 PyObject * _argo0 = 0;
5740 char *_kwnames[] = { "self", NULL };
5741 char _ptemp[128];
5742
5743 self = self;
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
5745 return NULL;
5746 if (_argo0) {
5747 if (_argo0 == Py_None) { _arg0 = NULL; }
5748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5750 return NULL;
5751 }
5752 }
5753{
4268f798 5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5755 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
00b6c4e3 5756
4268f798 5757 wxPyEndAllowThreads(__tstate);
00b6c4e3 5758 if (PyErr_Occurred()) return NULL;
c5943253
RD
5759} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5760 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5761 return _resultobj;
5762}
5763
5764#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5765static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject * _resultobj;
5767 wxColour * _result;
5768 wxTreeItemAttr * _arg0;
5769 PyObject * _argo0 = 0;
5770 char *_kwnames[] = { "self", NULL };
5771 char _ptemp[128];
5772
5773 self = self;
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5775 return NULL;
5776 if (_argo0) {
5777 if (_argo0 == Py_None) { _arg0 = NULL; }
5778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5780 return NULL;
5781 }
5782 }
5783{
4268f798 5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5785 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
00b6c4e3 5786
4268f798 5787 wxPyEndAllowThreads(__tstate);
00b6c4e3 5788 if (PyErr_Occurred()) return NULL;
c5943253
RD
5789} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5790 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5791 return _resultobj;
5792}
5793
5794#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5795static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject * _resultobj;
5797 wxFont * _result;
5798 wxTreeItemAttr * _arg0;
5799 PyObject * _argo0 = 0;
5800 char *_kwnames[] = { "self", NULL };
5801 char _ptemp[128];
5802
5803 self = self;
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5805 return NULL;
5806 if (_argo0) {
5807 if (_argo0 == Py_None) { _arg0 = NULL; }
5808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5810 return NULL;
5811 }
5812 }
5813{
4268f798 5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5815 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
00b6c4e3 5816
4268f798 5817 wxPyEndAllowThreads(__tstate);
00b6c4e3 5818 if (PyErr_Occurred()) return NULL;
c5943253
RD
5819} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5820 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5821 return _resultobj;
5822}
5823
d5c9047a 5824#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 5825static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5826 PyObject * _resultobj;
d5c9047a 5827 wxTreeItemId * _result;
efc5f224 5828 char *_kwnames[] = { NULL };
d5c9047a 5829 char _ptemp[128];
8ab979d7
RD
5830
5831 self = self;
efc5f224 5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 5833 return NULL;
cf694132 5834{
4268f798 5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5836 _result = (wxTreeItemId *)new_wxTreeItemId();
cf694132 5837
4268f798 5838 wxPyEndAllowThreads(__tstate);
493f1553 5839 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5840} if (_result) {
5841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5842 _resultobj = Py_BuildValue("s",_ptemp);
5843 } else {
5844 Py_INCREF(Py_None);
5845 _resultobj = Py_None;
5846 }
8ab979d7
RD
5847 return _resultobj;
5848}
5849
d5c9047a 5850#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 5851static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5852 PyObject * _resultobj;
d5c9047a 5853 wxTreeItemId * _arg0;
1d99702e 5854 PyObject * _argo0 = 0;
efc5f224 5855 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5856
5857 self = self;
efc5f224 5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 5859 return NULL;
1d99702e
RD
5860 if (_argo0) {
5861 if (_argo0 == Py_None) { _arg0 = NULL; }
5862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
5864 return NULL;
5865 }
5866 }
cf694132 5867{
4268f798 5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5869 delete_wxTreeItemId(_arg0);
cf694132 5870
4268f798 5871 wxPyEndAllowThreads(__tstate);
493f1553 5872 if (PyErr_Occurred()) return NULL;
cf694132 5873} Py_INCREF(Py_None);
d5c9047a 5874 _resultobj = Py_None;
8ab979d7
RD
5875 return _resultobj;
5876}
5877
d5c9047a 5878#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 5879static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5880 PyObject * _resultobj;
d5c9047a
RD
5881 bool _result;
5882 wxTreeItemId * _arg0;
1d99702e 5883 PyObject * _argo0 = 0;
efc5f224 5884 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5885
5886 self = self;
efc5f224 5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 5888 return NULL;
1d99702e
RD
5889 if (_argo0) {
5890 if (_argo0 == Py_None) { _arg0 = NULL; }
5891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
5893 return NULL;
5894 }
5895 }
cf694132 5896{
4268f798 5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5898 _result = (bool )wxTreeItemId_IsOk(_arg0);
cf694132 5899
4268f798 5900 wxPyEndAllowThreads(__tstate);
493f1553 5901 if (PyErr_Occurred()) return NULL;
cf694132 5902} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5903 return _resultobj;
5904}
5905
f6bcfd97 5906static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 5907 if (! other) return -1;
f6bcfd97
BP
5908 return *self != *other;
5909 }
5910static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5911 PyObject * _resultobj;
5912 int _result;
5913 wxTreeItemId * _arg0;
5914 wxTreeItemId * _arg1;
5915 PyObject * _argo0 = 0;
5916 PyObject * _argo1 = 0;
5917 char *_kwnames[] = { "self","other", NULL };
5918
5919 self = self;
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5921 return NULL;
5922 if (_argo0) {
5923 if (_argo0 == Py_None) { _arg0 = NULL; }
5924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5926 return NULL;
5927 }
5928 }
5929 if (_argo1) {
5930 if (_argo1 == Py_None) { _arg1 = NULL; }
5931 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5932 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5933 return NULL;
5934 }
5935 }
5936{
4268f798 5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5938 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
f6bcfd97 5939
4268f798 5940 wxPyEndAllowThreads(__tstate);
493f1553 5941 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5942} _resultobj = Py_BuildValue("i",_result);
5943 return _resultobj;
5944}
5945
9416aa89
RD
5946static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
5947 wxPyTreeItemData *src;
5948 wxObject *dest;
5949 src = (wxPyTreeItemData *) ptr;
5950 dest = (wxObject *) src;
5951 return (void *) dest;
5952}
5953
cf694132 5954#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 5955static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5956 PyObject * _resultobj;
cf694132 5957 wxPyTreeItemData * _result;
1d99702e 5958 PyObject * _arg0 = (PyObject *) NULL;
cf694132 5959 PyObject * _obj0 = 0;
efc5f224 5960 char *_kwnames[] = { "obj", NULL };
d5c9047a 5961 char _ptemp[128];
8ab979d7
RD
5962
5963 self = self;
efc5f224 5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 5965 return NULL;
cf694132
RD
5966 if (_obj0)
5967{
5968 _arg0 = _obj0;
5969}
5970{
4268f798 5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5972 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
cf694132 5973
4268f798 5974 wxPyEndAllowThreads(__tstate);
493f1553 5975 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5976} if (_result) {
5977 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
5978 _resultobj = Py_BuildValue("s",_ptemp);
5979 } else {
5980 Py_INCREF(Py_None);
5981 _resultobj = Py_None;
5982 }
8ab979d7
RD
5983 return _resultobj;
5984}
5985
cf694132 5986#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 5987static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
5988 PyObject * _resultobj;
5989 PyObject * _result;
5990 wxPyTreeItemData * _arg0;
1d99702e 5991 PyObject * _argo0 = 0;
efc5f224 5992 char *_kwnames[] = { "self", NULL };
cf694132
RD
5993
5994 self = self;
efc5f224 5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 5996 return NULL;
1d99702e
RD
5997 if (_argo0) {
5998 if (_argo0 == Py_None) { _arg0 = NULL; }
5999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
6000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6001 return NULL;
6002 }
6003 }
6004{
4268f798 6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6006 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
cf694132 6007
4268f798 6008 wxPyEndAllowThreads(__tstate);
493f1553 6009 if (PyErr_Occurred()) return NULL;
cf694132
RD
6010}{
6011 _resultobj = _result;
6012}
6013 return _resultobj;
6014}
6015
6016#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 6017static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6018 PyObject * _resultobj;
cf694132
RD
6019 wxPyTreeItemData * _arg0;
6020 PyObject * _arg1;
1d99702e 6021 PyObject * _argo0 = 0;
cf694132 6022 PyObject * _obj1 = 0;
efc5f224 6023 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
6024
6025 self = self;
efc5f224 6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 6027 return NULL;
1d99702e
RD
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6032 return NULL;
6033 }
6034 }
cf694132
RD
6035{
6036 _arg1 = _obj1;
6037}
6038{
4268f798 6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6040 wxTreeItemData_SetData(_arg0,_arg1);
cf694132 6041
4268f798 6042 wxPyEndAllowThreads(__tstate);
493f1553 6043 if (PyErr_Occurred()) return NULL;
cf694132 6044} Py_INCREF(Py_None);
d5c9047a 6045 _resultobj = Py_None;
8ab979d7
RD
6046 return _resultobj;
6047}
6048
630d84f2 6049#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 6050static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6051 PyObject * _resultobj;
d5c9047a 6052 wxTreeItemId * _result;
cf694132 6053 wxPyTreeItemData * _arg0;
1d99702e 6054 PyObject * _argo0 = 0;
efc5f224 6055 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6056 char _ptemp[128];
6057
6058 self = self;
efc5f224 6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 6060 return NULL;
1d99702e
RD
6061 if (_argo0) {
6062 if (_argo0 == Py_None) { _arg0 = NULL; }
6063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6065 return NULL;
6066 }
6067 }
cf694132 6068{
4268f798 6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6070 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 6071 _result = (wxTreeItemId *) &_result_ref;
cf694132 6072
4268f798 6073 wxPyEndAllowThreads(__tstate);
493f1553 6074 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6075} if (_result) {
6076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6077 _resultobj = Py_BuildValue("s",_ptemp);
6078 } else {
6079 Py_INCREF(Py_None);
6080 _resultobj = Py_None;
6081 }
8ab979d7
RD
6082 return _resultobj;
6083}
6084
630d84f2 6085#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 6086static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 6087 PyObject * _resultobj;
cf694132 6088 wxPyTreeItemData * _arg0;
630d84f2 6089 wxTreeItemId * _arg1;
1d99702e
RD
6090 PyObject * _argo0 = 0;
6091 PyObject * _argo1 = 0;
efc5f224 6092 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6093
6094 self = self;
efc5f224 6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6096 return NULL;
1d99702e
RD
6097 if (_argo0) {
6098 if (_argo0 == Py_None) { _arg0 = NULL; }
6099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6101 return NULL;
6102 }
6103 }
1d99702e
RD
6104 if (_argo1) {
6105 if (_argo1 == Py_None) { _arg1 = NULL; }
6106 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6108 return NULL;
6109 }
6110 }
cf694132 6111{
4268f798 6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6113 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6114
4268f798 6115 wxPyEndAllowThreads(__tstate);
493f1553 6116 if (PyErr_Occurred()) return NULL;
cf694132 6117} Py_INCREF(Py_None);
630d84f2
RD
6118 _resultobj = Py_None;
6119 return _resultobj;
6120}
6121
8bf5d46e
RD
6122static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6123 wxTreeEvent *src;
6124 wxNotifyEvent *dest;
6125 src = (wxTreeEvent *) ptr;
6126 dest = (wxNotifyEvent *) src;
6127 return (void *) dest;
6128}
6129
8ab979d7
RD
6130static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6131 wxTreeEvent *src;
6132 wxCommandEvent *dest;
6133 src = (wxTreeEvent *) ptr;
6134 dest = (wxCommandEvent *) src;
6135 return (void *) dest;
6136}
6137
6138static void *SwigwxTreeEventTowxEvent(void *ptr) {
6139 wxTreeEvent *src;
6140 wxEvent *dest;
6141 src = (wxTreeEvent *) ptr;
6142 dest = (wxEvent *) src;
6143 return (void *) dest;
6144}
6145
9416aa89
RD
6146static void *SwigwxTreeEventTowxObject(void *ptr) {
6147 wxTreeEvent *src;
6148 wxObject *dest;
6149 src = (wxTreeEvent *) ptr;
6150 dest = (wxObject *) src;
6151 return (void *) dest;
6152}
6153
00b6c4e3
RD
6154#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6155static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject * _resultobj;
6157 wxTreeEvent * _result;
6158 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6159 int _arg1 = (int ) 0;
6160 char *_kwnames[] = { "commandType","id", NULL };
6161 char _ptemp[128];
6162
6163 self = self;
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6165 return NULL;
6166{
4268f798 6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6168 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
00b6c4e3 6169
4268f798 6170 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6171 if (PyErr_Occurred()) return NULL;
6172} if (_result) {
6173 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6174 _resultobj = Py_BuildValue("s",_ptemp);
6175 } else {
6176 Py_INCREF(Py_None);
6177 _resultobj = Py_None;
6178 }
6179 return _resultobj;
6180}
6181
d5c9047a 6182#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6183static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6184 PyObject * _resultobj;
d5c9047a 6185 wxTreeItemId * _result;
8ab979d7 6186 wxTreeEvent * _arg0;
1d99702e 6187 PyObject * _argo0 = 0;
efc5f224 6188 char *_kwnames[] = { "self", NULL };
d5c9047a 6189 char _ptemp[128];
8ab979d7
RD
6190
6191 self = self;
efc5f224 6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6193 return NULL;
1d99702e
RD
6194 if (_argo0) {
6195 if (_argo0 == Py_None) { _arg0 = NULL; }
6196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6198 return NULL;
6199 }
6200 }
cf694132 6201{
4268f798 6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6203 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6204
4268f798 6205 wxPyEndAllowThreads(__tstate);
493f1553 6206 if (PyErr_Occurred()) return NULL;
cf694132 6207} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6208 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6209 return _resultobj;
6210}
6211
d5c9047a 6212#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6213static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6214 PyObject * _resultobj;
d5c9047a 6215 wxTreeItemId * _result;
8ab979d7 6216 wxTreeEvent * _arg0;
1d99702e 6217 PyObject * _argo0 = 0;
efc5f224 6218 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6219 char _ptemp[128];
6220
6221 self = self;
efc5f224 6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6223 return NULL;
1d99702e
RD
6224 if (_argo0) {
6225 if (_argo0 == Py_None) { _arg0 = NULL; }
6226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6228 return NULL;
6229 }
6230 }
cf694132 6231{
4268f798 6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6233 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6234
4268f798 6235 wxPyEndAllowThreads(__tstate);
493f1553 6236 if (PyErr_Occurred()) return NULL;
cf694132 6237} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6238 _resultobj = Py_BuildValue("s",_ptemp);
6239 return _resultobj;
6240}
6241
d5c9047a 6242#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6243static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6244 PyObject * _resultobj;
d5c9047a 6245 wxPoint * _result;
8ab979d7 6246 wxTreeEvent * _arg0;
1d99702e 6247 PyObject * _argo0 = 0;
efc5f224 6248 char *_kwnames[] = { "self", NULL };
d5c9047a 6249 char _ptemp[128];
8ab979d7
RD
6250
6251 self = self;
efc5f224 6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6253 return NULL;
1d99702e
RD
6254 if (_argo0) {
6255 if (_argo0 == Py_None) { _arg0 = NULL; }
6256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6258 return NULL;
6259 }
6260 }
cf694132 6261{
4268f798 6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6263 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6264
4268f798 6265 wxPyEndAllowThreads(__tstate);
493f1553 6266 if (PyErr_Occurred()) return NULL;
cf694132 6267} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6268 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6269 return _resultobj;
6270}
6271
ecc08ead
RD
6272#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6273static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject * _resultobj;
6275 wxKeyEvent * _result;
6276 wxTreeEvent * _arg0;
6277 PyObject * _argo0 = 0;
6278 char *_kwnames[] = { "self", NULL };
6279 char _ptemp[128];
6280
6281 self = self;
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6283 return NULL;
6284 if (_argo0) {
6285 if (_argo0 == Py_None) { _arg0 = NULL; }
6286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6288 return NULL;
6289 }
6290 }
6291{
4268f798 6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6293 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
ecc08ead
RD
6294 _result = (wxKeyEvent *) &_result_ref;
6295
4268f798 6296 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6297 if (PyErr_Occurred()) return NULL;
6298} if (_result) {
6299 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6300 _resultobj = Py_BuildValue("s",_ptemp);
6301 } else {
6302 Py_INCREF(Py_None);
6303 _resultobj = Py_None;
6304 }
6305 return _resultobj;
6306}
6307
d5c9047a 6308#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6309static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6310 PyObject * _resultobj;
d5c9047a 6311 int _result;
8ab979d7 6312 wxTreeEvent * _arg0;
1d99702e 6313 PyObject * _argo0 = 0;
efc5f224 6314 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6315
6316 self = self;
efc5f224 6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6318 return NULL;
1d99702e
RD
6319 if (_argo0) {
6320 if (_argo0 == Py_None) { _arg0 = NULL; }
6321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6323 return NULL;
6324 }
6325 }
cf694132 6326{
4268f798 6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6328 _result = (int )wxTreeEvent_GetCode(_arg0);
cf694132 6329
4268f798 6330 wxPyEndAllowThreads(__tstate);
493f1553 6331 if (PyErr_Occurred()) return NULL;
cf694132 6332} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6333 return _resultobj;
6334}
6335
8bf5d46e 6336#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6337static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6338 PyObject * _resultobj;
8bf5d46e 6339 wxString * _result;
d5c9047a 6340 wxTreeEvent * _arg0;
1d99702e 6341 PyObject * _argo0 = 0;
efc5f224 6342 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6343
6344 self = self;
efc5f224 6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6346 return NULL;
1d99702e
RD
6347 if (_argo0) {
6348 if (_argo0 == Py_None) { _arg0 = NULL; }
6349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6351 return NULL;
6352 }
6353 }
cf694132 6354{
4268f798 6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6356 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6357 _result = (wxString *) &_result_ref;
cf694132 6358
4268f798 6359 wxPyEndAllowThreads(__tstate);
493f1553 6360 if (PyErr_Occurred()) return NULL;
8bf5d46e 6361}{
c8bc7bb8
RD
6362#if wxUSE_UNICODE
6363 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6364#else
eec92d76 6365 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6366#endif
8bf5d46e 6367}
8ab979d7
RD
6368 return _resultobj;
6369}
6370
f6bcfd97
BP
6371static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6372 wxPyTreeCtrl *src;
8ab979d7 6373 wxControl *dest;
f6bcfd97 6374 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6375 dest = (wxControl *) src;
6376 return (void *) dest;
6377}
6378
f6bcfd97
BP
6379static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6380 wxPyTreeCtrl *src;
8ab979d7 6381 wxWindow *dest;
f6bcfd97 6382 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6383 dest = (wxWindow *) src;
6384 return (void *) dest;
6385}
6386
f6bcfd97
BP
6387static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6388 wxPyTreeCtrl *src;
8ab979d7 6389 wxEvtHandler *dest;
f6bcfd97 6390 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6391 dest = (wxEvtHandler *) src;
6392 return (void *) dest;
6393}
6394
9416aa89
RD
6395static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6396 wxPyTreeCtrl *src;
6397 wxObject *dest;
6398 src = (wxPyTreeCtrl *) ptr;
6399 dest = (wxObject *) src;
6400 return (void *) dest;
6401}
6402
f6bcfd97 6403#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6404static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6405 PyObject * _resultobj;
f6bcfd97 6406 wxPyTreeCtrl * _result;
8ab979d7 6407 wxWindow * _arg0;
1d99702e 6408 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6409 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6410 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
00b6c4e3 6411 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
e508a2b6 6412 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 6413 wxString * _arg6 = (wxString *) &wxPy_TreeCtrlNameStr;
1d99702e 6414 PyObject * _argo0 = 0;
2f90df85
RD
6415 wxPoint temp;
6416 PyObject * _obj2 = 0;
6417 wxSize temp0;
6418 PyObject * _obj3 = 0;
1d99702e 6419 PyObject * _argo5 = 0;
137b5242 6420 PyObject * _obj6 = 0;
efc5f224 6421 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6422 char _ptemp[128];
6423
6424 self = self;
137b5242 6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 6426 return NULL;
1d99702e
RD
6427 if (_argo0) {
6428 if (_argo0 == Py_None) { _arg0 = NULL; }
6429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6431 return NULL;
6432 }
6433 }
2f90df85
RD
6434 if (_obj2)
6435{
6436 _arg2 = &temp;
6437 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6438 return NULL;
2f90df85
RD
6439}
6440 if (_obj3)
6441{
6442 _arg3 = &temp0;
6443 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6444 return NULL;
2f90df85 6445}
1d99702e
RD
6446 if (_argo5) {
6447 if (_argo5 == Py_None) { _arg5 = NULL; }
6448 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6449 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6450 return NULL;
6451 }
6452 }
137b5242
RD
6453 if (_obj6)
6454{
6455 _arg6 = wxString_in_helper(_obj6);
6456 if (_arg6 == NULL)
6457 return NULL;
6458}
cf694132 6459{
4268f798 6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6461 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 6462
4268f798 6463 wxPyEndAllowThreads(__tstate);
493f1553 6464 if (PyErr_Occurred()) return NULL;
1d99702e 6465} if (_result) {
f6bcfd97 6466 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6467 _resultobj = Py_BuildValue("s",_ptemp);
6468 } else {
6469 Py_INCREF(Py_None);
6470 _resultobj = Py_None;
6471 }
137b5242
RD
6472{
6473 if (_obj6)
6474 delete _arg6;
6475}
8ab979d7
RD
6476 return _resultobj;
6477}
6478
09f3d4e6
RD
6479#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6480static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject * _resultobj;
6482 wxPyTreeCtrl * _result;
6483 char *_kwnames[] = { NULL };
6484 char _ptemp[128];
6485
6486 self = self;
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6488 return NULL;
6489{
4268f798 6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6491 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
09f3d4e6 6492
4268f798 6493 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6494 if (PyErr_Occurred()) return NULL;
6495} if (_result) {
6496 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6497 _resultobj = Py_BuildValue("s",_ptemp);
6498 } else {
6499 Py_INCREF(Py_None);
6500 _resultobj = Py_None;
6501 }
6502 return _resultobj;
6503}
6504
6505#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6506static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject * _resultobj;
6508 bool _result;
6509 wxPyTreeCtrl * _arg0;
6510 wxWindow * _arg1;
6511 wxWindowID _arg2 = (wxWindowID ) -1;
6512 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6513 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6514 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6515 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 6516 wxString * _arg7 = (wxString *) &wxPy_TreeCtrlNameStr;
09f3d4e6
RD
6517 PyObject * _argo0 = 0;
6518 PyObject * _argo1 = 0;
6519 wxPoint temp;
6520 PyObject * _obj3 = 0;
6521 wxSize temp0;
6522 PyObject * _obj4 = 0;
6523 PyObject * _argo6 = 0;
137b5242 6524 PyObject * _obj7 = 0;
09f3d4e6
RD
6525 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6526
6527 self = self;
137b5242 6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
6529 return NULL;
6530 if (_argo0) {
6531 if (_argo0 == Py_None) { _arg0 = NULL; }
6532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6534 return NULL;
6535 }
6536 }
6537 if (_argo1) {
6538 if (_argo1 == Py_None) { _arg1 = NULL; }
6539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6541 return NULL;
6542 }
6543 }
6544 if (_obj3)
6545{
6546 _arg3 = &temp;
6547 if (! wxPoint_helper(_obj3, &_arg3))
6548 return NULL;
6549}
6550 if (_obj4)
6551{
6552 _arg4 = &temp0;
6553 if (! wxSize_helper(_obj4, &_arg4))
6554 return NULL;
6555}
6556 if (_argo6) {
6557 if (_argo6 == Py_None) { _arg6 = NULL; }
6558 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6559 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6560 return NULL;
6561 }
6562 }
137b5242
RD
6563 if (_obj7)
6564{
6565 _arg7 = wxString_in_helper(_obj7);
6566 if (_arg7 == NULL)
6567 return NULL;
6568}
09f3d4e6 6569{
4268f798 6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6571 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 6572
4268f798 6573 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6574 if (PyErr_Occurred()) return NULL;
6575} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6576{
6577 if (_obj7)
6578 delete _arg7;
6579}
09f3d4e6
RD
6580 return _resultobj;
6581}
6582
0122b7e3
RD
6583#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6584static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6585 PyObject * _resultobj;
6586 wxPyTreeCtrl * _arg0;
6587 PyObject * _arg1;
6588 PyObject * _arg2;
6589 PyObject * _argo0 = 0;
6590 PyObject * _obj1 = 0;
6591 PyObject * _obj2 = 0;
6592 char *_kwnames[] = { "self","self","_class", NULL };
6593
6594 self = self;
0122b7e3 6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
6596 return NULL;
6597 if (_argo0) {
6598 if (_argo0 == Py_None) { _arg0 = NULL; }
6599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0122b7e3 6600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
f6bcfd97
BP
6601 return NULL;
6602 }
6603 }
6604{
6605 _arg1 = _obj1;
6606}
6607{
6608 _arg2 = _obj2;
6609}
6610{
4268f798 6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6612 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 6613
4268f798 6614 wxPyEndAllowThreads(__tstate);
493f1553 6615 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6616} Py_INCREF(Py_None);
6617 _resultobj = Py_None;
6618 return _resultobj;
6619}
6620
d5c9047a 6621#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6622static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6623 PyObject * _resultobj;
c127177f 6624 size_t _result;
f6bcfd97 6625 wxPyTreeCtrl * _arg0;
1d99702e 6626 PyObject * _argo0 = 0;
efc5f224 6627 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6628
6629 self = self;
efc5f224 6630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6631 return NULL;
1d99702e
RD
6632 if (_argo0) {
6633 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6636 return NULL;
6637 }
6638 }
cf694132 6639{
4268f798 6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6641 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6642
4268f798 6643 wxPyEndAllowThreads(__tstate);
493f1553 6644 if (PyErr_Occurred()) return NULL;
c127177f 6645} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6646 return _resultobj;
6647}
6648
d5c9047a 6649#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6650static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6651 PyObject * _resultobj;
d5c9047a 6652 unsigned int _result;
f6bcfd97 6653 wxPyTreeCtrl * _arg0;
1d99702e 6654 PyObject * _argo0 = 0;
efc5f224 6655 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6656
6657 self = self;
efc5f224 6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6659 return NULL;
1d99702e
RD
6660 if (_argo0) {
6661 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6664 return NULL;
6665 }
6666 }
cf694132 6667{
4268f798 6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6669 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6670
4268f798 6671 wxPyEndAllowThreads(__tstate);
493f1553 6672 if (PyErr_Occurred()) return NULL;
cf694132 6673} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6674 return _resultobj;
6675}
6676
d5c9047a 6677#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6678static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6679 PyObject * _resultobj;
f6bcfd97 6680 wxPyTreeCtrl * _arg0;
d5c9047a 6681 unsigned int _arg1;
1d99702e 6682 PyObject * _argo0 = 0;
efc5f224 6683 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6684
6685 self = self;
efc5f224 6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6687 return NULL;
1d99702e
RD
6688 if (_argo0) {
6689 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6692 return NULL;
6693 }
6694 }
cf694132 6695{
4268f798 6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6697 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6698
4268f798 6699 wxPyEndAllowThreads(__tstate);
493f1553 6700 if (PyErr_Occurred()) return NULL;
cf694132 6701} Py_INCREF(Py_None);
d5c9047a 6702 _resultobj = Py_None;
8ab979d7
RD
6703 return _resultobj;
6704}
6705
d5c9047a 6706#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6707static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6708 PyObject * _resultobj;
d5c9047a 6709 wxImageList * _result;
f6bcfd97 6710 wxPyTreeCtrl * _arg0;
1d99702e 6711 PyObject * _argo0 = 0;
efc5f224 6712 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6713
6714 self = self;
efc5f224 6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6716 return NULL;
1d99702e
RD
6717 if (_argo0) {
6718 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6721 return NULL;
6722 }
6723 }
cf694132 6724{
4268f798 6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6726 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6727
4268f798 6728 wxPyEndAllowThreads(__tstate);
493f1553 6729 if (PyErr_Occurred()) return NULL;
9416aa89 6730}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6731 return _resultobj;
6732}
6733
d5c9047a 6734#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6735static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6736 PyObject * _resultobj;
d5c9047a 6737 wxImageList * _result;
f6bcfd97 6738 wxPyTreeCtrl * _arg0;
1d99702e 6739 PyObject * _argo0 = 0;
efc5f224 6740 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6741
6742 self = self;
efc5f224 6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6744 return NULL;
1d99702e
RD
6745 if (_argo0) {
6746 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6749 return NULL;
6750 }
6751 }
cf694132 6752{
4268f798 6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6754 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6755
4268f798 6756 wxPyEndAllowThreads(__tstate);
493f1553 6757 if (PyErr_Occurred()) return NULL;
9416aa89 6758}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6759 return _resultobj;
6760}
6761
d5c9047a 6762#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6763static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6764 PyObject * _resultobj;
f6bcfd97 6765 wxPyTreeCtrl * _arg0;
d5c9047a 6766 wxImageList * _arg1;
1d99702e
RD
6767 PyObject * _argo0 = 0;
6768 PyObject * _argo1 = 0;
efc5f224 6769 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6770
6771 self = self;
efc5f224 6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6773 return NULL;
1d99702e
RD
6774 if (_argo0) {
6775 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6778 return NULL;
6779 }
6780 }
1d99702e
RD
6781 if (_argo1) {
6782 if (_argo1 == Py_None) { _arg1 = NULL; }
6783 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6784 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6785 return NULL;
6786 }
6787 }
cf694132 6788{
4268f798 6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6790 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 6791
4268f798 6792 wxPyEndAllowThreads(__tstate);
493f1553 6793 if (PyErr_Occurred()) return NULL;
cf694132 6794} Py_INCREF(Py_None);
d5c9047a 6795 _resultobj = Py_None;
8ab979d7
RD
6796 return _resultobj;
6797}
6798
d5c9047a 6799#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6800static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6801 PyObject * _resultobj;
f6bcfd97 6802 wxPyTreeCtrl * _arg0;
d5c9047a 6803 wxImageList * _arg1;
1d99702e
RD
6804 PyObject * _argo0 = 0;
6805 PyObject * _argo1 = 0;
efc5f224 6806 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6807
6808 self = self;
efc5f224 6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6810 return NULL;
1d99702e
RD
6811 if (_argo0) {
6812 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6815 return NULL;
6816 }
6817 }
1d99702e
RD
6818 if (_argo1) {
6819 if (_argo1 == Py_None) { _arg1 = NULL; }
6820 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6822 return NULL;
6823 }
6824 }
cf694132 6825{
4268f798 6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6827 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 6828
4268f798 6829 wxPyEndAllowThreads(__tstate);
493f1553 6830 if (PyErr_Occurred()) return NULL;
cf694132 6831} Py_INCREF(Py_None);
d5c9047a 6832 _resultobj = Py_None;
8ab979d7
RD
6833 return _resultobj;
6834}
6835
00b6c4e3
RD
6836#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6837static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject * _resultobj;
6839 wxPyTreeCtrl * _arg0;
6840 wxImageList * _arg1;
6841 PyObject * _argo0 = 0;
6842 PyObject * _argo1 = 0;
6843 char *_kwnames[] = { "self","imageList", NULL };
6844
6845 self = self;
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6847 return NULL;
6848 if (_argo0) {
6849 if (_argo0 == Py_None) { _arg0 = NULL; }
6850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6852 return NULL;
6853 }
6854 }
6855 if (_argo1) {
6856 if (_argo1 == Py_None) { _arg1 = NULL; }
6857 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6858 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6859 return NULL;
6860 }
6861 }
6862{
4268f798 6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6864 wxTreeCtrl_AssignImageList(_arg0,_arg1);
00b6c4e3 6865
4268f798 6866 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6867 if (PyErr_Occurred()) return NULL;
6868} Py_INCREF(Py_None);
6869 _resultobj = Py_None;
6870 return _resultobj;
6871}
6872
6873#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6874static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6875 PyObject * _resultobj;
6876 wxPyTreeCtrl * _arg0;
6877 wxImageList * _arg1;
6878 PyObject * _argo0 = 0;
6879 PyObject * _argo1 = 0;
6880 char *_kwnames[] = { "self","imageList", NULL };
6881
6882 self = self;
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6884 return NULL;
6885 if (_argo0) {
6886 if (_argo0 == Py_None) { _arg0 = NULL; }
6887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6889 return NULL;
6890 }
6891 }
6892 if (_argo1) {
6893 if (_argo1 == Py_None) { _arg1 = NULL; }
6894 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6895 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6896 return NULL;
6897 }
6898 }
6899{
4268f798 6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6901 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
00b6c4e3 6902
4268f798 6903 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6904 if (PyErr_Occurred()) return NULL;
6905} Py_INCREF(Py_None);
6906 _resultobj = Py_None;
6907 return _resultobj;
6908}
6909
b1462dfa
RD
6910#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6911static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject * _resultobj;
6913 unsigned int _result;
f6bcfd97 6914 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6915 PyObject * _argo0 = 0;
6916 char *_kwnames[] = { "self", NULL };
6917
6918 self = self;
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
6920 return NULL;
6921 if (_argo0) {
6922 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6925 return NULL;
6926 }
6927 }
6928{
4268f798 6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6930 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 6931
4268f798 6932 wxPyEndAllowThreads(__tstate);
493f1553 6933 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6934} _resultobj = Py_BuildValue("i",_result);
6935 return _resultobj;
6936}
6937
6938#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6939static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject * _resultobj;
f6bcfd97 6941 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6942 unsigned int _arg1;
6943 PyObject * _argo0 = 0;
6944 char *_kwnames[] = { "self","spacing", NULL };
6945
6946 self = self;
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
6948 return NULL;
6949 if (_argo0) {
6950 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6953 return NULL;
6954 }
6955 }
6956{
4268f798 6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6958 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 6959
4268f798 6960 wxPyEndAllowThreads(__tstate);
493f1553 6961 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6962} Py_INCREF(Py_None);
6963 _resultobj = Py_None;
6964 return _resultobj;
6965}
6966
d5c9047a 6967#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 6968static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6969 PyObject * _resultobj;
d5c9047a 6970 wxString * _result;
f6bcfd97 6971 wxPyTreeCtrl * _arg0;
d5c9047a 6972 wxTreeItemId * _arg1;
1d99702e
RD
6973 PyObject * _argo0 = 0;
6974 PyObject * _argo1 = 0;
efc5f224 6975 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6976
6977 self = self;
efc5f224 6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 6979 return NULL;
1d99702e
RD
6980 if (_argo0) {
6981 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6984 return NULL;
6985 }
6986 }
1d99702e
RD
6987 if (_argo1) {
6988 if (_argo1 == Py_None) { _arg1 = NULL; }
6989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6991 return NULL;
6992 }
6993 }
d5c9047a 6994{
4268f798 6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6996 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 6997
4268f798 6998 wxPyEndAllowThreads(__tstate);
493f1553 6999 if (PyErr_Occurred()) return NULL;
cf694132 7000}{
c8bc7bb8
RD
7001#if wxUSE_UNICODE
7002 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
7003#else
eec92d76 7004 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7005#endif
d5c9047a
RD
7006}
7007{
7008 delete _result;
7009}
8ab979d7
RD
7010 return _resultobj;
7011}
7012
694759cf 7013#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7014static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7015 PyObject * _resultobj;
d5c9047a 7016 int _result;
f6bcfd97 7017 wxPyTreeCtrl * _arg0;
d5c9047a 7018 wxTreeItemId * _arg1;
694759cf 7019 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7020 PyObject * _argo0 = 0;
7021 PyObject * _argo1 = 0;
694759cf 7022 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7023
7024 self = self;
694759cf 7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7026 return NULL;
1d99702e
RD
7027 if (_argo0) {
7028 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7031 return NULL;
7032 }
7033 }
1d99702e
RD
7034 if (_argo1) {
7035 if (_argo1 == Py_None) { _arg1 = NULL; }
7036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7038 return NULL;
7039 }
7040 }
cf694132 7041{
4268f798 7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7043 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7044
4268f798 7045 wxPyEndAllowThreads(__tstate);
493f1553 7046 if (PyErr_Occurred()) return NULL;
cf694132 7047} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7048 return _resultobj;
7049}
7050
d5c9047a 7051#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7052static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7053 PyObject * _resultobj;
d5c9047a 7054 int _result;
f6bcfd97 7055 wxPyTreeCtrl * _arg0;
d5c9047a 7056 wxTreeItemId * _arg1;
1d99702e
RD
7057 PyObject * _argo0 = 0;
7058 PyObject * _argo1 = 0;
efc5f224 7059 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7060
7061 self = self;
efc5f224 7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7063 return NULL;
1d99702e
RD
7064 if (_argo0) {
7065 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7068 return NULL;
7069 }
7070 }
1d99702e
RD
7071 if (_argo1) {
7072 if (_argo1 == Py_None) { _arg1 = NULL; }
7073 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7075 return NULL;
7076 }
7077 }
cf694132 7078{
4268f798 7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7080 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7081
4268f798 7082 wxPyEndAllowThreads(__tstate);
493f1553 7083 if (PyErr_Occurred()) return NULL;
cf694132 7084} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7085 return _resultobj;
7086}
7087
d5c9047a 7088#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7089static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7090 PyObject * _resultobj;
f6bcfd97 7091 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7092 wxTreeItemId * _arg1;
7093 wxString * _arg2;
1d99702e
RD
7094 PyObject * _argo0 = 0;
7095 PyObject * _argo1 = 0;
d5c9047a 7096 PyObject * _obj2 = 0;
efc5f224 7097 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7098
7099 self = self;
efc5f224 7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7101 return NULL;
1d99702e
RD
7102 if (_argo0) {
7103 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7106 return NULL;
7107 }
7108 }
1d99702e
RD
7109 if (_argo1) {
7110 if (_argo1 == Py_None) { _arg1 = NULL; }
7111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7113 return NULL;
7114 }
7115 }
7116{
c8bc7bb8
RD
7117 _arg2 = wxString_in_helper(_obj2);
7118 if (_arg2 == NULL)
185d7c3e 7119 return NULL;
d5c9047a 7120}
cf694132 7121{
4268f798 7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7123 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7124
4268f798 7125 wxPyEndAllowThreads(__tstate);
493f1553 7126 if (PyErr_Occurred()) return NULL;
cf694132 7127} Py_INCREF(Py_None);
d5c9047a
RD
7128 _resultobj = Py_None;
7129{
7130 if (_obj2)
7131 delete _arg2;
7132}
8ab979d7
RD
7133 return _resultobj;
7134}
7135
694759cf 7136#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7137static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7138 PyObject * _resultobj;
f6bcfd97 7139 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7140 wxTreeItemId * _arg1;
7141 int _arg2;
694759cf 7142 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7143 PyObject * _argo0 = 0;
7144 PyObject * _argo1 = 0;
694759cf 7145 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7146
7147 self = self;
694759cf 7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7149 return NULL;
1d99702e
RD
7150 if (_argo0) {
7151 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7154 return NULL;
7155 }
7156 }
1d99702e
RD
7157 if (_argo1) {
7158 if (_argo1 == Py_None) { _arg1 = NULL; }
7159 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7161 return NULL;
7162 }
7163 }
cf694132 7164{
4268f798 7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7166 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7167
4268f798 7168 wxPyEndAllowThreads(__tstate);
493f1553 7169 if (PyErr_Occurred()) return NULL;
cf694132 7170} Py_INCREF(Py_None);
d5c9047a 7171 _resultobj = Py_None;
8ab979d7
RD
7172 return _resultobj;
7173}
7174
d5c9047a 7175#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7176static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7177 PyObject * _resultobj;
f6bcfd97 7178 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7179 wxTreeItemId * _arg1;
7180 int _arg2;
1d99702e
RD
7181 PyObject * _argo0 = 0;
7182 PyObject * _argo1 = 0;
efc5f224 7183 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7184
7185 self = self;
efc5f224 7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7187 return NULL;
1d99702e
RD
7188 if (_argo0) {
7189 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7192 return NULL;
7193 }
7194 }
1d99702e
RD
7195 if (_argo1) {
7196 if (_argo1 == Py_None) { _arg1 = NULL; }
7197 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7198 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7199 return NULL;
7200 }
7201 }
cf694132 7202{
4268f798 7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7204 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7205
4268f798 7206 wxPyEndAllowThreads(__tstate);
493f1553 7207 if (PyErr_Occurred()) return NULL;
cf694132
RD
7208} Py_INCREF(Py_None);
7209 _resultobj = Py_None;
7210 return _resultobj;
7211}
7212
7213#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7214static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7215 PyObject * _resultobj;
f6bcfd97 7216 wxPyTreeCtrl * _arg0;
cf694132 7217 wxTreeItemId * _arg1;
1d99702e
RD
7218 bool _arg2 = (bool ) TRUE;
7219 PyObject * _argo0 = 0;
7220 PyObject * _argo1 = 0;
7221 int tempbool2 = (int) TRUE;
efc5f224 7222 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7223
7224 self = self;
efc5f224 7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7226 return NULL;
1d99702e
RD
7227 if (_argo0) {
7228 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7231 return NULL;
7232 }
7233 }
1d99702e
RD
7234 if (_argo1) {
7235 if (_argo1 == Py_None) { _arg1 = NULL; }
7236 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7238 return NULL;
7239 }
7240 }
7241 _arg2 = (bool ) tempbool2;
7242{
4268f798 7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7244 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7245
4268f798 7246 wxPyEndAllowThreads(__tstate);
493f1553 7247 if (PyErr_Occurred()) return NULL;
cf694132 7248} Py_INCREF(Py_None);
d5c9047a 7249 _resultobj = Py_None;
8ab979d7
RD
7250 return _resultobj;
7251}
7252
f6bcfd97 7253static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7254 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7255 if (data == NULL) {
7256 data = new wxPyTreeItemData();
f6bcfd97 7257 data->SetId(item); // set the id
cf694132
RD
7258 self->SetItemData(item, data);
7259 }
7260 return data;
7261 }
efc5f224 7262static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7263 PyObject * _resultobj;
7264 wxPyTreeItemData * _result;
f6bcfd97 7265 wxPyTreeCtrl * _arg0;
cf694132 7266 wxTreeItemId * _arg1;
1d99702e
RD
7267 PyObject * _argo0 = 0;
7268 PyObject * _argo1 = 0;
efc5f224 7269 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7270 char _ptemp[128];
7271
7272 self = self;
efc5f224 7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7274 return NULL;
1d99702e
RD
7275 if (_argo0) {
7276 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7279 return NULL;
7280 }
7281 }
1d99702e
RD
7282 if (_argo1) {
7283 if (_argo1 == Py_None) { _arg1 = NULL; }
7284 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7286 return NULL;
7287 }
7288 }
7289{
4268f798 7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7291 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7292
4268f798 7293 wxPyEndAllowThreads(__tstate);
493f1553 7294 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7295} if (_result) {
7296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7297 _resultobj = Py_BuildValue("s",_ptemp);
7298 } else {
7299 Py_INCREF(Py_None);
7300 _resultobj = Py_None;
7301 }
cf694132
RD
7302 return _resultobj;
7303}
7304
f6bcfd97
BP
7305static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7306 data->SetId(item); // set the id
7307 self->SetItemData(item, data);
c368d904 7308 }
efc5f224 7309static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7310 PyObject * _resultobj;
f6bcfd97 7311 wxPyTreeCtrl * _arg0;
d5c9047a 7312 wxTreeItemId * _arg1;
cf694132 7313 wxPyTreeItemData * _arg2;
1d99702e
RD
7314 PyObject * _argo0 = 0;
7315 PyObject * _argo1 = 0;
7316 PyObject * _argo2 = 0;
efc5f224 7317 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7318
7319 self = self;
efc5f224 7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7321 return NULL;
1d99702e
RD
7322 if (_argo0) {
7323 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7326 return NULL;
7327 }
7328 }
1d99702e
RD
7329 if (_argo1) {
7330 if (_argo1 == Py_None) { _arg1 = NULL; }
7331 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7332 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7333 return NULL;
7334 }
7335 }
1d99702e
RD
7336 if (_argo2) {
7337 if (_argo2 == Py_None) { _arg2 = NULL; }
7338 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7339 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7340 return NULL;
7341 }
7342 }
cf694132 7343{
4268f798 7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7345 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7346
4268f798 7347 wxPyEndAllowThreads(__tstate);
493f1553 7348 if (PyErr_Occurred()) return NULL;
cf694132 7349} Py_INCREF(Py_None);
d5c9047a 7350 _resultobj = Py_None;
8ab979d7
RD
7351 return _resultobj;
7352}
7353
f6bcfd97 7354static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7355 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7356 if (data == NULL) {
7357 data = new wxPyTreeItemData();
f6bcfd97 7358 data->SetId(item); // set the id
cf694132
RD
7359 self->SetItemData(item, data);
7360 }
7361 return data->GetData();
c368d904 7362 }
efc5f224 7363static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7364 PyObject * _resultobj;
cf694132 7365 PyObject * _result;
f6bcfd97 7366 wxPyTreeCtrl * _arg0;
08127323 7367 wxTreeItemId * _arg1;
1d99702e
RD
7368 PyObject * _argo0 = 0;
7369 PyObject * _argo1 = 0;
efc5f224 7370 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7371
7372 self = self;
efc5f224 7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7374 return NULL;
1d99702e
RD
7375 if (_argo0) {
7376 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7379 return NULL;
7380 }
7381 }
1d99702e
RD
7382 if (_argo1) {
7383 if (_argo1 == Py_None) { _arg1 = NULL; }
7384 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7385 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7386 return NULL;
7387 }
7388 }
cf694132 7389{
4268f798 7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7391 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7392
4268f798 7393 wxPyEndAllowThreads(__tstate);
493f1553 7394 if (PyErr_Occurred()) return NULL;
cf694132
RD
7395}{
7396 _resultobj = _result;
7397}
7398 return _resultobj;
7399}
7400
f6bcfd97 7401static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7402 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7403 if (data == NULL) {
7404 data = new wxPyTreeItemData(obj);
f6bcfd97 7405 data->SetId(item); // set the id
cf694132
RD
7406 self->SetItemData(item, data);
7407 } else
7408 data->SetData(obj);
c368d904 7409 }
efc5f224 7410static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7411 PyObject * _resultobj;
f6bcfd97 7412 wxPyTreeCtrl * _arg0;
cf694132
RD
7413 wxTreeItemId * _arg1;
7414 PyObject * _arg2;
1d99702e
RD
7415 PyObject * _argo0 = 0;
7416 PyObject * _argo1 = 0;
cf694132 7417 PyObject * _obj2 = 0;
efc5f224 7418 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7419
7420 self = self;
efc5f224 7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7422 return NULL;
1d99702e
RD
7423 if (_argo0) {
7424 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7427 return NULL;
7428 }
7429 }
1d99702e
RD
7430 if (_argo1) {
7431 if (_argo1 == Py_None) { _arg1 = NULL; }
7432 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7433 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7434 return NULL;
7435 }
7436 }
7437{
7438 _arg2 = _obj2;
7439}
7440{
4268f798 7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7442 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7443
4268f798 7444 wxPyEndAllowThreads(__tstate);
493f1553 7445 if (PyErr_Occurred()) return NULL;
cf694132 7446} Py_INCREF(Py_None);
08127323
RD
7447 _resultobj = Py_None;
7448 return _resultobj;
7449}
7450
d5c9047a 7451#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7452static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7453 PyObject * _resultobj;
d5c9047a 7454 bool _result;
f6bcfd97 7455 wxPyTreeCtrl * _arg0;
d5c9047a 7456 wxTreeItemId * _arg1;
1d99702e
RD
7457 PyObject * _argo0 = 0;
7458 PyObject * _argo1 = 0;
efc5f224 7459 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7460
7461 self = self;
efc5f224 7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7463 return NULL;
1d99702e
RD
7464 if (_argo0) {
7465 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7468 return NULL;
7469 }
7470 }
1d99702e
RD
7471 if (_argo1) {
7472 if (_argo1 == Py_None) { _arg1 = NULL; }
7473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7475 return NULL;
7476 }
7477 }
cf694132 7478{
4268f798 7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7480 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7481
4268f798 7482 wxPyEndAllowThreads(__tstate);
493f1553 7483 if (PyErr_Occurred()) return NULL;
cf694132 7484} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7485 return _resultobj;
7486}
7487
d5c9047a 7488#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7489static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7490 PyObject * _resultobj;
d5c9047a 7491 bool _result;
f6bcfd97 7492 wxPyTreeCtrl * _arg0;
d5c9047a 7493 wxTreeItemId * _arg1;
1d99702e
RD
7494 PyObject * _argo0 = 0;
7495 PyObject * _argo1 = 0;
efc5f224 7496 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7497
7498 self = self;
efc5f224 7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7500 return NULL;
1d99702e
RD
7501 if (_argo0) {
7502 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7505 return NULL;
7506 }
7507 }
1d99702e
RD
7508 if (_argo1) {
7509 if (_argo1 == Py_None) { _arg1 = NULL; }
7510 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7511 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7512 return NULL;
7513 }
7514 }
cf694132 7515{
4268f798 7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7517 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7518
4268f798 7519 wxPyEndAllowThreads(__tstate);
493f1553 7520 if (PyErr_Occurred()) return NULL;
cf694132 7521} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7522 return _resultobj;
7523}
7524
d5c9047a 7525#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7526static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7527 PyObject * _resultobj;
d5c9047a 7528 bool _result;
f6bcfd97 7529 wxPyTreeCtrl * _arg0;
d5c9047a 7530 wxTreeItemId * _arg1;
1d99702e
RD
7531 PyObject * _argo0 = 0;
7532 PyObject * _argo1 = 0;
efc5f224 7533 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7534
7535 self = self;
efc5f224 7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7537 return NULL;
1d99702e
RD
7538 if (_argo0) {
7539 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7542 return NULL;
7543 }
7544 }
1d99702e
RD
7545 if (_argo1) {
7546 if (_argo1 == Py_None) { _arg1 = NULL; }
7547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7549 return NULL;
7550 }
7551 }
cf694132 7552{
4268f798 7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7554 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7555
4268f798 7556 wxPyEndAllowThreads(__tstate);
493f1553 7557 if (PyErr_Occurred()) return NULL;
cf694132 7558} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7559 return _resultobj;
7560}
7561
d5c9047a 7562#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7563static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7564 PyObject * _resultobj;
d5c9047a 7565 bool _result;
f6bcfd97 7566 wxPyTreeCtrl * _arg0;
d5c9047a 7567 wxTreeItemId * _arg1;
1d99702e
RD
7568 PyObject * _argo0 = 0;
7569 PyObject * _argo1 = 0;
efc5f224 7570 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7571
7572 self = self;
efc5f224 7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7574 return NULL;
1d99702e
RD
7575 if (_argo0) {
7576 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7579 return NULL;
7580 }
7581 }
1d99702e
RD
7582 if (_argo1) {
7583 if (_argo1 == Py_None) { _arg1 = NULL; }
7584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7586 return NULL;
7587 }
7588 }
cf694132 7589{
4268f798 7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7591 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7592
4268f798 7593 wxPyEndAllowThreads(__tstate);
493f1553 7594 if (PyErr_Occurred()) return NULL;
cf694132 7595} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7596 return _resultobj;
7597}
7598
7599#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7600static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7601 PyObject * _resultobj;
d5c9047a 7602 wxTreeItemId * _result;
f6bcfd97 7603 wxPyTreeCtrl * _arg0;
1d99702e 7604 PyObject * _argo0 = 0;
efc5f224 7605 char *_kwnames[] = { "self", NULL };
d5c9047a 7606 char _ptemp[128];
8ab979d7
RD
7607
7608 self = self;
efc5f224 7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7610 return NULL;
1d99702e
RD
7611 if (_argo0) {
7612 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7615 return NULL;
7616 }
7617 }
cf694132 7618{
4268f798 7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7620 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7621
4268f798 7622 wxPyEndAllowThreads(__tstate);
493f1553 7623 if (PyErr_Occurred()) return NULL;
cf694132 7624} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7625 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7626 return _resultobj;
7627}
7628
7629#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7630static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7631 PyObject * _resultobj;
d5c9047a 7632 wxTreeItemId * _result;
f6bcfd97 7633 wxPyTreeCtrl * _arg0;
1d99702e 7634 PyObject * _argo0 = 0;
efc5f224 7635 char *_kwnames[] = { "self", NULL };
d5c9047a 7636 char _ptemp[128];
8ab979d7
RD
7637
7638 self = self;
efc5f224 7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7640 return NULL;
1d99702e
RD
7641 if (_argo0) {
7642 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7645 return NULL;
7646 }
7647 }
cf694132 7648{
4268f798 7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7650 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7651
4268f798 7652 wxPyEndAllowThreads(__tstate);
493f1553 7653 if (PyErr_Occurred()) return NULL;
cf694132 7654} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7655 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7656 return _resultobj;
7657}
7658
eb715945
RD
7659#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7660static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7661 PyObject * _resultobj;
d5c9047a 7662 wxTreeItemId * _result;
f6bcfd97 7663 wxPyTreeCtrl * _arg0;
d5c9047a 7664 wxTreeItemId * _arg1;
1d99702e
RD
7665 PyObject * _argo0 = 0;
7666 PyObject * _argo1 = 0;
efc5f224 7667 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7668 char _ptemp[128];
8ab979d7
RD
7669
7670 self = self;
eb715945 7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7672 return NULL;
1d99702e
RD
7673 if (_argo0) {
7674 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7677 return NULL;
7678 }
7679 }
1d99702e
RD
7680 if (_argo1) {
7681 if (_argo1 == Py_None) { _arg1 = NULL; }
7682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7684 return NULL;
7685 }
7686 }
cf694132 7687{
4268f798 7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7689 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7690
4268f798 7691 wxPyEndAllowThreads(__tstate);
493f1553 7692 if (PyErr_Occurred()) return NULL;
cf694132 7693} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7694 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7695 return _resultobj;
7696}
7697
f6bcfd97 7698static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
4268f798 7699 wxPyBeginBlockThreads();
d426c97e
RD
7700 PyObject* rval = PyList_New(0);
7701 wxArrayTreeItemIds array;
7702 size_t num, x;
7703 num = self->GetSelections(array);
7704 for (x=0; x < num; x++) {
c368d904
RD
7705 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7706 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7707 PyList_Append(rval, item);
7708 }
4268f798 7709 wxPyEndBlockThreads();
d426c97e
RD
7710 return rval;
7711 }
7712static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject * _resultobj;
7714 PyObject * _result;
f6bcfd97 7715 wxPyTreeCtrl * _arg0;
d426c97e
RD
7716 PyObject * _argo0 = 0;
7717 char *_kwnames[] = { "self", NULL };
7718
7719 self = self;
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7721 return NULL;
7722 if (_argo0) {
7723 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7726 return NULL;
7727 }
7728 }
7729{
4268f798 7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7731 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7732
4268f798 7733 wxPyEndAllowThreads(__tstate);
493f1553 7734 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7735}{
7736 _resultobj = _result;
7737}
7738 return _resultobj;
7739}
7740
bb0054cd 7741#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7742static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7743 PyObject * _resultobj;
7744 size_t _result;
f6bcfd97 7745 wxPyTreeCtrl * _arg0;
bb0054cd 7746 wxTreeItemId * _arg1;
1d99702e
RD
7747 bool _arg2 = (bool ) TRUE;
7748 PyObject * _argo0 = 0;
7749 PyObject * _argo1 = 0;
7750 int tempbool2 = (int) TRUE;
efc5f224 7751 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7752
7753 self = self;
efc5f224 7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7755 return NULL;
1d99702e
RD
7756 if (_argo0) {
7757 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7760 return NULL;
7761 }
7762 }
1d99702e
RD
7763 if (_argo1) {
7764 if (_argo1 == Py_None) { _arg1 = NULL; }
7765 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7766 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7767 return NULL;
7768 }
7769 }
7770 _arg2 = (bool ) tempbool2;
7771{
4268f798 7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7773 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 7774
4268f798 7775 wxPyEndAllowThreads(__tstate);
493f1553 7776 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7777} _resultobj = Py_BuildValue("i",_result);
7778 return _resultobj;
7779}
7780
d5c9047a 7781#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7782static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7783 PyObject * _resultobj;
d5c9047a 7784 wxTreeItemId * _result;
f6bcfd97 7785 wxPyTreeCtrl * _arg0;
d5c9047a 7786 wxTreeItemId * _arg1;
0815db26 7787 long * _arg2 = (long *) &longzero;
1d99702e
RD
7788 PyObject * _argo0 = 0;
7789 PyObject * _argo1 = 0;
d5c9047a
RD
7790 long temp;
7791 PyObject * _obj2 = 0;
efc5f224 7792 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7793 char _ptemp[128];
8ab979d7
RD
7794
7795 self = self;
f87dfa06 7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7797 return NULL;
1d99702e
RD
7798 if (_argo0) {
7799 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7802 return NULL;
7803 }
7804 }
1d99702e
RD
7805 if (_argo1) {
7806 if (_argo1 == Py_None) { _arg1 = NULL; }
7807 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7808 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7809 return NULL;
7810 }
7811 }
f87dfa06 7812 if (_obj2)
d5c9047a
RD
7813{
7814 temp = (long) PyInt_AsLong(_obj2);
7815 _arg2 = &temp;
7816}
cf694132 7817{
4268f798 7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7819 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 7820
4268f798 7821 wxPyEndAllowThreads(__tstate);
493f1553 7822 if (PyErr_Occurred()) return NULL;
cf694132 7823} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7824 _resultobj = Py_BuildValue("s",_ptemp);
7825{
7826 PyObject *o;
7827 o = PyInt_FromLong((long) (*_arg2));
7828 _resultobj = t_output_helper(_resultobj, o);
7829}
8ab979d7
RD
7830 return _resultobj;
7831}
7832
d5c9047a 7833#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7834static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7835 PyObject * _resultobj;
d5c9047a 7836 wxTreeItemId * _result;
f6bcfd97 7837 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7838 wxTreeItemId * _arg1;
7839 long * _arg2;
1d99702e
RD
7840 PyObject * _argo0 = 0;
7841 PyObject * _argo1 = 0;
d5c9047a 7842 long temp;
8ab979d7 7843 PyObject * _obj2 = 0;
efc5f224 7844 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7845 char _ptemp[128];
8ab979d7
RD
7846
7847 self = self;
efc5f224 7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7849 return NULL;
1d99702e
RD
7850 if (_argo0) {
7851 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7854 return NULL;
7855 }
7856 }
1d99702e
RD
7857 if (_argo1) {
7858 if (_argo1 == Py_None) { _arg1 = NULL; }
7859 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7860 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7861 return NULL;
d5c9047a 7862 }
8ab979d7 7863 }
d5c9047a
RD
7864{
7865 temp = (long) PyInt_AsLong(_obj2);
7866 _arg2 = &temp;
8ab979d7 7867}
cf694132 7868{
4268f798 7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7870 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 7871
4268f798 7872 wxPyEndAllowThreads(__tstate);
493f1553 7873 if (PyErr_Occurred()) return NULL;
cf694132 7874} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7875 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7876{
d5c9047a
RD
7877 PyObject *o;
7878 o = PyInt_FromLong((long) (*_arg2));
7879 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7880}
7881 return _resultobj;
7882}
7883
d5c9047a 7884#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7885static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7886 PyObject * _resultobj;
d5c9047a 7887 wxTreeItemId * _result;
f6bcfd97 7888 wxPyTreeCtrl * _arg0;
d5c9047a 7889 wxTreeItemId * _arg1;
1d99702e
RD
7890 PyObject * _argo0 = 0;
7891 PyObject * _argo1 = 0;
efc5f224 7892 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7893 char _ptemp[128];
8ab979d7
RD
7894
7895 self = self;
efc5f224 7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7897 return NULL;
1d99702e
RD
7898 if (_argo0) {
7899 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7902 return NULL;
7903 }
7904 }
1d99702e
RD
7905 if (_argo1) {
7906 if (_argo1 == Py_None) { _arg1 = NULL; }
7907 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7908 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7909 return NULL;
7910 }
7911 }
cf694132 7912{
4268f798 7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7914 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 7915
4268f798 7916 wxPyEndAllowThreads(__tstate);
493f1553 7917 if (PyErr_Occurred()) return NULL;
cf694132 7918} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7919 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7920 return _resultobj;
7921}
7922
d5c9047a 7923#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 7924static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7925 PyObject * _resultobj;
d5c9047a 7926 wxTreeItemId * _result;
f6bcfd97 7927 wxPyTreeCtrl * _arg0;
d5c9047a 7928 wxTreeItemId * _arg1;
1d99702e
RD
7929 PyObject * _argo0 = 0;
7930 PyObject * _argo1 = 0;
efc5f224 7931 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7932 char _ptemp[128];
8ab979d7
RD
7933
7934 self = self;
efc5f224 7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7936 return NULL;
1d99702e
RD
7937 if (_argo0) {
7938 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7941 return NULL;
7942 }
7943 }
1d99702e
RD
7944 if (_argo1) {
7945 if (_argo1 == Py_None) { _arg1 = NULL; }
7946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7948 return NULL;
7949 }
7950 }
cf694132 7951{
4268f798 7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7953 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 7954
4268f798 7955 wxPyEndAllowThreads(__tstate);
493f1553 7956 if (PyErr_Occurred()) return NULL;
cf694132 7957} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7958 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7959 return _resultobj;
7960}
7961
d5c9047a 7962#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 7963static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7964 PyObject * _resultobj;
d5c9047a 7965 wxTreeItemId * _result;
f6bcfd97 7966 wxPyTreeCtrl * _arg0;
1d99702e 7967 PyObject * _argo0 = 0;
efc5f224 7968 char *_kwnames[] = { "self", NULL };
d5c9047a 7969 char _ptemp[128];
8ab979d7
RD
7970
7971 self = self;
efc5f224 7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 7973 return NULL;
1d99702e
RD
7974 if (_argo0) {
7975 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7978 return NULL;
7979 }
7980 }
cf694132 7981{
4268f798 7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7983 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 7984
4268f798 7985 wxPyEndAllowThreads(__tstate);
493f1553 7986 if (PyErr_Occurred()) return NULL;
cf694132 7987} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7988 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7989 return _resultobj;
7990}
7991
d5c9047a 7992#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 7993static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7994 PyObject * _resultobj;
d5c9047a 7995 wxTreeItemId * _result;
f6bcfd97 7996 wxPyTreeCtrl * _arg0;
d5c9047a 7997 wxTreeItemId * _arg1;
1d99702e
RD
7998 PyObject * _argo0 = 0;
7999 PyObject * _argo1 = 0;
efc5f224 8000 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8001 char _ptemp[128];
8ab979d7
RD
8002
8003 self = self;
efc5f224 8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8005 return NULL;
1d99702e
RD
8006 if (_argo0) {
8007 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8010 return NULL;
8011 }
8012 }
1d99702e
RD
8013 if (_argo1) {
8014 if (_argo1 == Py_None) { _arg1 = NULL; }
8015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8017 return NULL;
8018 }
8019 }
cf694132 8020{
4268f798 8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8022 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 8023
4268f798 8024 wxPyEndAllowThreads(__tstate);
493f1553 8025 if (PyErr_Occurred()) return NULL;
cf694132 8026} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8027 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8028 return _resultobj;
8029}
8030
d5c9047a 8031#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8032static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8033 PyObject * _resultobj;
d5c9047a 8034 wxTreeItemId * _result;
f6bcfd97 8035 wxPyTreeCtrl * _arg0;
d5c9047a 8036 wxTreeItemId * _arg1;
1d99702e
RD
8037 PyObject * _argo0 = 0;
8038 PyObject * _argo1 = 0;
efc5f224 8039 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8040 char _ptemp[128];
8ab979d7
RD
8041
8042 self = self;
efc5f224 8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8044 return NULL;
1d99702e
RD
8045 if (_argo0) {
8046 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8049 return NULL;
8050 }
8051 }
1d99702e
RD
8052 if (_argo1) {
8053 if (_argo1 == Py_None) { _arg1 = NULL; }
8054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8056 return NULL;
8057 }
8058 }
cf694132 8059{
4268f798 8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8061 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 8062
4268f798 8063 wxPyEndAllowThreads(__tstate);
493f1553 8064 if (PyErr_Occurred()) return NULL;
cf694132 8065} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8066 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8067 return _resultobj;
8068}
8069
d426c97e
RD
8070#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8071static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject * _resultobj;
8073 wxTreeItemId * _result;
f6bcfd97 8074 wxPyTreeCtrl * _arg0;
d426c97e
RD
8075 wxTreeItemId * _arg1;
8076 PyObject * _argo0 = 0;
8077 PyObject * _argo1 = 0;
8078 char *_kwnames[] = { "self","item", NULL };
8079 char _ptemp[128];
8080
8081 self = self;
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8083 return NULL;
8084 if (_argo0) {
8085 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8088 return NULL;
8089 }
8090 }
8091 if (_argo1) {
8092 if (_argo1 == Py_None) { _arg1 = NULL; }
8093 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8094 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8095 return NULL;
8096 }
8097 }
8098{
4268f798 8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8100 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8101
4268f798 8102 wxPyEndAllowThreads(__tstate);
493f1553 8103 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8104} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8105 _resultobj = Py_BuildValue("s",_ptemp);
8106 return _resultobj;
8107}
8108
d5c9047a 8109#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8110static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8111 PyObject * _resultobj;
d5c9047a 8112 wxTreeItemId * _result;
f6bcfd97 8113 wxPyTreeCtrl * _arg0;
d5c9047a 8114 wxString * _arg1;
1d99702e
RD
8115 int _arg2 = (int ) -1;
8116 int _arg3 = (int ) -1;
8117 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8118 PyObject * _argo0 = 0;
d5c9047a 8119 PyObject * _obj1 = 0;
1d99702e 8120 PyObject * _argo4 = 0;
efc5f224 8121 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8122 char _ptemp[128];
8ab979d7
RD
8123
8124 self = self;
efc5f224 8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8126 return NULL;
1d99702e
RD
8127 if (_argo0) {
8128 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8131 return NULL;
8132 }
8133 }
d5c9047a 8134{
c8bc7bb8
RD
8135 _arg1 = wxString_in_helper(_obj1);
8136 if (_arg1 == NULL)
185d7c3e 8137 return NULL;
d5c9047a 8138}
1d99702e
RD
8139 if (_argo4) {
8140 if (_argo4 == Py_None) { _arg4 = NULL; }
8141 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8142 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8143 return NULL;
8144 }
8145 }
cf694132 8146{
4268f798 8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8148 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8149
4268f798 8150 wxPyEndAllowThreads(__tstate);
493f1553 8151 if (PyErr_Occurred()) return NULL;
cf694132 8152} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8153 _resultobj = Py_BuildValue("s",_ptemp);
8154{
8155 if (_obj1)
8156 delete _arg1;
8157}
8ab979d7
RD
8158 return _resultobj;
8159}
8160
d5c9047a 8161#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8162static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8163 PyObject * _resultobj;
d5c9047a 8164 wxTreeItemId * _result;
f6bcfd97 8165 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8166 wxTreeItemId * _arg1;
8167 wxString * _arg2;
1d99702e
RD
8168 int _arg3 = (int ) -1;
8169 int _arg4 = (int ) -1;
8170 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8171 PyObject * _argo0 = 0;
8172 PyObject * _argo1 = 0;
d5c9047a 8173 PyObject * _obj2 = 0;
1d99702e 8174 PyObject * _argo5 = 0;
efc5f224 8175 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8176 char _ptemp[128];
8ab979d7
RD
8177
8178 self = self;
efc5f224 8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8180 return NULL;
1d99702e
RD
8181 if (_argo0) {
8182 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8185 return NULL;
8186 }
8187 }
1d99702e
RD
8188 if (_argo1) {
8189 if (_argo1 == Py_None) { _arg1 = NULL; }
8190 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8191 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8192 return NULL;
8193 }
8194 }
8195{
c8bc7bb8
RD
8196 _arg2 = wxString_in_helper(_obj2);
8197 if (_arg2 == NULL)
185d7c3e 8198 return NULL;
d5c9047a 8199}
1d99702e
RD
8200 if (_argo5) {
8201 if (_argo5 == Py_None) { _arg5 = NULL; }
8202 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8203 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8204 return NULL;
8205 }
8206 }
cf694132 8207{
4268f798 8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8209 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8210
4268f798 8211 wxPyEndAllowThreads(__tstate);
493f1553 8212 if (PyErr_Occurred()) return NULL;
cf694132 8213} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8214 _resultobj = Py_BuildValue("s",_ptemp);
8215{
8216 if (_obj2)
8217 delete _arg2;
8218}
8ab979d7
RD
8219 return _resultobj;
8220}
8221
d5c9047a 8222#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8223static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8224 PyObject * _resultobj;
d5c9047a 8225 wxTreeItemId * _result;
f6bcfd97 8226 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8227 wxTreeItemId * _arg1;
8228 wxTreeItemId * _arg2;
8229 wxString * _arg3;
1d99702e
RD
8230 int _arg4 = (int ) -1;
8231 int _arg5 = (int ) -1;
8232 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8233 PyObject * _argo0 = 0;
8234 PyObject * _argo1 = 0;
8235 PyObject * _argo2 = 0;
d5c9047a 8236 PyObject * _obj3 = 0;
1d99702e 8237 PyObject * _argo6 = 0;
efc5f224 8238 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8239 char _ptemp[128];
8ab979d7
RD
8240
8241 self = self;
efc5f224 8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8243 return NULL;
1d99702e
RD
8244 if (_argo0) {
8245 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8248 return NULL;
8249 }
8250 }
1d99702e
RD
8251 if (_argo1) {
8252 if (_argo1 == Py_None) { _arg1 = NULL; }
8253 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8255 return NULL;
8256 }
8257 }
1d99702e
RD
8258 if (_argo2) {
8259 if (_argo2 == Py_None) { _arg2 = NULL; }
8260 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8261 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8262 return NULL;
8263 }
8264 }
8265{
c8bc7bb8
RD
8266 _arg3 = wxString_in_helper(_obj3);
8267 if (_arg3 == NULL)
185d7c3e 8268 return NULL;
d5c9047a 8269}
1d99702e
RD
8270 if (_argo6) {
8271 if (_argo6 == Py_None) { _arg6 = NULL; }
8272 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8273 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8274 return NULL;
8275 }
8276 }
cf694132 8277{
4268f798 8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8279 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8280
4268f798 8281 wxPyEndAllowThreads(__tstate);
493f1553 8282 if (PyErr_Occurred()) return NULL;
cf694132 8283} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8284 _resultobj = Py_BuildValue("s",_ptemp);
8285{
8286 if (_obj3)
8287 delete _arg3;
8288}
8ab979d7
RD
8289 return _resultobj;
8290}
8291
f6bcfd97
BP
8292#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8293static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject * _resultobj;
8295 wxTreeItemId * _result;
8296 wxPyTreeCtrl * _arg0;
8297 wxTreeItemId * _arg1;
8298 size_t _arg2;
8299 wxString * _arg3;
8300 int _arg4 = (int ) -1;
8301 int _arg5 = (int ) -1;
3999941a 8302 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8303 PyObject * _argo0 = 0;
8304 PyObject * _argo1 = 0;
8305 PyObject * _obj3 = 0;
8306 PyObject * _argo6 = 0;
8307 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8308 char _ptemp[128];
8309
8310 self = self;
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8312 return NULL;
8313 if (_argo0) {
8314 if (_argo0 == Py_None) { _arg0 = NULL; }
8315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8317 return NULL;
8318 }
8319 }
8320 if (_argo1) {
8321 if (_argo1 == Py_None) { _arg1 = NULL; }
8322 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8323 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8324 return NULL;
8325 }
8326 }
8327{
c8bc7bb8
RD
8328 _arg3 = wxString_in_helper(_obj3);
8329 if (_arg3 == NULL)
185d7c3e 8330 return NULL;
f6bcfd97
BP
8331}
8332 if (_argo6) {
8333 if (_argo6 == Py_None) { _arg6 = NULL; }
3999941a
RD
8334 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8335 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8336 return NULL;
8337 }
8338 }
8339{
4268f798 8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8341 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8342
4268f798 8343 wxPyEndAllowThreads(__tstate);
493f1553 8344 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8345} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8346 _resultobj = Py_BuildValue("s",_ptemp);
8347{
8348 if (_obj3)
8349 delete _arg3;
8350}
8351 return _resultobj;
8352}
8353
d5c9047a 8354#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8355static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8356 PyObject * _resultobj;
d5c9047a 8357 wxTreeItemId * _result;
f6bcfd97 8358 wxPyTreeCtrl * _arg0;
d5c9047a 8359 wxTreeItemId * _arg1;
8ab979d7 8360 wxString * _arg2;
1d99702e
RD
8361 int _arg3 = (int ) -1;
8362 int _arg4 = (int ) -1;
8363 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8364 PyObject * _argo0 = 0;
8365 PyObject * _argo1 = 0;
8ab979d7 8366 PyObject * _obj2 = 0;
1d99702e 8367 PyObject * _argo5 = 0;
efc5f224 8368 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8369 char _ptemp[128];
8ab979d7
RD
8370
8371 self = self;
efc5f224 8372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8373 return NULL;
1d99702e
RD
8374 if (_argo0) {
8375 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8378 return NULL;
8379 }
8380 }
1d99702e
RD
8381 if (_argo1) {
8382 if (_argo1 == Py_None) { _arg1 = NULL; }
8383 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8384 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8385 return NULL;
8386 }
8387 }
8388{
c8bc7bb8
RD
8389 _arg2 = wxString_in_helper(_obj2);
8390 if (_arg2 == NULL)
185d7c3e 8391 return NULL;
8ab979d7 8392}
1d99702e
RD
8393 if (_argo5) {
8394 if (_argo5 == Py_None) { _arg5 = NULL; }
8395 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8396 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8397 return NULL;
8398 }
8399 }
cf694132 8400{
4268f798 8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8402 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8403
4268f798 8404 wxPyEndAllowThreads(__tstate);
493f1553 8405 if (PyErr_Occurred()) return NULL;
cf694132 8406} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8407 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8408{
8409 if (_obj2)
8410 delete _arg2;
8411}
8412 return _resultobj;
8413}
8414
d5c9047a 8415#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8416static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8417 PyObject * _resultobj;
f6bcfd97 8418 wxPyTreeCtrl * _arg0;
d5c9047a 8419 wxTreeItemId * _arg1;
1d99702e
RD
8420 PyObject * _argo0 = 0;
8421 PyObject * _argo1 = 0;
efc5f224 8422 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8423
8424 self = self;
efc5f224 8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8426 return NULL;
1d99702e
RD
8427 if (_argo0) {
8428 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8431 return NULL;
8432 }
8433 }
1d99702e
RD
8434 if (_argo1) {
8435 if (_argo1 == Py_None) { _arg1 = NULL; }
8436 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8437 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8438 return NULL;
8439 }
8440 }
cf694132 8441{
4268f798 8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8443 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8444
4268f798 8445 wxPyEndAllowThreads(__tstate);
493f1553 8446 if (PyErr_Occurred()) return NULL;
cf694132 8447} Py_INCREF(Py_None);
d5c9047a
RD
8448 _resultobj = Py_None;
8449 return _resultobj;
8450}
8451
08127323 8452#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8453static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8454 PyObject * _resultobj;
f6bcfd97 8455 wxPyTreeCtrl * _arg0;
08127323 8456 wxTreeItemId * _arg1;
1d99702e
RD
8457 PyObject * _argo0 = 0;
8458 PyObject * _argo1 = 0;
efc5f224 8459 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8460
8461 self = self;
efc5f224 8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8463 return NULL;
1d99702e
RD
8464 if (_argo0) {
8465 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8468 return NULL;
8469 }
8470 }
1d99702e
RD
8471 if (_argo1) {
8472 if (_argo1 == Py_None) { _arg1 = NULL; }
8473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8475 return NULL;
8476 }
8477 }
cf694132 8478{
4268f798 8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8480 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8481
4268f798 8482 wxPyEndAllowThreads(__tstate);
493f1553 8483 if (PyErr_Occurred()) return NULL;
cf694132 8484} Py_INCREF(Py_None);
08127323
RD
8485 _resultobj = Py_None;
8486 return _resultobj;
8487}
8488
d5c9047a 8489#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8490static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8491 PyObject * _resultobj;
f6bcfd97 8492 wxPyTreeCtrl * _arg0;
1d99702e 8493 PyObject * _argo0 = 0;
efc5f224 8494 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8495
8496 self = self;
efc5f224 8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8498 return NULL;
1d99702e
RD
8499 if (_argo0) {
8500 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8503 return NULL;
8504 }
8505 }
cf694132 8506{
4268f798 8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8508 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8509
4268f798 8510 wxPyEndAllowThreads(__tstate);
493f1553 8511 if (PyErr_Occurred()) return NULL;
cf694132 8512} Py_INCREF(Py_None);
d5c9047a
RD
8513 _resultobj = Py_None;
8514 return _resultobj;
8515}
8516
8517#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8518static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8519 PyObject * _resultobj;
f6bcfd97 8520 wxPyTreeCtrl * _arg0;
d5c9047a 8521 wxTreeItemId * _arg1;
1d99702e
RD
8522 PyObject * _argo0 = 0;
8523 PyObject * _argo1 = 0;
efc5f224 8524 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8525
8526 self = self;
efc5f224 8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8528 return NULL;
1d99702e
RD
8529 if (_argo0) {
8530 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8533 return NULL;
8534 }
8535 }
1d99702e
RD
8536 if (_argo1) {
8537 if (_argo1 == Py_None) { _arg1 = NULL; }
8538 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8540 return NULL;
8541 }
8542 }
cf694132 8543{
4268f798 8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8545 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8546
4268f798 8547 wxPyEndAllowThreads(__tstate);
493f1553 8548 if (PyErr_Occurred()) return NULL;
cf694132 8549} Py_INCREF(Py_None);
d5c9047a
RD
8550 _resultobj = Py_None;
8551 return _resultobj;
8552}
8553
8554#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8555static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8556 PyObject * _resultobj;
f6bcfd97 8557 wxPyTreeCtrl * _arg0;
d5c9047a 8558 wxTreeItemId * _arg1;
1d99702e
RD
8559 PyObject * _argo0 = 0;
8560 PyObject * _argo1 = 0;
efc5f224 8561 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8562
8563 self = self;
efc5f224 8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8565 return NULL;
1d99702e
RD
8566 if (_argo0) {
8567 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8570 return NULL;
8571 }
8572 }
1d99702e
RD
8573 if (_argo1) {
8574 if (_argo1 == Py_None) { _arg1 = NULL; }
8575 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8576 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8577 return NULL;
8578 }
8579 }
cf694132 8580{
4268f798 8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8582 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8583
4268f798 8584 wxPyEndAllowThreads(__tstate);
493f1553 8585 if (PyErr_Occurred()) return NULL;
cf694132 8586} Py_INCREF(Py_None);
d5c9047a
RD
8587 _resultobj = Py_None;
8588 return _resultobj;
8589}
8590
8591#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8592static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8593 PyObject * _resultobj;
f6bcfd97 8594 wxPyTreeCtrl * _arg0;
d5c9047a 8595 wxTreeItemId * _arg1;
1d99702e
RD
8596 PyObject * _argo0 = 0;
8597 PyObject * _argo1 = 0;
efc5f224 8598 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8599
8600 self = self;
efc5f224 8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8602 return NULL;
1d99702e
RD
8603 if (_argo0) {
8604 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8607 return NULL;
8608 }
8609 }
1d99702e
RD
8610 if (_argo1) {
8611 if (_argo1 == Py_None) { _arg1 = NULL; }
8612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8614 return NULL;
8615 }
8616 }
cf694132 8617{
4268f798 8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8619 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8620
4268f798 8621 wxPyEndAllowThreads(__tstate);
493f1553 8622 if (PyErr_Occurred()) return NULL;
cf694132 8623} Py_INCREF(Py_None);
d5c9047a
RD
8624 _resultobj = Py_None;
8625 return _resultobj;
8626}
8627
8628#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8629static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8630 PyObject * _resultobj;
f6bcfd97 8631 wxPyTreeCtrl * _arg0;
d5c9047a 8632 wxTreeItemId * _arg1;
1d99702e
RD
8633 PyObject * _argo0 = 0;
8634 PyObject * _argo1 = 0;
efc5f224 8635 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8636
8637 self = self;
efc5f224 8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8639 return NULL;
1d99702e
RD
8640 if (_argo0) {
8641 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8644 return NULL;
8645 }
8646 }
1d99702e
RD
8647 if (_argo1) {
8648 if (_argo1 == Py_None) { _arg1 = NULL; }
8649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8651 return NULL;
8652 }
8653 }
cf694132 8654{
4268f798 8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8656 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8657
4268f798 8658 wxPyEndAllowThreads(__tstate);
493f1553 8659 if (PyErr_Occurred()) return NULL;
cf694132 8660} Py_INCREF(Py_None);
d5c9047a
RD
8661 _resultobj = Py_None;
8662 return _resultobj;
8663}
8664
8665#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8666static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8667 PyObject * _resultobj;
f6bcfd97 8668 wxPyTreeCtrl * _arg0;
1d99702e 8669 PyObject * _argo0 = 0;
efc5f224 8670 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8671
8672 self = self;
efc5f224 8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8674 return NULL;
1d99702e
RD
8675 if (_argo0) {
8676 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8679 return NULL;
8680 }
8681 }
cf694132 8682{
4268f798 8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8684 wxTreeCtrl_Unselect(_arg0);
cf694132 8685
4268f798 8686 wxPyEndAllowThreads(__tstate);
493f1553 8687 if (PyErr_Occurred()) return NULL;
cf694132 8688} Py_INCREF(Py_None);
d5c9047a
RD
8689 _resultobj = Py_None;
8690 return _resultobj;
8691}
8692
8bf5d46e 8693#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8694static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8695 PyObject * _resultobj;
f6bcfd97 8696 wxPyTreeCtrl * _arg0;
1d99702e 8697 PyObject * _argo0 = 0;
efc5f224 8698 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8699
8700 self = self;
efc5f224 8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8702 return NULL;
1d99702e
RD
8703 if (_argo0) {
8704 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8707 return NULL;
8708 }
8709 }
8710{
4268f798 8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8712 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 8713
4268f798 8714 wxPyEndAllowThreads(__tstate);
493f1553 8715 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8716} Py_INCREF(Py_None);
8717 _resultobj = Py_None;
8718 return _resultobj;
8719}
8720
d5c9047a 8721#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8722static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8723 PyObject * _resultobj;
f6bcfd97 8724 wxPyTreeCtrl * _arg0;
d5c9047a 8725 wxTreeItemId * _arg1;
1d99702e
RD
8726 PyObject * _argo0 = 0;
8727 PyObject * _argo1 = 0;
efc5f224 8728 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8729
8730 self = self;
efc5f224 8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8732 return NULL;
1d99702e
RD
8733 if (_argo0) {
8734 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8737 return NULL;
8738 }
8739 }
1d99702e
RD
8740 if (_argo1) {
8741 if (_argo1 == Py_None) { _arg1 = NULL; }
8742 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8743 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8744 return NULL;
8745 }
8746 }
cf694132 8747{
4268f798 8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8749 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 8750
4268f798 8751 wxPyEndAllowThreads(__tstate);
493f1553 8752 if (PyErr_Occurred()) return NULL;
cf694132 8753} Py_INCREF(Py_None);
d5c9047a
RD
8754 _resultobj = Py_None;
8755 return _resultobj;
8756}
8757
8758#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8759static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8760 PyObject * _resultobj;
f6bcfd97 8761 wxPyTreeCtrl * _arg0;
d5c9047a 8762 wxTreeItemId * _arg1;
1d99702e
RD
8763 PyObject * _argo0 = 0;
8764 PyObject * _argo1 = 0;
efc5f224 8765 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8766
8767 self = self;
efc5f224 8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8769 return NULL;
1d99702e
RD
8770 if (_argo0) {
8771 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8774 return NULL;
8775 }
8776 }
1d99702e
RD
8777 if (_argo1) {
8778 if (_argo1 == Py_None) { _arg1 = NULL; }
8779 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8780 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8781 return NULL;
8782 }
8783 }
cf694132 8784{
4268f798 8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8786 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 8787
4268f798 8788 wxPyEndAllowThreads(__tstate);
493f1553 8789 if (PyErr_Occurred()) return NULL;
cf694132 8790} Py_INCREF(Py_None);
d5c9047a
RD
8791 _resultobj = Py_None;
8792 return _resultobj;
8793}
8794
8795#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8796static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8797 PyObject * _resultobj;
f6bcfd97 8798 wxPyTreeCtrl * _arg0;
d5c9047a 8799 wxTreeItemId * _arg1;
1d99702e
RD
8800 PyObject * _argo0 = 0;
8801 PyObject * _argo1 = 0;
efc5f224 8802 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8803
8804 self = self;
efc5f224 8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8806 return NULL;
1d99702e
RD
8807 if (_argo0) {
8808 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8811 return NULL;
8812 }
8813 }
1d99702e
RD
8814 if (_argo1) {
8815 if (_argo1 == Py_None) { _arg1 = NULL; }
8816 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8817 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8818 return NULL;
8819 }
8820 }
cf694132 8821{
4268f798 8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8823 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 8824
4268f798 8825 wxPyEndAllowThreads(__tstate);
493f1553 8826 if (PyErr_Occurred()) return NULL;
cf694132 8827} Py_INCREF(Py_None);
d5c9047a
RD
8828 _resultobj = Py_None;
8829 return _resultobj;
8830}
8831
8832#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8833static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8834 PyObject * _resultobj;
8835 wxTextCtrl * _result;
f6bcfd97 8836 wxPyTreeCtrl * _arg0;
d5c9047a 8837 wxTreeItemId * _arg1;
1d99702e
RD
8838 PyObject * _argo0 = 0;
8839 PyObject * _argo1 = 0;
efc5f224 8840 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8841
8842 self = self;
efc5f224 8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8844 return NULL;
1d99702e
RD
8845 if (_argo0) {
8846 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8849 return NULL;
8850 }
8851 }
1d99702e
RD
8852 if (_argo1) {
8853 if (_argo1 == Py_None) { _arg1 = NULL; }
8854 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8855 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8856 return NULL;
8857 }
8858 }
cf694132 8859{
4268f798 8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8861 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8862
4268f798 8863 wxPyEndAllowThreads(__tstate);
493f1553 8864 if (PyErr_Occurred()) return NULL;
9416aa89 8865}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8866 return _resultobj;
8867}
8868
8869#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 8870static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8871 PyObject * _resultobj;
8872 wxTextCtrl * _result;
f6bcfd97 8873 wxPyTreeCtrl * _arg0;
1d99702e 8874 PyObject * _argo0 = 0;
efc5f224 8875 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8876
8877 self = self;
efc5f224 8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 8879 return NULL;
1d99702e
RD
8880 if (_argo0) {
8881 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8884 return NULL;
8885 }
8886 }
cf694132 8887{
4268f798 8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8889 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
cf694132 8890
4268f798 8891 wxPyEndAllowThreads(__tstate);
493f1553 8892 if (PyErr_Occurred()) return NULL;
9416aa89 8893}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8894 return _resultobj;
8895}
8896
8897#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 8898static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8899 PyObject * _resultobj;
f6bcfd97 8900 wxPyTreeCtrl * _arg0;
d5c9047a 8901 wxTreeItemId * _arg1;
b1462dfa 8902 int _arg2 = (int ) FALSE;
1d99702e
RD
8903 PyObject * _argo0 = 0;
8904 PyObject * _argo1 = 0;
efc5f224 8905 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
8906
8907 self = self;
b1462dfa 8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 8909 return NULL;
1d99702e
RD
8910 if (_argo0) {
8911 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8914 return NULL;
8915 }
8916 }
1d99702e
RD
8917 if (_argo1) {
8918 if (_argo1 == Py_None) { _arg1 = NULL; }
8919 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8920 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8921 return NULL;
8922 }
8923 }
cf694132 8924{
4268f798 8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8926 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
cf694132 8927
4268f798 8928 wxPyEndAllowThreads(__tstate);
493f1553 8929 if (PyErr_Occurred()) return NULL;
cf694132 8930} Py_INCREF(Py_None);
d5c9047a 8931 _resultobj = Py_None;
8ab979d7
RD
8932 return _resultobj;
8933}
8934
d426c97e
RD
8935#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8936static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8937 PyObject * _resultobj;
f6bcfd97 8938 wxPyTreeCtrl * _arg0;
d426c97e
RD
8939 wxTreeItemId * _arg1;
8940 PyObject * _argo0 = 0;
8941 PyObject * _argo1 = 0;
8942 char *_kwnames[] = { "self","item", NULL };
8943
8944 self = self;
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
8946 return NULL;
8947 if (_argo0) {
8948 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8951 return NULL;
8952 }
8953 }
8954 if (_argo1) {
8955 if (_argo1 == Py_None) { _arg1 = NULL; }
8956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8958 return NULL;
8959 }
8960 }
8961{
4268f798 8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8963 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 8964
4268f798 8965 wxPyEndAllowThreads(__tstate);
493f1553 8966 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8967} Py_INCREF(Py_None);
8968 _resultobj = Py_None;
8969 return _resultobj;
8970}
8971
b8b8dda7 8972#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 8973static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 8974 PyObject * _resultobj;
f6bcfd97 8975 wxPyTreeCtrl * _arg0;
b8b8dda7 8976 wxTreeItemId * _arg1;
b1462dfa 8977 int _arg2 = (int ) TRUE;
1d99702e
RD
8978 PyObject * _argo0 = 0;
8979 PyObject * _argo1 = 0;
efc5f224 8980 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
8981
8982 self = self;
b1462dfa 8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 8984 return NULL;
1d99702e
RD
8985 if (_argo0) {
8986 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
8989 return NULL;
8990 }
8991 }
1d99702e
RD
8992 if (_argo1) {
8993 if (_argo1 == Py_None) { _arg1 = NULL; }
8994 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
8995 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8996 return NULL;
8997 }
8998 }
cf694132 8999{
4268f798 9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9001 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 9002
4268f798 9003 wxPyEndAllowThreads(__tstate);
493f1553 9004 if (PyErr_Occurred()) return NULL;
cf694132 9005} Py_INCREF(Py_None);
b8b8dda7
RD
9006 _resultobj = Py_None;
9007 return _resultobj;
9008}
9009
9010#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9011static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9012 PyObject * _resultobj;
9013 bool _result;
f6bcfd97 9014 wxPyTreeCtrl * _arg0;
b8b8dda7 9015 wxTreeItemId * _arg1;
1d99702e
RD
9016 PyObject * _argo0 = 0;
9017 PyObject * _argo1 = 0;
efc5f224 9018 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9019
9020 self = self;
efc5f224 9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9022 return NULL;
1d99702e
RD
9023 if (_argo0) {
9024 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9027 return NULL;
9028 }
9029 }
1d99702e
RD
9030 if (_argo1) {
9031 if (_argo1 == Py_None) { _arg1 = NULL; }
9032 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9033 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9034 return NULL;
9035 }
9036 }
cf694132 9037{
4268f798 9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9039 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 9040
4268f798 9041 wxPyEndAllowThreads(__tstate);
493f1553 9042 if (PyErr_Occurred()) return NULL;
cf694132 9043} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9044 return _resultobj;
9045}
9046
164b735b 9047#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9048static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9049 PyObject * _resultobj;
9050 wxTreeItemId * _result;
f6bcfd97 9051 wxPyTreeCtrl * _arg0;
b8b8dda7 9052 wxPoint * _arg1;
164b735b
RD
9053 int * _arg2;
9054 int temp;
1d99702e 9055 PyObject * _argo0 = 0;
164b735b 9056 wxPoint temp0;
2f90df85 9057 PyObject * _obj1 = 0;
efc5f224 9058 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9059 char _ptemp[128];
9060
9061 self = self;
164b735b
RD
9062{
9063 _arg2 = &temp;
9064}
2f90df85 9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9066 return NULL;
1d99702e
RD
9067 if (_argo0) {
9068 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9071 return NULL;
9072 }
9073 }
2f90df85 9074{
164b735b 9075 _arg1 = &temp0;
2f90df85 9076 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9077 return NULL;
2f90df85 9078}
cf694132 9079{
4268f798 9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9081 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9082
4268f798 9083 wxPyEndAllowThreads(__tstate);
493f1553 9084 if (PyErr_Occurred()) return NULL;
cf694132 9085} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9086 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9087{
9088 PyObject *o;
9089 o = PyInt_FromLong((long) (*_arg2));
9090 _resultobj = t_output_helper(_resultobj, o);
9091}
b8b8dda7
RD
9092 return _resultobj;
9093}
9094
b7e72427
RD
9095#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9096static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject * _resultobj;
f6bcfd97 9098 wxPyTreeCtrl * _arg0;
b7e72427
RD
9099 wxTreeItemId * _arg1;
9100 wxColour * _arg2;
9101 PyObject * _argo0 = 0;
9102 PyObject * _argo1 = 0;
f6bcfd97
BP
9103 wxColour temp;
9104 PyObject * _obj2 = 0;
b7e72427
RD
9105 char *_kwnames[] = { "self","item","col", NULL };
9106
9107 self = self;
f6bcfd97 9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9109 return NULL;
9110 if (_argo0) {
9111 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9114 return NULL;
9115 }
9116 }
9117 if (_argo1) {
9118 if (_argo1 == Py_None) { _arg1 = NULL; }
9119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9121 return NULL;
9122 }
9123 }
f6bcfd97
BP
9124{
9125 _arg2 = &temp;
9126 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9127 return NULL;
f6bcfd97 9128}
b7e72427 9129{
4268f798 9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9131 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 9132
4268f798 9133 wxPyEndAllowThreads(__tstate);
493f1553 9134 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9135} Py_INCREF(Py_None);
9136 _resultobj = Py_None;
9137 return _resultobj;
9138}
9139
9140#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9141static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject * _resultobj;
f6bcfd97 9143 wxPyTreeCtrl * _arg0;
b7e72427
RD
9144 wxTreeItemId * _arg1;
9145 wxColour * _arg2;
9146 PyObject * _argo0 = 0;
9147 PyObject * _argo1 = 0;
f6bcfd97
BP
9148 wxColour temp;
9149 PyObject * _obj2 = 0;
b7e72427
RD
9150 char *_kwnames[] = { "self","item","col", NULL };
9151
9152 self = self;
f6bcfd97 9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9154 return NULL;
9155 if (_argo0) {
9156 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9159 return NULL;
9160 }
9161 }
9162 if (_argo1) {
9163 if (_argo1 == Py_None) { _arg1 = NULL; }
9164 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9165 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9166 return NULL;
9167 }
9168 }
f6bcfd97
BP
9169{
9170 _arg2 = &temp;
9171 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9172 return NULL;
f6bcfd97 9173}
b7e72427 9174{
4268f798 9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9176 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9177
4268f798 9178 wxPyEndAllowThreads(__tstate);
493f1553 9179 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9180} Py_INCREF(Py_None);
9181 _resultobj = Py_None;
9182 return _resultobj;
9183}
9184
9185#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9186static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject * _resultobj;
f6bcfd97 9188 wxPyTreeCtrl * _arg0;
b7e72427
RD
9189 wxTreeItemId * _arg1;
9190 wxFont * _arg2;
9191 PyObject * _argo0 = 0;
9192 PyObject * _argo1 = 0;
9193 PyObject * _argo2 = 0;
9194 char *_kwnames[] = { "self","item","font", NULL };
9195
9196 self = self;
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9198 return NULL;
9199 if (_argo0) {
9200 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9203 return NULL;
9204 }
9205 }
9206 if (_argo1) {
9207 if (_argo1 == Py_None) { _arg1 = NULL; }
9208 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9210 return NULL;
9211 }
9212 }
9213 if (_argo2) {
9214 if (_argo2 == Py_None) { _arg2 = NULL; }
9215 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9216 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9217 return NULL;
9218 }
9219 }
9220{
4268f798 9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9222 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9223
4268f798 9224 wxPyEndAllowThreads(__tstate);
493f1553 9225 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9226} Py_INCREF(Py_None);
9227 _resultobj = Py_None;
9228 return _resultobj;
9229}
9230
b1462dfa
RD
9231#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9232static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject * _resultobj;
f6bcfd97 9234 wxPyTreeCtrl * _arg0;
b1462dfa
RD
9235 wxTreeItemId * _arg1;
9236 int _arg2 = (int ) TRUE;
9237 PyObject * _argo0 = 0;
9238 PyObject * _argo1 = 0;
9239 char *_kwnames[] = { "self","item","highlight", NULL };
9240
9241 self = self;
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9243 return NULL;
9244 if (_argo0) {
9245 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
9248 return NULL;
9249 }
9250 }
9251 if (_argo1) {
9252 if (_argo1 == Py_None) { _arg1 = NULL; }
9253 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9255 return NULL;
9256 }
9257 }
9258{
4268f798 9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9260 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
b1462dfa 9261
4268f798 9262 wxPyEndAllowThreads(__tstate);
493f1553 9263 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9264} Py_INCREF(Py_None);
9265 _resultobj = Py_None;
9266 return _resultobj;
9267}
9268
f6bcfd97 9269static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
d426c97e 9270 wxRect rect;
164b735b 9271 if (self->GetBoundingRect(item, rect, textOnly)) {
4268f798 9272 wxPyBeginBlockThreads();
164b735b
RD
9273 wxRect* r = new wxRect(rect);
9274 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
4268f798 9275 wxPyEndBlockThreads();
164b735b
RD
9276 return val;
9277 }
d426c97e
RD
9278 else {
9279 Py_INCREF(Py_None);
9280 return Py_None;
9281 }
9282 }
9283static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9284 PyObject * _resultobj;
9285 PyObject * _result;
f6bcfd97 9286 wxPyTreeCtrl * _arg0;
d426c97e
RD
9287 wxTreeItemId * _arg1;
9288 int _arg2 = (int ) FALSE;
9289 PyObject * _argo0 = 0;
9290 PyObject * _argo1 = 0;
9291 char *_kwnames[] = { "self","item","textOnly", NULL };
9292
9293 self = self;
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9295 return NULL;
9296 if (_argo0) {
9297 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9300 return NULL;
9301 }
9302 }
9303 if (_argo1) {
9304 if (_argo1 == Py_None) { _arg1 = NULL; }
9305 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9306 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9307 return NULL;
9308 }
9309 }
9310{
4268f798 9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9312 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
d426c97e 9313
4268f798 9314 wxPyEndAllowThreads(__tstate);
493f1553 9315 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9316}{
9317 _resultobj = _result;
9318}
9319 return _resultobj;
9320}
9321
68320e40
RD
9322static void *SwigwxDirItemDataTowxObject(void *ptr) {
9323 wxDirItemData *src;
9324 wxObject *dest;
9325 src = (wxDirItemData *) ptr;
9326 dest = (wxObject *) src;
9327 return (void *) dest;
9328}
9329
9330#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9331static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject * _resultobj;
9333 wxDirItemData * _result;
9334 wxString * _arg0;
9335 wxString * _arg1;
9336 bool _arg2;
9337 PyObject * _obj0 = 0;
9338 PyObject * _obj1 = 0;
9339 int tempbool2;
9340 char *_kwnames[] = { "path","name","isDir", NULL };
9341 char _ptemp[128];
9342
9343 self = self;
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9345 return NULL;
9346{
c8bc7bb8
RD
9347 _arg0 = wxString_in_helper(_obj0);
9348 if (_arg0 == NULL)
68320e40 9349 return NULL;
68320e40
RD
9350}
9351{
c8bc7bb8
RD
9352 _arg1 = wxString_in_helper(_obj1);
9353 if (_arg1 == NULL)
68320e40 9354 return NULL;
68320e40
RD
9355}
9356 _arg2 = (bool ) tempbool2;
9357{
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9359 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
68320e40
RD
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) return NULL;
9363} if (_result) {
9364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9365 _resultobj = Py_BuildValue("s",_ptemp);
9366 } else {
9367 Py_INCREF(Py_None);
9368 _resultobj = Py_None;
9369 }
9370{
9371 if (_obj0)
9372 delete _arg0;
9373}
9374{
9375 if (_obj1)
9376 delete _arg1;
9377}
9378 return _resultobj;
9379}
9380
9381#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9382static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject * _resultobj;
9384 wxDirItemData * _arg0;
9385 wxString * _arg1;
9386 PyObject * _argo0 = 0;
9387 PyObject * _obj1 = 0;
9388 char *_kwnames[] = { "self","path", NULL };
9389
9390 self = self;
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9392 return NULL;
9393 if (_argo0) {
9394 if (_argo0 == Py_None) { _arg0 = NULL; }
9395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9397 return NULL;
9398 }
9399 }
9400{
c8bc7bb8
RD
9401 _arg1 = wxString_in_helper(_obj1);
9402 if (_arg1 == NULL)
68320e40 9403 return NULL;
68320e40
RD
9404}
9405{
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9407 wxDirItemData_SetNewDirName(_arg0,*_arg1);
68320e40
RD
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) return NULL;
9411} Py_INCREF(Py_None);
9412 _resultobj = Py_None;
9413{
9414 if (_obj1)
9415 delete _arg1;
9416}
9417 return _resultobj;
9418}
9419
9420#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9421static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject * _resultobj;
9423 wxString * _result;
9424 wxDirItemData * _arg0;
9425 wxString * _arg1;
9426 PyObject * _argo0 = 0;
9427 PyObject * _obj1 = 0;
9428 char *_kwnames[] = { "self","m_path", NULL };
9429
9430 self = self;
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9432 return NULL;
9433 if (_argo0) {
9434 if (_argo0 == Py_None) { _arg0 = NULL; }
9435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9437 return NULL;
9438 }
9439 }
9440{
c8bc7bb8
RD
9441 _arg1 = wxString_in_helper(_obj1);
9442 if (_arg1 == NULL)
68320e40 9443 return NULL;
68320e40
RD
9444}
9445{
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9447 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
68320e40
RD
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) return NULL;
9451}{
c8bc7bb8
RD
9452#if wxUSE_UNICODE
9453 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9454#else
68320e40 9455 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9456#endif
68320e40
RD
9457}
9458{
9459 if (_obj1)
9460 delete _arg1;
9461}
9462 return _resultobj;
9463}
9464
9465#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9466static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject * _resultobj;
9468 wxString * _result;
9469 wxDirItemData * _arg0;
9470 PyObject * _argo0 = 0;
9471 char *_kwnames[] = { "self", NULL };
9472
9473 self = self;
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9475 return NULL;
9476 if (_argo0) {
9477 if (_argo0 == Py_None) { _arg0 = NULL; }
9478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9480 return NULL;
9481 }
9482 }
9483{
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9485 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
68320e40
RD
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) return NULL;
9489}{
c8bc7bb8
RD
9490#if wxUSE_UNICODE
9491 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9492#else
68320e40 9493 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9494#endif
68320e40
RD
9495}
9496 return _resultobj;
9497}
9498
9499#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9500static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject * _resultobj;
9502 wxString * _result;
9503 wxDirItemData * _arg0;
9504 wxString * _arg1;
9505 PyObject * _argo0 = 0;
9506 PyObject * _obj1 = 0;
9507 char *_kwnames[] = { "self","m_name", NULL };
9508
9509 self = self;
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
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_name_set. Expected _wxDirItemData_p.");
9516 return NULL;
9517 }
9518 }
9519{
c8bc7bb8
RD
9520 _arg1 = wxString_in_helper(_obj1);
9521 if (_arg1 == NULL)
68320e40 9522 return NULL;
68320e40
RD
9523}
9524{
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9526 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
68320e40
RD
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) return NULL;
9530}{
c8bc7bb8
RD
9531#if wxUSE_UNICODE
9532 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9533#else
68320e40 9534 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9535#endif
68320e40
RD
9536}
9537{
9538 if (_obj1)
9539 delete _arg1;
9540}
9541 return _resultobj;
9542}
9543
9544#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9545static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject * _resultobj;
9547 wxString * _result;
9548 wxDirItemData * _arg0;
9549 PyObject * _argo0 = 0;
9550 char *_kwnames[] = { "self", NULL };
9551
9552 self = self;
9553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9554 return NULL;
9555 if (_argo0) {
9556 if (_argo0 == Py_None) { _arg0 = NULL; }
9557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9559 return NULL;
9560 }
9561 }
9562{
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9564 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
68320e40
RD
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) return NULL;
9568}{
c8bc7bb8
RD
9569#if wxUSE_UNICODE
9570 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9571#else
68320e40 9572 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9573#endif
68320e40
RD
9574}
9575 return _resultobj;
9576}
9577
9578#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9579static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject * _resultobj;
9581 bool _result;
9582 wxDirItemData * _arg0;
9583 bool _arg1;
9584 PyObject * _argo0 = 0;
9585 int tempbool1;
9586 char *_kwnames[] = { "self","m_isHidden", NULL };
9587
9588 self = self;
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9590 return NULL;
9591 if (_argo0) {
9592 if (_argo0 == Py_None) { _arg0 = NULL; }
9593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9595 return NULL;
9596 }
9597 }
9598 _arg1 = (bool ) tempbool1;
9599{
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9601 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
68320e40
RD
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) return NULL;
9605} _resultobj = Py_BuildValue("i",_result);
9606 return _resultobj;
9607}
9608
9609#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9610static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject * _resultobj;
9612 bool _result;
9613 wxDirItemData * _arg0;
9614 PyObject * _argo0 = 0;
9615 char *_kwnames[] = { "self", NULL };
9616
9617 self = self;
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9619 return NULL;
9620 if (_argo0) {
9621 if (_argo0 == Py_None) { _arg0 = NULL; }
9622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9624 return NULL;
9625 }
9626 }
9627{
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9629 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
68320e40
RD
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) return NULL;
9633} _resultobj = Py_BuildValue("i",_result);
9634 return _resultobj;
9635}
9636
9637#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9638static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject * _resultobj;
9640 bool _result;
9641 wxDirItemData * _arg0;
9642 bool _arg1;
9643 PyObject * _argo0 = 0;
9644 int tempbool1;
9645 char *_kwnames[] = { "self","m_isExpanded", NULL };
9646
9647 self = self;
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9649 return NULL;
9650 if (_argo0) {
9651 if (_argo0 == Py_None) { _arg0 = NULL; }
9652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9654 return NULL;
9655 }
9656 }
9657 _arg1 = (bool ) tempbool1;
9658{
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9660 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
68320e40
RD
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) return NULL;
9664} _resultobj = Py_BuildValue("i",_result);
9665 return _resultobj;
9666}
9667
9668#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9669static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject * _resultobj;
9671 bool _result;
9672 wxDirItemData * _arg0;
9673 PyObject * _argo0 = 0;
9674 char *_kwnames[] = { "self", NULL };
9675
9676 self = self;
9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9678 return NULL;
9679 if (_argo0) {
9680 if (_argo0 == Py_None) { _arg0 = NULL; }
9681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9683 return NULL;
9684 }
9685 }
9686{
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9688 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
68320e40
RD
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) return NULL;
9692} _resultobj = Py_BuildValue("i",_result);
9693 return _resultobj;
9694}
9695
9696#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9697static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject * _resultobj;
9699 bool _result;
9700 wxDirItemData * _arg0;
9701 bool _arg1;
9702 PyObject * _argo0 = 0;
9703 int tempbool1;
9704 char *_kwnames[] = { "self","m_isDir", NULL };
9705
9706 self = self;
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9708 return NULL;
9709 if (_argo0) {
9710 if (_argo0 == Py_None) { _arg0 = NULL; }
9711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9713 return NULL;
9714 }
9715 }
9716 _arg1 = (bool ) tempbool1;
9717{
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9719 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
68320e40
RD
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) return NULL;
9723} _resultobj = Py_BuildValue("i",_result);
9724 return _resultobj;
9725}
9726
9727#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9728static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject * _resultobj;
9730 bool _result;
9731 wxDirItemData * _arg0;
9732 PyObject * _argo0 = 0;
9733 char *_kwnames[] = { "self", NULL };
9734
9735 self = self;
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9737 return NULL;
9738 if (_argo0) {
9739 if (_argo0 == Py_None) { _arg0 = NULL; }
9740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9742 return NULL;
9743 }
9744 }
9745{
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9747 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
68320e40
RD
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) return NULL;
9751} _resultobj = Py_BuildValue("i",_result);
9752 return _resultobj;
9753}
9754
9755static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9756 wxGenericDirCtrl *src;
9757 wxControl *dest;
9758 src = (wxGenericDirCtrl *) ptr;
9759 dest = (wxControl *) src;
9760 return (void *) dest;
9761}
9762
9763static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9764 wxGenericDirCtrl *src;
9765 wxWindow *dest;
9766 src = (wxGenericDirCtrl *) ptr;
9767 dest = (wxWindow *) src;
9768 return (void *) dest;
9769}
9770
9771static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9772 wxGenericDirCtrl *src;
9773 wxEvtHandler *dest;
9774 src = (wxGenericDirCtrl *) ptr;
9775 dest = (wxEvtHandler *) src;
9776 return (void *) dest;
9777}
9778
9779static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9780 wxGenericDirCtrl *src;
9781 wxObject *dest;
9782 src = (wxGenericDirCtrl *) ptr;
9783 dest = (wxObject *) src;
9784 return (void *) dest;
9785}
9786
9787#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9788static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject * _resultobj;
9790 wxGenericDirCtrl * _result;
9791 wxWindow * _arg0;
9792 wxWindowID _arg1 = (wxWindowID ) -1;
137b5242 9793 wxString * _arg2 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
9794 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9795 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9796 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 9797 wxString * _arg6 = (wxString *) &wxPyEmptyString;
68320e40 9798 int _arg7 = (int ) 0;
137b5242 9799 wxString * _arg8 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40 9800 PyObject * _argo0 = 0;
137b5242 9801 PyObject * _obj2 = 0;
68320e40
RD
9802 wxPoint temp;
9803 PyObject * _obj3 = 0;
9804 wxSize temp0;
9805 PyObject * _obj4 = 0;
137b5242
RD
9806 PyObject * _obj6 = 0;
9807 PyObject * _obj8 = 0;
68320e40
RD
9808 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9809 char _ptemp[128];
9810
9811 self = self;
137b5242 9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6,&_arg7,&_obj8))
68320e40
RD
9813 return NULL;
9814 if (_argo0) {
9815 if (_argo0 == Py_None) { _arg0 = NULL; }
9816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9818 return NULL;
9819 }
9820 }
137b5242
RD
9821 if (_obj2)
9822{
9823 _arg2 = wxString_in_helper(_obj2);
9824 if (_arg2 == NULL)
9825 return NULL;
9826}
68320e40
RD
9827 if (_obj3)
9828{
9829 _arg3 = &temp;
9830 if (! wxPoint_helper(_obj3, &_arg3))
9831 return NULL;
9832}
9833 if (_obj4)
9834{
9835 _arg4 = &temp0;
9836 if (! wxSize_helper(_obj4, &_arg4))
9837 return NULL;
137b5242
RD
9838}
9839 if (_obj6)
9840{
9841 _arg6 = wxString_in_helper(_obj6);
9842 if (_arg6 == NULL)
9843 return NULL;
9844}
9845 if (_obj8)
9846{
9847 _arg8 = wxString_in_helper(_obj8);
9848 if (_arg8 == NULL)
9849 return NULL;
68320e40
RD
9850}
9851{
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9853 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7,*_arg8);
68320e40
RD
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) return NULL;
9857} if (_result) {
9858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9859 _resultobj = Py_BuildValue("s",_ptemp);
9860 } else {
9861 Py_INCREF(Py_None);
9862 _resultobj = Py_None;
9863 }
137b5242
RD
9864{
9865 if (_obj2)
9866 delete _arg2;
9867}
9868{
9869 if (_obj6)
9870 delete _arg6;
9871}
9872{
9873 if (_obj8)
9874 delete _arg8;
9875}
68320e40
RD
9876 return _resultobj;
9877}
9878
9879#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9880static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9881 PyObject * _resultobj;
9882 wxGenericDirCtrl * _result;
9883 char *_kwnames[] = { NULL };
9884 char _ptemp[128];
9885
9886 self = self;
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9888 return NULL;
9889{
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9891 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
68320e40
RD
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) return NULL;
9895} if (_result) {
9896 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9897 _resultobj = Py_BuildValue("s",_ptemp);
9898 } else {
9899 Py_INCREF(Py_None);
9900 _resultobj = Py_None;
9901 }
9902 return _resultobj;
9903}
9904
9905#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9906static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9907 PyObject * _resultobj;
9908 bool _result;
9909 wxGenericDirCtrl * _arg0;
9910 wxWindow * _arg1;
9911 wxWindowID _arg2 = (wxWindowID ) -1;
137b5242 9912 wxString * _arg3 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
9913 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9914 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9915 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 9916 wxString * _arg7 = (wxString *) &wxPyEmptyString;
68320e40 9917 int _arg8 = (int ) 0;
137b5242 9918 wxString * _arg9 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40
RD
9919 PyObject * _argo0 = 0;
9920 PyObject * _argo1 = 0;
137b5242 9921 PyObject * _obj3 = 0;
68320e40
RD
9922 wxPoint temp;
9923 PyObject * _obj4 = 0;
9924 wxSize temp0;
9925 PyObject * _obj5 = 0;
137b5242
RD
9926 PyObject * _obj7 = 0;
9927 PyObject * _obj9 = 0;
68320e40
RD
9928 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9929
9930 self = self;
137b5242 9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7,&_arg8,&_obj9))
68320e40
RD
9932 return NULL;
9933 if (_argo0) {
9934 if (_argo0 == Py_None) { _arg0 = NULL; }
9935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9937 return NULL;
9938 }
9939 }
9940 if (_argo1) {
9941 if (_argo1 == Py_None) { _arg1 = NULL; }
9942 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9943 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9944 return NULL;
9945 }
9946 }
137b5242
RD
9947 if (_obj3)
9948{
9949 _arg3 = wxString_in_helper(_obj3);
9950 if (_arg3 == NULL)
9951 return NULL;
9952}
68320e40
RD
9953 if (_obj4)
9954{
9955 _arg4 = &temp;
9956 if (! wxPoint_helper(_obj4, &_arg4))
9957 return NULL;
9958}
9959 if (_obj5)
9960{
9961 _arg5 = &temp0;
9962 if (! wxSize_helper(_obj5, &_arg5))
9963 return NULL;
137b5242
RD
9964}
9965 if (_obj7)
9966{
9967 _arg7 = wxString_in_helper(_obj7);
9968 if (_arg7 == NULL)
9969 return NULL;
9970}
9971 if (_obj9)
9972{
9973 _arg9 = wxString_in_helper(_obj9);
9974 if (_arg9 == NULL)
9975 return NULL;
68320e40
RD
9976}
9977{
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9979 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8,*_arg9);
68320e40
RD
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) return NULL;
9983} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
9984{
9985 if (_obj3)
9986 delete _arg3;
9987}
9988{
9989 if (_obj7)
9990 delete _arg7;
9991}
9992{
9993 if (_obj9)
9994 delete _arg9;
9995}
68320e40
RD
9996 return _resultobj;
9997}
9998
9999#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10000static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject * _resultobj;
10002 bool _result;
10003 wxGenericDirCtrl * _arg0;
10004 wxString * _arg1;
10005 PyObject * _argo0 = 0;
10006 PyObject * _obj1 = 0;
10007 char *_kwnames[] = { "self","path", NULL };
10008
10009 self = self;
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
10011 return NULL;
10012 if (_argo0) {
10013 if (_argo0 == Py_None) { _arg0 = NULL; }
10014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10016 return NULL;
10017 }
10018 }
10019{
c8bc7bb8
RD
10020 _arg1 = wxString_in_helper(_obj1);
10021 if (_arg1 == NULL)
68320e40 10022 return NULL;
68320e40
RD
10023}
10024{
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10026 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
68320e40
RD
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) return NULL;
10030} _resultobj = Py_BuildValue("i",_result);
10031{
10032 if (_obj1)
10033 delete _arg1;
10034}
10035 return _resultobj;
10036}
10037
10038#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10039static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject * _resultobj;
10041 wxString * _result;
10042 wxGenericDirCtrl * _arg0;
10043 PyObject * _argo0 = 0;
10044 char *_kwnames[] = { "self", NULL };
10045
10046 self = self;
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10048 return NULL;
10049 if (_argo0) {
10050 if (_argo0 == Py_None) { _arg0 = NULL; }
10051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10053 return NULL;
10054 }
10055 }
10056{
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10058 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
68320e40
RD
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) return NULL;
10062}{
c8bc7bb8
RD
10063#if wxUSE_UNICODE
10064 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10065#else
68320e40 10066 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10067#endif
68320e40
RD
10068}
10069{
10070 delete _result;
10071}
10072 return _resultobj;
10073}
10074
10075#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10076static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject * _resultobj;
10078 wxGenericDirCtrl * _arg0;
10079 wxString * _arg1;
10080 PyObject * _argo0 = 0;
10081 PyObject * _obj1 = 0;
10082 char *_kwnames[] = { "self","path", NULL };
10083
10084 self = self;
10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10086 return NULL;
10087 if (_argo0) {
10088 if (_argo0 == Py_None) { _arg0 = NULL; }
10089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10091 return NULL;
10092 }
10093 }
10094{
c8bc7bb8
RD
10095 _arg1 = wxString_in_helper(_obj1);
10096 if (_arg1 == NULL)
68320e40 10097 return NULL;
68320e40
RD
10098}
10099{
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10101 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
68320e40
RD
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) return NULL;
10105} Py_INCREF(Py_None);
10106 _resultobj = Py_None;
10107{
10108 if (_obj1)
10109 delete _arg1;
10110}
10111 return _resultobj;
10112}
10113
10114#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10115static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10116 PyObject * _resultobj;
10117 wxString * _result;
10118 wxGenericDirCtrl * _arg0;
10119 PyObject * _argo0 = 0;
10120 char *_kwnames[] = { "self", NULL };
10121
10122 self = self;
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10124 return NULL;
10125 if (_argo0) {
10126 if (_argo0 == Py_None) { _arg0 = NULL; }
10127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10129 return NULL;
10130 }
10131 }
10132{
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10134 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
68320e40
RD
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) return NULL;
10138}{
c8bc7bb8
RD
10139#if wxUSE_UNICODE
10140 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10141#else
68320e40 10142 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10143#endif
68320e40
RD
10144}
10145{
10146 delete _result;
10147}
10148 return _resultobj;
10149}
10150
10151#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10152static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject * _resultobj;
10154 wxString * _result;
10155 wxGenericDirCtrl * _arg0;
10156 PyObject * _argo0 = 0;
10157 char *_kwnames[] = { "self", NULL };
10158
10159 self = self;
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10161 return NULL;
10162 if (_argo0) {
10163 if (_argo0 == Py_None) { _arg0 = NULL; }
10164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10166 return NULL;
10167 }
10168 }
10169{
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10171 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
68320e40
RD
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) return NULL;
10175}{
c8bc7bb8
RD
10176#if wxUSE_UNICODE
10177 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10178#else
68320e40 10179 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10180#endif
68320e40
RD
10181}
10182{
10183 delete _result;
10184}
10185 return _resultobj;
10186}
10187
10188#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10189static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject * _resultobj;
10191 wxGenericDirCtrl * _arg0;
10192 wxString * _arg1;
10193 PyObject * _argo0 = 0;
10194 PyObject * _obj1 = 0;
10195 char *_kwnames[] = { "self","path", NULL };
10196
10197 self = self;
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10199 return NULL;
10200 if (_argo0) {
10201 if (_argo0 == Py_None) { _arg0 = NULL; }
10202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10204 return NULL;
10205 }
10206 }
10207{
c8bc7bb8
RD
10208 _arg1 = wxString_in_helper(_obj1);
10209 if (_arg1 == NULL)
68320e40 10210 return NULL;
68320e40
RD
10211}
10212{
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10214 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
68320e40
RD
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) return NULL;
10218} Py_INCREF(Py_None);
10219 _resultobj = Py_None;
10220{
10221 if (_obj1)
10222 delete _arg1;
10223}
10224 return _resultobj;
10225}
10226
10227#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10228static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject * _resultobj;
10230 wxGenericDirCtrl * _arg0;
10231 bool _arg1;
10232 PyObject * _argo0 = 0;
10233 int tempbool1;
10234 char *_kwnames[] = { "self","show", NULL };
10235
10236 self = self;
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10238 return NULL;
10239 if (_argo0) {
10240 if (_argo0 == Py_None) { _arg0 = NULL; }
10241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10243 return NULL;
10244 }
10245 }
10246 _arg1 = (bool ) tempbool1;
10247{
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10249 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
68320e40
RD
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) return NULL;
10253} Py_INCREF(Py_None);
10254 _resultobj = Py_None;
10255 return _resultobj;
10256}
10257
10258#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10259static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject * _resultobj;
10261 bool _result;
10262 wxGenericDirCtrl * _arg0;
10263 PyObject * _argo0 = 0;
10264 char *_kwnames[] = { "self", NULL };
10265
10266 self = self;
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10268 return NULL;
10269 if (_argo0) {
10270 if (_argo0 == Py_None) { _arg0 = NULL; }
10271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10273 return NULL;
10274 }
10275 }
10276{
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10278 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
68320e40
RD
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) return NULL;
10282} _resultobj = Py_BuildValue("i",_result);
10283 return _resultobj;
10284}
10285
10286#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10287static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject * _resultobj;
10289 wxString * _result;
10290 wxGenericDirCtrl * _arg0;
10291 PyObject * _argo0 = 0;
10292 char *_kwnames[] = { "self", NULL };
10293
10294 self = self;
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10296 return NULL;
10297 if (_argo0) {
10298 if (_argo0 == Py_None) { _arg0 = NULL; }
10299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10301 return NULL;
10302 }
10303 }
10304{
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10306 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
68320e40
RD
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) return NULL;
10310}{
c8bc7bb8
RD
10311#if wxUSE_UNICODE
10312 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10313#else
68320e40 10314 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10315#endif
68320e40
RD
10316}
10317{
10318 delete _result;
10319}
10320 return _resultobj;
10321}
10322
10323#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10324static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject * _resultobj;
10326 wxGenericDirCtrl * _arg0;
10327 wxString * _arg1;
10328 PyObject * _argo0 = 0;
10329 PyObject * _obj1 = 0;
10330 char *_kwnames[] = { "self","filter", NULL };
10331
10332 self = self;
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10334 return NULL;
10335 if (_argo0) {
10336 if (_argo0 == Py_None) { _arg0 = NULL; }
10337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10339 return NULL;
10340 }
10341 }
10342{
c8bc7bb8
RD
10343 _arg1 = wxString_in_helper(_obj1);
10344 if (_arg1 == NULL)
68320e40 10345 return NULL;
68320e40
RD
10346}
10347{
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10349 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
68320e40
RD
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) return NULL;
10353} Py_INCREF(Py_None);
10354 _resultobj = Py_None;
10355{
10356 if (_obj1)
10357 delete _arg1;
10358}
10359 return _resultobj;
10360}
10361
10362#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10363static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject * _resultobj;
10365 int _result;
10366 wxGenericDirCtrl * _arg0;
10367 PyObject * _argo0 = 0;
10368 char *_kwnames[] = { "self", NULL };
10369
10370 self = self;
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10372 return NULL;
10373 if (_argo0) {
10374 if (_argo0 == Py_None) { _arg0 = NULL; }
10375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10377 return NULL;
10378 }
10379 }
10380{
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10382 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
68320e40
RD
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) return NULL;
10386} _resultobj = Py_BuildValue("i",_result);
10387 return _resultobj;
10388}
10389
10390#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10391static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10392 PyObject * _resultobj;
10393 wxGenericDirCtrl * _arg0;
10394 int _arg1;
10395 PyObject * _argo0 = 0;
10396 char *_kwnames[] = { "self","n", NULL };
10397
10398 self = self;
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10400 return NULL;
10401 if (_argo0) {
10402 if (_argo0 == Py_None) { _arg0 = NULL; }
10403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10405 return NULL;
10406 }
10407 }
10408{
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10410 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
68320e40
RD
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) return NULL;
10414} Py_INCREF(Py_None);
10415 _resultobj = Py_None;
10416 return _resultobj;
10417}
10418
10419#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10420static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject * _resultobj;
10422 wxTreeItemId * _result;
10423 wxGenericDirCtrl * _arg0;
10424 PyObject * _argo0 = 0;
10425 char *_kwnames[] = { "self", NULL };
10426 char _ptemp[128];
10427
10428 self = self;
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10430 return NULL;
10431 if (_argo0) {
10432 if (_argo0 == Py_None) { _arg0 = NULL; }
10433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10435 return NULL;
10436 }
10437 }
10438{
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10440 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
68320e40
RD
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) return NULL;
10444} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10445 _resultobj = Py_BuildValue("s",_ptemp);
10446 return _resultobj;
10447}
10448
10449#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10450static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject * _resultobj;
10452 wxTreeCtrl * _result;
10453 wxGenericDirCtrl * _arg0;
10454 PyObject * _argo0 = 0;
10455 char *_kwnames[] = { "self", NULL };
68320e40
RD
10456
10457 self = self;
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10459 return NULL;
10460 if (_argo0) {
10461 if (_argo0 == Py_None) { _arg0 = NULL; }
10462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10464 return NULL;
10465 }
10466 }
10467{
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10469 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
68320e40
RD
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) return NULL;
9398120d 10473}{ _resultobj = wxPyMake_wxObject(_result); }
68320e40
RD
10474 return _resultobj;
10475}
10476
10477#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10478static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject * _resultobj;
10480 wxDirFilterListCtrl * _result;
10481 wxGenericDirCtrl * _arg0;
10482 PyObject * _argo0 = 0;
10483 char *_kwnames[] = { "self", NULL };
10484 char _ptemp[128];
10485
10486 self = self;
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10488 return NULL;
10489 if (_argo0) {
10490 if (_argo0 == Py_None) { _arg0 = NULL; }
10491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10493 return NULL;
10494 }
10495 }
10496{
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10498 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
68320e40
RD
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) return NULL;
10502} if (_result) {
10503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10504 _resultobj = Py_BuildValue("s",_ptemp);
10505 } else {
10506 Py_INCREF(Py_None);
10507 _resultobj = Py_None;
10508 }
10509 return _resultobj;
10510}
10511
10512static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10513 wxDirFilterListCtrl *src;
10514 wxChoice *dest;
10515 src = (wxDirFilterListCtrl *) ptr;
10516 dest = (wxChoice *) src;
10517 return (void *) dest;
10518}
10519
10520static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10521 wxDirFilterListCtrl *src;
10522 wxControlWithItems *dest;
10523 src = (wxDirFilterListCtrl *) ptr;
10524 dest = (wxControlWithItems *) src;
10525 return (void *) dest;
10526}
10527
10528static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10529 wxDirFilterListCtrl *src;
10530 wxControl *dest;
10531 src = (wxDirFilterListCtrl *) ptr;
10532 dest = (wxControl *) src;
10533 return (void *) dest;
10534}
10535
10536static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10537 wxDirFilterListCtrl *src;
10538 wxWindow *dest;
10539 src = (wxDirFilterListCtrl *) ptr;
10540 dest = (wxWindow *) src;
10541 return (void *) dest;
10542}
10543
10544static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10545 wxDirFilterListCtrl *src;
10546 wxEvtHandler *dest;
10547 src = (wxDirFilterListCtrl *) ptr;
10548 dest = (wxEvtHandler *) src;
10549 return (void *) dest;
10550}
10551
10552static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10553 wxDirFilterListCtrl *src;
10554 wxObject *dest;
10555 src = (wxDirFilterListCtrl *) ptr;
10556 dest = (wxObject *) src;
10557 return (void *) dest;
10558}
10559
10560#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10561static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject * _resultobj;
10563 wxDirFilterListCtrl * _result;
10564 wxGenericDirCtrl * _arg0;
10565 wxWindowID _arg1 = (wxWindowID ) -1;
10566 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10567 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10568 long _arg4 = (long ) 0;
10569 PyObject * _argo0 = 0;
10570 wxPoint temp;
10571 PyObject * _obj2 = 0;
10572 wxSize temp0;
10573 PyObject * _obj3 = 0;
10574 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10575 char _ptemp[128];
10576
10577 self = self;
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10579 return NULL;
10580 if (_argo0) {
10581 if (_argo0 == Py_None) { _arg0 = NULL; }
10582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10584 return NULL;
10585 }
10586 }
10587 if (_obj2)
10588{
10589 _arg2 = &temp;
10590 if (! wxPoint_helper(_obj2, &_arg2))
10591 return NULL;
10592}
10593 if (_obj3)
10594{
10595 _arg3 = &temp0;
10596 if (! wxSize_helper(_obj3, &_arg3))
10597 return NULL;
10598}
10599{
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10601 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
68320e40
RD
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) return NULL;
10605} if (_result) {
10606 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10607 _resultobj = Py_BuildValue("s",_ptemp);
10608 } else {
10609 Py_INCREF(Py_None);
10610 _resultobj = Py_None;
10611 }
10612 return _resultobj;
10613}
10614
10615#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10616static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10617 PyObject * _resultobj;
10618 wxDirFilterListCtrl * _result;
10619 char *_kwnames[] = { NULL };
10620 char _ptemp[128];
10621
10622 self = self;
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10624 return NULL;
10625{
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10627 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
68320e40
RD
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) return NULL;
10631} if (_result) {
10632 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10633 _resultobj = Py_BuildValue("s",_ptemp);
10634 } else {
10635 Py_INCREF(Py_None);
10636 _resultobj = Py_None;
10637 }
10638 return _resultobj;
10639}
10640
10641#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10642static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject * _resultobj;
10644 bool _result;
10645 wxDirFilterListCtrl * _arg0;
10646 wxGenericDirCtrl * _arg1;
10647 wxWindowID _arg2 = (wxWindowID ) -1;
10648 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10649 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10650 long _arg5 = (long ) 0;
10651 PyObject * _argo0 = 0;
10652 PyObject * _argo1 = 0;
10653 wxPoint temp;
10654 PyObject * _obj3 = 0;
10655 wxSize temp0;
10656 PyObject * _obj4 = 0;
10657 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10658
10659 self = self;
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10661 return NULL;
10662 if (_argo0) {
10663 if (_argo0 == Py_None) { _arg0 = NULL; }
10664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10666 return NULL;
10667 }
10668 }
10669 if (_argo1) {
10670 if (_argo1 == Py_None) { _arg1 = NULL; }
10671 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10672 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10673 return NULL;
10674 }
10675 }
10676 if (_obj3)
10677{
10678 _arg3 = &temp;
10679 if (! wxPoint_helper(_obj3, &_arg3))
10680 return NULL;
10681}
10682 if (_obj4)
10683{
10684 _arg4 = &temp0;
10685 if (! wxSize_helper(_obj4, &_arg4))
10686 return NULL;
10687}
10688{
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10690 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
68320e40
RD
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) return NULL;
10694} _resultobj = Py_BuildValue("i",_result);
10695 return _resultobj;
10696}
10697
10698#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10699static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject * _resultobj;
10701 wxDirFilterListCtrl * _arg0;
10702 wxString * _arg1;
10703 int _arg2;
10704 PyObject * _argo0 = 0;
10705 PyObject * _obj1 = 0;
10706 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10707
10708 self = self;
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10710 return NULL;
10711 if (_argo0) {
10712 if (_argo0 == Py_None) { _arg0 = NULL; }
10713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10715 return NULL;
10716 }
10717 }
10718{
c8bc7bb8
RD
10719 _arg1 = wxString_in_helper(_obj1);
10720 if (_arg1 == NULL)
68320e40 10721 return NULL;
68320e40
RD
10722}
10723{
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10725 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
68320e40
RD
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) return NULL;
10729} Py_INCREF(Py_None);
10730 _resultobj = Py_None;
10731{
10732 if (_obj1)
10733 delete _arg1;
10734}
10735 return _resultobj;
10736}
10737
8ab979d7 10738static PyMethodDef controls2cMethods[] = {
68320e40
RD
10739 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10740 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10741 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10742 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10743 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10744 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10745 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10746 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10747 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10748 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10749 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10750 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10751 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10752 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10753 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10754 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10755 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10756 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10757 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10758 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10759 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10760 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10761 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10762 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10763 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10764 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10765 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10766 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10767 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10768 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10769 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10770 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10771 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10772 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
d426c97e 10773 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10774 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10775 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10776 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10777 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10778 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10779 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10780 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10781 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10782 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10783 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10784 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10785 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10786 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10787 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10788 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10789 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10790 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10791 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10792 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10793 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10794 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10795 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10796 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10797 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10798 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10799 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10800 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10801 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10802 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10803 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10804 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10805 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10806 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10807 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10808 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10809 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10810 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10811 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10812 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10813 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10814 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10815 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10816 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10817 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10818 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10819 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10820 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10821 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10822 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10823 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10824 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10825 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10826 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10827 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10828 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10829 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10830 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10831 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10832 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10833 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10834 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10835 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10836 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10837 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10838 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10839 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10840 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10841 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10842 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10843 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10844 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10845 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10846 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
ecc08ead 10847 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10848 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10849 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10850 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
00b6c4e3 10851 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10852 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10853 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10854 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10855 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10856 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10857 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10858 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10859 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10860 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10861 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10862 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10863 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10864 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10865 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10866 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10867 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10868 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10869 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10870 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
10871 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10872 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10873 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10874 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10875 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10876 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10877 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10878 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10879 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10880 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10881 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 10882 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
3bd1e033
RD
10883 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10884 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10885 { "wxListCtrl_GetItemTextColour", (PyCFunction) _wrap_wxListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
10886 { "wxListCtrl_SetItemTextColour", (PyCFunction) _wrap_wxListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 10887 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10888 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10889 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10890 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10891 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10892 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10893 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10894 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10895 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10896 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10897 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10898 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10899 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10900 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10901 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10902 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10903 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10904 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10905 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10906 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10907 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10908 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10909 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10910 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10911 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10912 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10913 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10914 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10915 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10916 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10917 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10918 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10919 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10920 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10921 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10922 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10923 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10924 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10925 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10926 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10927 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10928 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10929 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10930 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10931 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10932 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10933 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10934 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
10935 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
10936 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
10937 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10938 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
10939 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10940 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10941 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
10942 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10943 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10944 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10945 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10946 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10947 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10948 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
10949 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
10950 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10951 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
10952 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
10953 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
10954 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
10955 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10956 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10957 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10958 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10959 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
10960 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224 10961 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10962 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10963 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10964 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
ebf4302c 10965 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10966 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
6d19860f 10967 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10968 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
10969 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
10970 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
10971 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
10972 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
10973 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
10974 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
10975 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
10976 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
10977 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
10978 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
10979 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
10980 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
10981 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
10982 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
10983 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
10984 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
10985 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
10986 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
10987 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10988 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
10989 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10990 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10991 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
10992 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
10993 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
10994 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
10995 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
10996 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
10997 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
10998 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
10999 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
11000 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11001 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11002 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11003 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11004 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11005 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11006 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11007 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11008 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11009 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11010 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11011 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11012 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11013 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11014 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11015 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11016 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11017 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11018 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11019 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11020 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11021 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11022 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11023 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11024 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11025 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11026 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11027 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11028 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11029 { NULL, NULL }
11030};
1d99702e
RD
11031#ifdef __cplusplus
11032}
11033#endif
11034/*
11035 * This table is used by the pointer type-checker
11036 */
11037static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11038 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11039 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11040 { "_signed_long","_long",0},
b1462dfa 11041 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11042 { "_wxPrintQuality","_int",0},
11043 { "_wxPrintQuality","_signed_int",0},
11044 { "_wxPrintQuality","_unsigned_int",0},
11045 { "_wxPrintQuality","_wxWindowID",0},
11046 { "_wxPrintQuality","_uint",0},
11047 { "_wxPrintQuality","_EBool",0},
11048 { "_wxPrintQuality","_size_t",0},
c368d904 11049 { "_wxPrintQuality","_time_t",0},
1d99702e 11050 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11051 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11052 { "_byte","_unsigned_char",0},
68320e40 11053 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11054 { "_long","_unsigned_long",0},
11055 { "_long","_signed_long",0},
b1462dfa 11056 { "_size_t","_wxCoord",0},
1d99702e 11057 { "_size_t","_wxPrintQuality",0},
c368d904 11058 { "_size_t","_time_t",0},
1d99702e
RD
11059 { "_size_t","_unsigned_int",0},
11060 { "_size_t","_int",0},
11061 { "_size_t","_wxWindowID",0},
11062 { "_size_t","_uint",0},
b1462dfa 11063 { "_uint","_wxCoord",0},
1d99702e 11064 { "_uint","_wxPrintQuality",0},
c368d904 11065 { "_uint","_time_t",0},
1d99702e
RD
11066 { "_uint","_size_t",0},
11067 { "_uint","_unsigned_int",0},
11068 { "_uint","_int",0},
11069 { "_uint","_wxWindowID",0},
f6bcfd97 11070 { "_wxChar","_char",0},
1d99702e 11071 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11072 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11073 { "_char","_wxChar",0},
cdf14688 11074 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11075 { "_EBool","_wxCoord",0},
1d99702e
RD
11076 { "_EBool","_wxPrintQuality",0},
11077 { "_EBool","_signed_int",0},
11078 { "_EBool","_int",0},
11079 { "_EBool","_wxWindowID",0},
1d99702e 11080 { "_unsigned_long","_long",0},
cdf14688 11081 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11082 { "_signed_int","_wxCoord",0},
1d99702e
RD
11083 { "_signed_int","_wxPrintQuality",0},
11084 { "_signed_int","_EBool",0},
11085 { "_signed_int","_wxWindowID",0},
11086 { "_signed_int","_int",0},
1d99702e
RD
11087 { "_WXTYPE","_short",0},
11088 { "_WXTYPE","_signed_short",0},
11089 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11090 { "_unsigned_short","_WXTYPE",0},
11091 { "_unsigned_short","_short",0},
68320e40
RD
11092 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11093 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11094 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9416aa89 11095 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9416aa89 11096 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9416aa89 11097 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
6d19860f 11098 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
c7e7022c 11099 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9416aa89 11100 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9416aa89 11101 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11102 { "_signed_short","_WXTYPE",0},
11103 { "_signed_short","_short",0},
1d99702e 11104 { "_unsigned_char","_byte",0},
68320e40
RD
11105 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11106 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11107 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
6d19860f 11108 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
c7e7022c 11109 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11110 { "_unsigned_int","_wxCoord",0},
1d99702e 11111 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11112 { "_unsigned_int","_time_t",0},
1d99702e
RD
11113 { "_unsigned_int","_size_t",0},
11114 { "_unsigned_int","_uint",0},
11115 { "_unsigned_int","_wxWindowID",0},
11116 { "_unsigned_int","_int",0},
1d99702e
RD
11117 { "_short","_WXTYPE",0},
11118 { "_short","_unsigned_short",0},
11119 { "_short","_signed_short",0},
68320e40 11120 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11121 { "_wxWindowID","_wxCoord",0},
1d99702e 11122 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11123 { "_wxWindowID","_time_t",0},
1d99702e
RD
11124 { "_wxWindowID","_size_t",0},
11125 { "_wxWindowID","_EBool",0},
11126 { "_wxWindowID","_uint",0},
11127 { "_wxWindowID","_int",0},
11128 { "_wxWindowID","_signed_int",0},
11129 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11130 { "_int","_wxCoord",0},
1d99702e 11131 { "_int","_wxPrintQuality",0},
c368d904 11132 { "_int","_time_t",0},
1d99702e
RD
11133 { "_int","_size_t",0},
11134 { "_int","_EBool",0},
11135 { "_int","_uint",0},
11136 { "_int","_wxWindowID",0},
11137 { "_int","_unsigned_int",0},
11138 { "_int","_signed_int",0},
c368d904
RD
11139 { "_time_t","_wxCoord",0},
11140 { "_time_t","_wxPrintQuality",0},
11141 { "_time_t","_unsigned_int",0},
11142 { "_time_t","_int",0},
11143 { "_time_t","_wxWindowID",0},
11144 { "_time_t","_uint",0},
11145 { "_time_t","_size_t",0},
b1462dfa
RD
11146 { "_wxCoord","_int",0},
11147 { "_wxCoord","_signed_int",0},
11148 { "_wxCoord","_unsigned_int",0},
11149 { "_wxCoord","_wxWindowID",0},
11150 { "_wxCoord","_uint",0},
11151 { "_wxCoord","_EBool",0},
11152 { "_wxCoord","_size_t",0},
c368d904 11153 { "_wxCoord","_time_t",0},
b1462dfa 11154 { "_wxCoord","_wxPrintQuality",0},
6d19860f 11155 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
68320e40
RD
11156 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11157 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11158 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
6d19860f 11159 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
c7e7022c 11160 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
68320e40
RD
11161 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11162 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11163 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
6d19860f 11164 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
c7e7022c 11165 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11166{0,0,0}};
11167
8ab979d7
RD
11168static PyObject *SWIG_globals;
11169#ifdef __cplusplus
11170extern "C"
11171#endif
1d99702e 11172SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11173 PyObject *m, *d;
11174 SWIG_globals = SWIG_newvarlink();
11175 m = Py_InitModule("controls2c", controls2cMethods);
11176 d = PyModule_GetDict(m);
c7e7022c
RD
11177 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11178 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11179 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11180 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11181 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11182 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11183 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11184 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11185 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11186 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11187 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11188 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11189 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11190 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11191 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11192 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11193 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
6d19860f
RD
11194 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11195 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11196 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11197 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
d8200036 11198 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
c7e7022c
RD
11199 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11200 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11201 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11202 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11203 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11204 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11205 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11206 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11207 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11208 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11209 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11210 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11211 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11212 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11213 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11214 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11215 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11216 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11217 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
6d19860f 11218 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
c7e7022c 11219 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11220 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11221 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11222 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
c7e7022c 11223 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11224 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11225 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11226 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11227 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11228 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11229 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11230 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11231 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11232 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11233 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11234 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11235 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11236 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11237 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11238 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11239 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11240 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11241 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11242 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11243 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11244 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11245 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11246 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11247 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11248 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11249 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11250 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11251 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11252 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11253 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11254 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11255 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11256 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11257 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11258 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11259 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11260 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11261 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11262 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
00b6c4e3
RD
11263 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11264 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11265 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11266 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11267 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
b5a5d647 11268 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
00b6c4e3
RD
11269 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11270 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11271 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
b5a5d647 11272 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
00b6c4e3
RD
11273 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11274 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11275 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11276 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11277 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11278 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11279 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11280 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11281 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11282 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11283 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11284 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11285 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11286 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11287 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11288 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11289 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11290 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11291 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11292 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11293 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11294 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11295 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11296 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11297 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1b62f00d
RD
11298 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11299 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11300 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11301 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11302 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11303 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11304 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11305 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11306 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11307 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11308 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11309 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11310 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11311 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11312 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11313 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11314 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
d1679124 11315 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
68320e40
RD
11316 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11317 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11318 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11319 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
7cdaed0b 11320 PyDict_SetItemString(d,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS));
db0ff83e
RD
11321 PyDict_SetItemString(d,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL));
11322 PyDict_SetItemString(d,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL));
9416aa89 11323
a3fbed81 11324 // Map renamed classes back to their common name for OOR
9416aa89
RD
11325 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11326 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
a3fbed81 11327 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11328{
11329 int i;
11330 for (i = 0; _swig_mapping[i].n1; i++)
11331 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11332}
8ab979d7 11333}