]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.cpp
use generic timer in wxMGL and wxX11
[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}
93
794c5cb1
RD
94#if PYTHON_API_VERSION >= 1009
95 static char* wxStringErrorMsg = "String or Unicode type required";
96#else
0122b7e3 97 static char* wxStringErrorMsg = "String type required";
794c5cb1 98#endif
09f3d4e6 99 // C++ Version of a Python aware class
c7e7022c
RD
100class wxPyListCtrl : public wxListCtrl {
101 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
102public:
09f3d4e6 103 wxPyListCtrl() : wxListCtrl() {}
c7e7022c
RD
104 wxPyListCtrl(wxWindow* parent, wxWindowID id,
105 const wxPoint& pos,
106 const wxSize& size,
107 long style,
108 const wxValidator& validator,
109 char* name) :
110 wxListCtrl(parent, id, pos, size, style, validator, name) {}
111
09f3d4e6
RD
112 bool Create(wxWindow* parent, wxWindowID id,
113 const wxPoint& pos,
114 const wxSize& size,
115 long style,
116 const wxValidator& validator,
117 char* name) {
118 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
119 }
120
c7e7022c
RD
121 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
122 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
123 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
124
125 PYPRIVATE;
126};
127
128IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
129
130IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
131IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
132IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
6d19860f 133 // Python aware sorting function for wxPyListCtrl
f6bcfd97 134 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
135 int retval = 0;
136 PyObject* func = (PyObject*)funcPtr;
4268f798 137 wxPyBeginBlockThreads();
dcd38683
RD
138
139 PyObject* args = Py_BuildValue("(ii)", item1, item2);
140 PyObject* result = PyEval_CallObject(func, args);
141 Py_DECREF(args);
142 if (result) {
143 retval = PyInt_AsLong(result);
144 Py_DECREF(result);
145 }
146
4268f798 147 wxPyEndBlockThreads();
dcd38683
RD
148 return retval;
149 }
150
151
cf694132
RD
152class wxPyTreeItemData : public wxTreeItemData {
153public:
154 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 155 if (obj == NULL)
cf694132 156 obj = Py_None;
c368d904
RD
157 Py_INCREF(obj);
158 m_obj = obj;
cf694132
RD
159 }
160
161 ~wxPyTreeItemData() {
4268f798 162 wxPyBeginBlockThreads();
c368d904 163 Py_DECREF(m_obj);
4268f798 164 wxPyEndBlockThreads();
cf694132
RD
165 }
166
167 PyObject* GetData() {
168 Py_INCREF(m_obj);
169 return m_obj;
170 }
171
172 void SetData(PyObject* obj) {
4268f798 173 wxPyBeginBlockThreads();
cf694132 174 Py_DECREF(m_obj);
4268f798 175 wxPyEndBlockThreads();
cf694132
RD
176 m_obj = obj;
177 Py_INCREF(obj);
178 }
179
180 PyObject* m_obj;
181};
09f3d4e6 182 // C++ version of Python aware wxTreeCtrl
f6bcfd97 183class wxPyTreeCtrl : public wxTreeCtrl {
3b36695d 184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 185public:
09f3d4e6 186 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
187 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
188 const wxPoint& pos,
189 const wxSize& size,
190 long style,
191 const wxValidator& validator,
192 char* name) :
193 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
194
09f3d4e6
RD
195 bool Create(wxWindow *parent, wxWindowID id,
196 const wxPoint& pos,
197 const wxSize& size,
198 long style,
199 const wxValidator& validator,
200 char* name) {
201 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
202 }
203
204
f6bcfd97
BP
205 int OnCompareItems(const wxTreeItemId& item1,
206 const wxTreeItemId& item2) {
207 int rval = 0;
19a97bd6 208 bool found;
4268f798 209 wxPyBeginBlockThreads();
19a97bd6 210 if ((found = m_myInst.findCallback("OnCompareItems")))
f6bcfd97
BP
211 rval = m_myInst.callCallback(Py_BuildValue(
212 "(OO)",
213 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
214 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
4268f798 215 wxPyEndBlockThreads();
19a97bd6 216 if (! found)
f6bcfd97 217 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
218 return rval;
219 }
220 PYPRIVATE;
221};
222
3b36695d
RD
223IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
224
1d99702e
RD
225#ifdef __cplusplus
226extern "C" {
227#endif
c7e7022c 228#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97 229static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 230 PyObject * _resultobj;
f6bcfd97 231 wxListItemAttr * _result;
c7e7022c
RD
232 wxColour * _arg0 = (wxColour *) &wxNullColour;
233 wxColour * _arg1 = (wxColour *) &wxNullColour;
234 wxFont * _arg2 = (wxFont *) &wxNullFont;
235 wxColour temp;
236 PyObject * _obj0 = 0;
237 wxColour temp0;
238 PyObject * _obj1 = 0;
239 PyObject * _argo2 = 0;
240 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97 241 char _ptemp[128];
af309447
RD
242
243 self = self;
c7e7022c
RD
244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
245 return NULL;
246 if (_obj0)
247{
248 _arg0 = &temp;
249 if (! wxColour_helper(_obj0, &_arg0))
250 return NULL;
251}
252 if (_obj1)
253{
254 _arg1 = &temp0;
255 if (! wxColour_helper(_obj1, &_arg1))
256 return NULL;
257}
258 if (_argo2) {
259 if (_argo2 == Py_None) { _arg2 = NULL; }
260 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
261 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
af309447 262 return NULL;
c7e7022c
RD
263 }
264 }
cf694132 265{
4268f798 266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 267 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 268
4268f798 269 wxPyEndAllowThreads(__tstate);
493f1553 270 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
271} if (_result) {
272 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
273 _resultobj = Py_BuildValue("s",_ptemp);
274 } else {
275 Py_INCREF(Py_None);
276 _resultobj = Py_None;
277 }
af309447
RD
278 return _resultobj;
279}
280
f6bcfd97
BP
281#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
282static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 283 PyObject * _resultobj;
f6bcfd97
BP
284 wxListItemAttr * _arg0;
285 wxColour * _arg1;
1d99702e 286 PyObject * _argo0 = 0;
f6bcfd97
BP
287 wxColour temp;
288 PyObject * _obj1 = 0;
289 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
290
291 self = self;
f6bcfd97 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 293 return NULL;
1d99702e
RD
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
298 return NULL;
299 }
300 }
f6bcfd97
BP
301{
302 _arg1 = &temp;
303 if (! wxColour_helper(_obj1, &_arg1))
304 return NULL;
305}
cf694132 306{
4268f798 307 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 308 wxListItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 309
4268f798 310 wxPyEndAllowThreads(__tstate);
493f1553 311 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
312} Py_INCREF(Py_None);
313 _resultobj = Py_None;
8ab979d7
RD
314 return _resultobj;
315}
316
f6bcfd97
BP
317#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
318static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 319 PyObject * _resultobj;
f6bcfd97
BP
320 wxListItemAttr * _arg0;
321 wxColour * _arg1;
1d99702e 322 PyObject * _argo0 = 0;
f6bcfd97
BP
323 wxColour temp;
324 PyObject * _obj1 = 0;
325 char *_kwnames[] = { "self","colBack", NULL };
af309447
RD
326
327 self = self;
f6bcfd97 328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
af309447 329 return NULL;
1d99702e
RD
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
334 return NULL;
335 }
336 }
f6bcfd97
BP
337{
338 _arg1 = &temp;
339 if (! wxColour_helper(_obj1, &_arg1))
340 return NULL;
341}
cf694132 342{
4268f798 343 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 344 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 345
4268f798 346 wxPyEndAllowThreads(__tstate);
493f1553 347 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
348} Py_INCREF(Py_None);
349 _resultobj = Py_None;
af309447
RD
350 return _resultobj;
351}
352
f6bcfd97
BP
353#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
354static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 355 PyObject * _resultobj;
f6bcfd97
BP
356 wxListItemAttr * _arg0;
357 wxFont * _arg1;
1d99702e 358 PyObject * _argo0 = 0;
f6bcfd97
BP
359 PyObject * _argo1 = 0;
360 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
361
362 self = self;
f6bcfd97 363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 364 return NULL;
1d99702e
RD
365 if (_argo0) {
366 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
369 return NULL;
370 }
371 }
372 if (_argo1) {
373 if (_argo1 == Py_None) { _arg1 = NULL; }
374 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
375 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
8ab979d7
RD
376 return NULL;
377 }
378 }
cf694132 379{
4268f798 380 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 381 wxListItemAttr_SetFont(_arg0,*_arg1);
cf694132 382
4268f798 383 wxPyEndAllowThreads(__tstate);
493f1553 384 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
385} Py_INCREF(Py_None);
386 _resultobj = Py_None;
8ab979d7
RD
387 return _resultobj;
388}
389
f6bcfd97
BP
390#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
391static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 392 PyObject * _resultobj;
f6bcfd97
BP
393 bool _result;
394 wxListItemAttr * _arg0;
1d99702e 395 PyObject * _argo0 = 0;
f6bcfd97 396 char *_kwnames[] = { "self", NULL };
af309447
RD
397
398 self = self;
f6bcfd97 399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
af309447 400 return NULL;
1d99702e
RD
401 if (_argo0) {
402 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
af309447
RD
405 return NULL;
406 }
407 }
cf694132 408{
4268f798 409 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 410 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
cf694132 411
4268f798 412 wxPyEndAllowThreads(__tstate);
493f1553 413 if (PyErr_Occurred()) return NULL;
cf694132 414} _resultobj = Py_BuildValue("i",_result);
af309447
RD
415 return _resultobj;
416}
417
f6bcfd97
BP
418#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
419static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 420 PyObject * _resultobj;
f6bcfd97
BP
421 bool _result;
422 wxListItemAttr * _arg0;
1d99702e 423 PyObject * _argo0 = 0;
efc5f224 424 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
425
426 self = self;
f6bcfd97 427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
8ab979d7 428 return NULL;
1d99702e
RD
429 if (_argo0) {
430 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
433 return NULL;
434 }
435 }
cf694132 436{
4268f798 437 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 438 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
cf694132 439
4268f798 440 wxPyEndAllowThreads(__tstate);
493f1553 441 if (PyErr_Occurred()) return NULL;
cf694132 442} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
443 return _resultobj;
444}
445
f6bcfd97
BP
446#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
447static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 448 PyObject * _resultobj;
f6bcfd97
BP
449 bool _result;
450 wxListItemAttr * _arg0;
1d99702e 451 PyObject * _argo0 = 0;
f6bcfd97 452 char *_kwnames[] = { "self", NULL };
af309447
RD
453
454 self = self;
f6bcfd97 455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
af309447 456 return NULL;
1d99702e
RD
457 if (_argo0) {
458 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
af309447
RD
461 return NULL;
462 }
463 }
cf694132 464{
4268f798 465 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 466 _result = (bool )wxListItemAttr_HasFont(_arg0);
cf694132 467
4268f798 468 wxPyEndAllowThreads(__tstate);
493f1553 469 if (PyErr_Occurred()) return NULL;
f6bcfd97 470} _resultobj = Py_BuildValue("i",_result);
af309447
RD
471 return _resultobj;
472}
473
f6bcfd97
BP
474#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
475static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 476 PyObject * _resultobj;
f6bcfd97
BP
477 wxColour * _result;
478 wxListItemAttr * _arg0;
1d99702e 479 PyObject * _argo0 = 0;
efc5f224 480 char *_kwnames[] = { "self", NULL };
f6bcfd97 481 char _ptemp[128];
8ab979d7
RD
482
483 self = self;
f6bcfd97 484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 485 return NULL;
1d99702e
RD
486 if (_argo0) {
487 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
490 return NULL;
491 }
492 }
cf694132 493{
4268f798 494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 495 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
cf694132 496
4268f798 497 wxPyEndAllowThreads(__tstate);
493f1553 498 if (PyErr_Occurred()) return NULL;
c5943253
RD
499} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
500 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
501 return _resultobj;
502}
503
f6bcfd97
BP
504#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
505static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 506 PyObject * _resultobj;
f6bcfd97
BP
507 wxColour * _result;
508 wxListItemAttr * _arg0;
1d99702e 509 PyObject * _argo0 = 0;
f6bcfd97
BP
510 char *_kwnames[] = { "self", NULL };
511 char _ptemp[128];
af309447
RD
512
513 self = self;
f6bcfd97 514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
af309447 515 return NULL;
1d99702e
RD
516 if (_argo0) {
517 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
520 return NULL;
521 }
522 }
cf694132 523{
4268f798 524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 525 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
cf694132 526
4268f798 527 wxPyEndAllowThreads(__tstate);
493f1553 528 if (PyErr_Occurred()) return NULL;
c5943253
RD
529} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
530 _resultobj = Py_BuildValue("s",_ptemp);
af309447
RD
531 return _resultobj;
532}
533
f6bcfd97
BP
534#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
535static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 536 PyObject * _resultobj;
f6bcfd97
BP
537 wxFont * _result;
538 wxListItemAttr * _arg0;
1d99702e 539 PyObject * _argo0 = 0;
efc5f224 540 char *_kwnames[] = { "self", NULL };
f6bcfd97 541 char _ptemp[128];
8ab979d7
RD
542
543 self = self;
f6bcfd97 544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
8ab979d7 545 return NULL;
1d99702e
RD
546 if (_argo0) {
547 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
8ab979d7
RD
550 return NULL;
551 }
552 }
cf694132 553{
4268f798 554 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 555 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
cf694132 556
4268f798 557 wxPyEndAllowThreads(__tstate);
493f1553 558 if (PyErr_Occurred()) return NULL;
c5943253
RD
559} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
560 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
561 return _resultobj;
562}
563
9416aa89
RD
564static void *SwigwxListItemTowxObject(void *ptr) {
565 wxListItem *src;
566 wxObject *dest;
567 src = (wxListItem *) ptr;
568 dest = (wxObject *) src;
569 return (void *) dest;
570}
571
f6bcfd97
BP
572#define new_wxListItem() (new wxListItem())
573static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 574 PyObject * _resultobj;
f6bcfd97
BP
575 wxListItem * _result;
576 char *_kwnames[] = { NULL };
577 char _ptemp[128];
af309447
RD
578
579 self = self;
f6bcfd97 580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
af309447 581 return NULL;
af309447 582{
4268f798 583 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 584 _result = (wxListItem *)new_wxListItem();
cf694132 585
4268f798 586 wxPyEndAllowThreads(__tstate);
493f1553 587 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
588} if (_result) {
589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
590 _resultobj = Py_BuildValue("s",_ptemp);
591 } else {
592 Py_INCREF(Py_None);
593 _resultobj = Py_None;
594 }
af309447
RD
595 return _resultobj;
596}
597
f6bcfd97
BP
598#define delete_wxListItem(_swigobj) (delete _swigobj)
599static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 600 PyObject * _resultobj;
8ab979d7 601 wxListItem * _arg0;
1d99702e 602 PyObject * _argo0 = 0;
efc5f224 603 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
604
605 self = self;
f6bcfd97 606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 607 return NULL;
1d99702e
RD
608 if (_argo0) {
609 if (_argo0 == Py_None) { _arg0 = NULL; }
610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
8ab979d7
RD
612 return NULL;
613 }
614 }
8ab979d7 615{
4268f798 616 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 617 delete_wxListItem(_arg0);
cf694132 618
4268f798 619 wxPyEndAllowThreads(__tstate);
493f1553 620 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
621} Py_INCREF(Py_None);
622 _resultobj = Py_None;
8ab979d7
RD
623 return _resultobj;
624}
625
f6bcfd97
BP
626#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
627static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 628 PyObject * _resultobj;
af309447 629 wxListItem * _arg0;
1d99702e 630 PyObject * _argo0 = 0;
f6bcfd97 631 char *_kwnames[] = { "self", NULL };
af309447
RD
632
633 self = self;
f6bcfd97 634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
af309447 635 return NULL;
1d99702e
RD
636 if (_argo0) {
637 if (_argo0 == Py_None) { _arg0 = NULL; }
638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
af309447
RD
640 return NULL;
641 }
642 }
cf694132 643{
4268f798 644 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 645 wxListItem_Clear(_arg0);
cf694132 646
4268f798 647 wxPyEndAllowThreads(__tstate);
493f1553 648 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
649} Py_INCREF(Py_None);
650 _resultobj = Py_None;
af309447
RD
651 return _resultobj;
652}
653
f6bcfd97
BP
654#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
655static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 656 PyObject * _resultobj;
8ab979d7 657 wxListItem * _arg0;
1d99702e 658 PyObject * _argo0 = 0;
efc5f224 659 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
660
661 self = self;
f6bcfd97 662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
8ab979d7 663 return NULL;
1d99702e
RD
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
8ab979d7
RD
668 return NULL;
669 }
670 }
cf694132 671{
4268f798 672 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 673 wxListItem_ClearAttributes(_arg0);
cf694132 674
4268f798 675 wxPyEndAllowThreads(__tstate);
493f1553 676 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
677} Py_INCREF(Py_None);
678 _resultobj = Py_None;
679 return _resultobj;
680}
681
682#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
683static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
684 PyObject * _resultobj;
685 wxListItem * _arg0;
686 long _arg1;
687 PyObject * _argo0 = 0;
688 char *_kwnames[] = { "self","mask", NULL };
689
690 self = self;
691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
692 return NULL;
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
697 return NULL;
698 }
699 }
700{
4268f798 701 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
702 wxListItem_SetMask(_arg0,_arg1);
703
4268f798 704 wxPyEndAllowThreads(__tstate);
493f1553 705 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
706} Py_INCREF(Py_None);
707 _resultobj = Py_None;
708 return _resultobj;
709}
710
711#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
712static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 wxListItem * _arg0;
715 long _arg1;
716 PyObject * _argo0 = 0;
717 char *_kwnames[] = { "self","id", NULL };
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
726 return NULL;
727 }
728 }
729{
4268f798 730 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
731 wxListItem_SetId(_arg0,_arg1);
732
4268f798 733 wxPyEndAllowThreads(__tstate);
493f1553 734 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
735} Py_INCREF(Py_None);
736 _resultobj = Py_None;
737 return _resultobj;
738}
739
740#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
741static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
742 PyObject * _resultobj;
743 wxListItem * _arg0;
744 int _arg1;
745 PyObject * _argo0 = 0;
746 char *_kwnames[] = { "self","col", NULL };
747
748 self = self;
749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
750 return NULL;
751 if (_argo0) {
752 if (_argo0 == Py_None) { _arg0 = NULL; }
753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
755 return NULL;
756 }
757 }
758{
4268f798 759 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
760 wxListItem_SetColumn(_arg0,_arg1);
761
4268f798 762 wxPyEndAllowThreads(__tstate);
493f1553 763 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
764} Py_INCREF(Py_None);
765 _resultobj = Py_None;
766 return _resultobj;
767}
768
769#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
770static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
771 PyObject * _resultobj;
772 wxListItem * _arg0;
773 long _arg1;
774 PyObject * _argo0 = 0;
775 char *_kwnames[] = { "self","state", NULL };
776
777 self = self;
778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
779 return NULL;
780 if (_argo0) {
781 if (_argo0 == Py_None) { _arg0 = NULL; }
782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
784 return NULL;
785 }
786 }
787{
4268f798 788 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
789 wxListItem_SetState(_arg0,_arg1);
790
4268f798 791 wxPyEndAllowThreads(__tstate);
493f1553 792 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
793} Py_INCREF(Py_None);
794 _resultobj = Py_None;
795 return _resultobj;
796}
797
798#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
799static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
800 PyObject * _resultobj;
801 wxListItem * _arg0;
802 long _arg1;
803 PyObject * _argo0 = 0;
804 char *_kwnames[] = { "self","stateMask", NULL };
805
806 self = self;
807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
808 return NULL;
809 if (_argo0) {
810 if (_argo0 == Py_None) { _arg0 = NULL; }
811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
813 return NULL;
814 }
815 }
816{
4268f798 817 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
818 wxListItem_SetStateMask(_arg0,_arg1);
819
4268f798 820 wxPyEndAllowThreads(__tstate);
493f1553 821 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
822} Py_INCREF(Py_None);
823 _resultobj = Py_None;
824 return _resultobj;
825}
826
827#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
828static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
829 PyObject * _resultobj;
830 wxListItem * _arg0;
831 wxString * _arg1;
832 PyObject * _argo0 = 0;
833 PyObject * _obj1 = 0;
834 char *_kwnames[] = { "self","text", NULL };
835
836 self = self;
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
838 return NULL;
839 if (_argo0) {
840 if (_argo0 == Py_None) { _arg0 = NULL; }
841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
843 return NULL;
844 }
845 }
846{
185d7c3e
RD
847#if PYTHON_API_VERSION >= 1009
848 char* tmpPtr; int tmpSize;
849 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 850 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
851 return NULL;
852 }
853 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
854 return NULL;
855 _arg1 = new wxString(tmpPtr, tmpSize);
856#else
f6bcfd97
BP
857 if (!PyString_Check(_obj1)) {
858 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
859 return NULL;
860 }
185d7c3e
RD
861 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
862#endif
f6bcfd97
BP
863}
864{
4268f798 865 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
866 wxListItem_SetText(_arg0,*_arg1);
867
4268f798 868 wxPyEndAllowThreads(__tstate);
493f1553 869 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
870} Py_INCREF(Py_None);
871 _resultobj = Py_None;
872{
873 if (_obj1)
874 delete _arg1;
875}
876 return _resultobj;
877}
878
879#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
880static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
881 PyObject * _resultobj;
882 wxListItem * _arg0;
883 int _arg1;
884 PyObject * _argo0 = 0;
885 char *_kwnames[] = { "self","image", NULL };
886
887 self = self;
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
889 return NULL;
890 if (_argo0) {
891 if (_argo0 == Py_None) { _arg0 = NULL; }
892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
894 return NULL;
895 }
896 }
897{
4268f798 898 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
899 wxListItem_SetImage(_arg0,_arg1);
900
4268f798 901 wxPyEndAllowThreads(__tstate);
493f1553 902 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
903} Py_INCREF(Py_None);
904 _resultobj = Py_None;
905 return _resultobj;
906}
907
908#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
909static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject * _resultobj;
911 wxListItem * _arg0;
912 long _arg1;
913 PyObject * _argo0 = 0;
914 char *_kwnames[] = { "self","data", NULL };
915
916 self = self;
917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
918 return NULL;
919 if (_argo0) {
920 if (_argo0 == Py_None) { _arg0 = NULL; }
921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
923 return NULL;
924 }
925 }
926{
4268f798 927 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
928 wxListItem_SetData(_arg0,_arg1);
929
4268f798 930 wxPyEndAllowThreads(__tstate);
493f1553 931 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
932} Py_INCREF(Py_None);
933 _resultobj = Py_None;
934 return _resultobj;
935}
936
937#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
938static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
939 PyObject * _resultobj;
940 wxListItem * _arg0;
941 int _arg1;
942 PyObject * _argo0 = 0;
943 char *_kwnames[] = { "self","width", NULL };
944
945 self = self;
946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
947 return NULL;
948 if (_argo0) {
949 if (_argo0 == Py_None) { _arg0 = NULL; }
950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
952 return NULL;
953 }
954 }
955{
4268f798 956 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
957 wxListItem_SetWidth(_arg0,_arg1);
958
4268f798 959 wxPyEndAllowThreads(__tstate);
493f1553 960 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
961} Py_INCREF(Py_None);
962 _resultobj = Py_None;
963 return _resultobj;
964}
965
966#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
967static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
968 PyObject * _resultobj;
969 wxListItem * _arg0;
970 wxListColumnFormat _arg1;
971 PyObject * _argo0 = 0;
972 char *_kwnames[] = { "self","align", NULL };
973
974 self = self;
975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
976 return NULL;
977 if (_argo0) {
978 if (_argo0 == Py_None) { _arg0 = NULL; }
979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
981 return NULL;
982 }
983 }
984{
4268f798 985 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
986 wxListItem_SetAlign(_arg0,_arg1);
987
4268f798 988 wxPyEndAllowThreads(__tstate);
493f1553 989 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
990} Py_INCREF(Py_None);
991 _resultobj = Py_None;
992 return _resultobj;
993}
994
995#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
996static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject * _resultobj;
998 wxListItem * _arg0;
999 wxColour * _arg1;
1000 PyObject * _argo0 = 0;
1001 wxColour temp;
1002 PyObject * _obj1 = 0;
1003 char *_kwnames[] = { "self","colText", NULL };
1004
1005 self = self;
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
1007 return NULL;
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1012 return NULL;
1013 }
1014 }
1015{
1016 _arg1 = &temp;
1017 if (! wxColour_helper(_obj1, &_arg1))
1018 return NULL;
1019}
1020{
4268f798 1021 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1022 wxListItem_SetTextColour(_arg0,*_arg1);
1023
4268f798 1024 wxPyEndAllowThreads(__tstate);
493f1553 1025 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1026} Py_INCREF(Py_None);
1027 _resultobj = Py_None;
1028 return _resultobj;
1029}
1030
1031#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1032static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject * _resultobj;
1034 wxListItem * _arg0;
1035 wxColour * _arg1;
1036 PyObject * _argo0 = 0;
1037 wxColour temp;
1038 PyObject * _obj1 = 0;
1039 char *_kwnames[] = { "self","colBack", NULL };
1040
1041 self = self;
1042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1043 return NULL;
1044 if (_argo0) {
1045 if (_argo0 == Py_None) { _arg0 = NULL; }
1046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1048 return NULL;
1049 }
1050 }
1051{
1052 _arg1 = &temp;
1053 if (! wxColour_helper(_obj1, &_arg1))
1054 return NULL;
1055}
1056{
4268f798 1057 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1058 wxListItem_SetBackgroundColour(_arg0,*_arg1);
1059
4268f798 1060 wxPyEndAllowThreads(__tstate);
493f1553 1061 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1062} Py_INCREF(Py_None);
1063 _resultobj = Py_None;
1064 return _resultobj;
1065}
1066
1067#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1068static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1069 PyObject * _resultobj;
1070 wxListItem * _arg0;
1071 wxFont * _arg1;
1072 PyObject * _argo0 = 0;
1073 PyObject * _argo1 = 0;
1074 char *_kwnames[] = { "self","font", NULL };
1075
1076 self = self;
1077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1078 return NULL;
1079 if (_argo0) {
1080 if (_argo0 == Py_None) { _arg0 = NULL; }
1081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1083 return NULL;
1084 }
1085 }
1086 if (_argo1) {
1087 if (_argo1 == Py_None) { _arg1 = NULL; }
1088 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1090 return NULL;
1091 }
1092 }
1093{
4268f798 1094 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1095 wxListItem_SetFont(_arg0,*_arg1);
1096
4268f798 1097 wxPyEndAllowThreads(__tstate);
493f1553 1098 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1099} Py_INCREF(Py_None);
1100 _resultobj = Py_None;
1101 return _resultobj;
1102}
1103
1104#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1105static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1106 PyObject * _resultobj;
1107 long _result;
1108 wxListItem * _arg0;
1109 PyObject * _argo0 = 0;
1110 char *_kwnames[] = { "self", NULL };
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1119 return NULL;
1120 }
1121 }
1122{
4268f798 1123 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1124 _result = (long )wxListItem_GetMask(_arg0);
1125
4268f798 1126 wxPyEndAllowThreads(__tstate);
493f1553 1127 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1128} _resultobj = Py_BuildValue("l",_result);
1129 return _resultobj;
1130}
1131
1132#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1133static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 long _result;
1136 wxListItem * _arg0;
1137 PyObject * _argo0 = 0;
1138 char *_kwnames[] = { "self", NULL };
1139
1140 self = self;
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1142 return NULL;
1143 if (_argo0) {
1144 if (_argo0 == Py_None) { _arg0 = NULL; }
1145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1147 return NULL;
1148 }
1149 }
1150{
4268f798 1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1152 _result = (long )wxListItem_GetId(_arg0);
1153
4268f798 1154 wxPyEndAllowThreads(__tstate);
493f1553 1155 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1156} _resultobj = Py_BuildValue("l",_result);
1157 return _resultobj;
1158}
1159
1160#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1161static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1162 PyObject * _resultobj;
1163 int _result;
1164 wxListItem * _arg0;
1165 PyObject * _argo0 = 0;
1166 char *_kwnames[] = { "self", NULL };
1167
1168 self = self;
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1170 return NULL;
1171 if (_argo0) {
1172 if (_argo0 == Py_None) { _arg0 = NULL; }
1173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1175 return NULL;
1176 }
1177 }
1178{
4268f798 1179 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1180 _result = (int )wxListItem_GetColumn(_arg0);
1181
4268f798 1182 wxPyEndAllowThreads(__tstate);
493f1553 1183 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1184} _resultobj = Py_BuildValue("i",_result);
1185 return _resultobj;
1186}
1187
1188#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1189static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1190 PyObject * _resultobj;
1191 long _result;
1192 wxListItem * _arg0;
1193 PyObject * _argo0 = 0;
1194 char *_kwnames[] = { "self", NULL };
1195
1196 self = self;
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1198 return NULL;
1199 if (_argo0) {
1200 if (_argo0 == Py_None) { _arg0 = NULL; }
1201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1203 return NULL;
1204 }
1205 }
1206{
4268f798 1207 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1208 _result = (long )wxListItem_GetState(_arg0);
1209
4268f798 1210 wxPyEndAllowThreads(__tstate);
493f1553 1211 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1212} _resultobj = Py_BuildValue("l",_result);
1213 return _resultobj;
1214}
1215
1216#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1217static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1218 PyObject * _resultobj;
1219 wxString * _result;
1220 wxListItem * _arg0;
1221 PyObject * _argo0 = 0;
1222 char *_kwnames[] = { "self", NULL };
1223
1224 self = self;
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1226 return NULL;
1227 if (_argo0) {
1228 if (_argo0 == Py_None) { _arg0 = NULL; }
1229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1231 return NULL;
1232 }
1233 }
1234{
4268f798 1235 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1236 const wxString & _result_ref = wxListItem_GetText(_arg0);
1237 _result = (wxString *) &_result_ref;
1238
4268f798 1239 wxPyEndAllowThreads(__tstate);
493f1553 1240 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1241}{
1242 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1243}
1244 return _resultobj;
1245}
1246
1247#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1248static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1249 PyObject * _resultobj;
1250 int _result;
1251 wxListItem * _arg0;
1252 PyObject * _argo0 = 0;
1253 char *_kwnames[] = { "self", NULL };
1254
1255 self = self;
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1257 return NULL;
1258 if (_argo0) {
1259 if (_argo0 == Py_None) { _arg0 = NULL; }
1260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1262 return NULL;
1263 }
1264 }
1265{
4268f798 1266 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1267 _result = (int )wxListItem_GetImage(_arg0);
1268
4268f798 1269 wxPyEndAllowThreads(__tstate);
493f1553 1270 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1271} _resultobj = Py_BuildValue("i",_result);
1272 return _resultobj;
1273}
1274
1275#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1276static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject * _resultobj;
1278 long _result;
1279 wxListItem * _arg0;
1280 PyObject * _argo0 = 0;
1281 char *_kwnames[] = { "self", NULL };
1282
1283 self = self;
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1285 return NULL;
1286 if (_argo0) {
1287 if (_argo0 == Py_None) { _arg0 = NULL; }
1288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1290 return NULL;
1291 }
1292 }
1293{
4268f798 1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1295 _result = (long )wxListItem_GetData(_arg0);
1296
4268f798 1297 wxPyEndAllowThreads(__tstate);
493f1553 1298 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1299} _resultobj = Py_BuildValue("l",_result);
1300 return _resultobj;
1301}
1302
1303#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1304static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 int _result;
1307 wxListItem * _arg0;
1308 PyObject * _argo0 = 0;
1309 char *_kwnames[] = { "self", NULL };
1310
1311 self = self;
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1313 return NULL;
1314 if (_argo0) {
1315 if (_argo0 == Py_None) { _arg0 = NULL; }
1316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1318 return NULL;
1319 }
1320 }
1321{
4268f798 1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1323 _result = (int )wxListItem_GetWidth(_arg0);
1324
4268f798 1325 wxPyEndAllowThreads(__tstate);
493f1553 1326 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1327} _resultobj = Py_BuildValue("i",_result);
1328 return _resultobj;
1329}
1330
1331#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1332static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 wxListColumnFormat _result;
1335 wxListItem * _arg0;
1336 PyObject * _argo0 = 0;
1337 char *_kwnames[] = { "self", NULL };
1338
1339 self = self;
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1341 return NULL;
1342 if (_argo0) {
1343 if (_argo0 == Py_None) { _arg0 = NULL; }
1344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1346 return NULL;
1347 }
1348 }
1349{
4268f798 1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1351 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
1352
4268f798 1353 wxPyEndAllowThreads(__tstate);
493f1553 1354 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1355} _resultobj = Py_BuildValue("i",_result);
1356 return _resultobj;
1357}
1358
1359#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1360static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1361 PyObject * _resultobj;
1362 wxListItemAttr * _result;
1363 wxListItem * _arg0;
1364 PyObject * _argo0 = 0;
1365 char *_kwnames[] = { "self", NULL };
1366 char _ptemp[128];
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1370 return NULL;
1371 if (_argo0) {
1372 if (_argo0 == Py_None) { _arg0 = NULL; }
1373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1375 return NULL;
1376 }
1377 }
1378{
4268f798 1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1380 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
1381
4268f798 1382 wxPyEndAllowThreads(__tstate);
493f1553 1383 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1384} if (_result) {
1385 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1386 _resultobj = Py_BuildValue("s",_ptemp);
1387 } else {
1388 Py_INCREF(Py_None);
1389 _resultobj = Py_None;
1390 }
1391 return _resultobj;
1392}
1393
1394#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1395static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1396 PyObject * _resultobj;
1397 bool _result;
1398 wxListItem * _arg0;
1399 PyObject * _argo0 = 0;
1400 char *_kwnames[] = { "self", NULL };
1401
1402 self = self;
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1404 return NULL;
1405 if (_argo0) {
1406 if (_argo0 == Py_None) { _arg0 = NULL; }
1407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1409 return NULL;
1410 }
1411 }
1412{
4268f798 1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1414 _result = (bool )wxListItem_HasAttributes(_arg0);
1415
4268f798 1416 wxPyEndAllowThreads(__tstate);
493f1553 1417 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1418} _resultobj = Py_BuildValue("i",_result);
1419 return _resultobj;
1420}
1421
1422#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1423static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject * _resultobj;
1425 wxColour * _result;
1426 wxListItem * _arg0;
1427 PyObject * _argo0 = 0;
1428 char *_kwnames[] = { "self", NULL };
1429 char _ptemp[128];
1430
1431 self = self;
1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1433 return NULL;
1434 if (_argo0) {
1435 if (_argo0 == Py_None) { _arg0 = NULL; }
1436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1438 return NULL;
1439 }
1440 }
1441{
4268f798 1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1443 _result = new wxColour (wxListItem_GetTextColour(_arg0));
1444
4268f798 1445 wxPyEndAllowThreads(__tstate);
493f1553 1446 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1447} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1448 _resultobj = Py_BuildValue("s",_ptemp);
1449 return _resultobj;
1450}
1451
1452#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1453static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject * _resultobj;
1455 wxColour * _result;
1456 wxListItem * _arg0;
1457 PyObject * _argo0 = 0;
1458 char *_kwnames[] = { "self", NULL };
1459 char _ptemp[128];
1460
1461 self = self;
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1463 return NULL;
1464 if (_argo0) {
1465 if (_argo0 == Py_None) { _arg0 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1468 return NULL;
1469 }
1470 }
1471{
4268f798 1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1473 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
1474
4268f798 1475 wxPyEndAllowThreads(__tstate);
493f1553 1476 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1477} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1478 _resultobj = Py_BuildValue("s",_ptemp);
1479 return _resultobj;
1480}
1481
1482#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1483static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1484 PyObject * _resultobj;
1485 wxFont * _result;
1486 wxListItem * _arg0;
1487 PyObject * _argo0 = 0;
1488 char *_kwnames[] = { "self", NULL };
1489 char _ptemp[128];
1490
1491 self = self;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1493 return NULL;
1494 if (_argo0) {
1495 if (_argo0 == Py_None) { _arg0 = NULL; }
1496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1498 return NULL;
1499 }
1500 }
1501{
4268f798 1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1503 _result = new wxFont (wxListItem_GetFont(_arg0));
1504
4268f798 1505 wxPyEndAllowThreads(__tstate);
493f1553 1506 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1507} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1508 _resultobj = Py_BuildValue("s",_ptemp);
1509 return _resultobj;
1510}
1511
1512#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1513static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject * _resultobj;
1515 long _result;
1516 wxListItem * _arg0;
1517 long _arg1;
1518 PyObject * _argo0 = 0;
1519 char *_kwnames[] = { "self","m_mask", NULL };
1520
1521 self = self;
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1523 return NULL;
1524 if (_argo0) {
1525 if (_argo0 == Py_None) { _arg0 = NULL; }
1526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1528 return NULL;
1529 }
1530 }
1531{
4268f798 1532 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1533 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
1534
4268f798 1535 wxPyEndAllowThreads(__tstate);
493f1553 1536 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1537} _resultobj = Py_BuildValue("l",_result);
1538 return _resultobj;
1539}
1540
1541#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1542static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1543 PyObject * _resultobj;
1544 long _result;
1545 wxListItem * _arg0;
1546 PyObject * _argo0 = 0;
1547 char *_kwnames[] = { "self", NULL };
1548
1549 self = self;
1550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1551 return NULL;
1552 if (_argo0) {
1553 if (_argo0 == Py_None) { _arg0 = NULL; }
1554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1556 return NULL;
1557 }
1558 }
1559{
4268f798 1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1561 _result = (long )wxListItem_m_mask_get(_arg0);
1562
4268f798 1563 wxPyEndAllowThreads(__tstate);
493f1553 1564 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1565} _resultobj = Py_BuildValue("l",_result);
1566 return _resultobj;
1567}
1568
1569#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1570static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1571 PyObject * _resultobj;
1572 long _result;
1573 wxListItem * _arg0;
1574 long _arg1;
1575 PyObject * _argo0 = 0;
1576 char *_kwnames[] = { "self","m_itemId", NULL };
1577
1578 self = self;
1579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1580 return NULL;
1581 if (_argo0) {
1582 if (_argo0 == Py_None) { _arg0 = NULL; }
1583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1585 return NULL;
1586 }
1587 }
1588{
4268f798 1589 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1590 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
1591
4268f798 1592 wxPyEndAllowThreads(__tstate);
493f1553 1593 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1594} _resultobj = Py_BuildValue("l",_result);
1595 return _resultobj;
1596}
1597
1598#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1599static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject * _resultobj;
1601 long _result;
1602 wxListItem * _arg0;
1603 PyObject * _argo0 = 0;
1604 char *_kwnames[] = { "self", NULL };
1605
1606 self = self;
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1608 return NULL;
1609 if (_argo0) {
1610 if (_argo0 == Py_None) { _arg0 = NULL; }
1611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1613 return NULL;
1614 }
1615 }
1616{
4268f798 1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1618 _result = (long )wxListItem_m_itemId_get(_arg0);
1619
4268f798 1620 wxPyEndAllowThreads(__tstate);
493f1553 1621 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1622} _resultobj = Py_BuildValue("l",_result);
1623 return _resultobj;
1624}
1625
1626#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1627static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1628 PyObject * _resultobj;
1629 int _result;
1630 wxListItem * _arg0;
1631 int _arg1;
1632 PyObject * _argo0 = 0;
1633 char *_kwnames[] = { "self","m_col", NULL };
1634
1635 self = self;
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1637 return NULL;
1638 if (_argo0) {
1639 if (_argo0 == Py_None) { _arg0 = NULL; }
1640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1642 return NULL;
1643 }
1644 }
1645{
4268f798 1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1647 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
1648
4268f798 1649 wxPyEndAllowThreads(__tstate);
493f1553 1650 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1651} _resultobj = Py_BuildValue("i",_result);
1652 return _resultobj;
1653}
1654
1655#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1656static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject * _resultobj;
1658 int _result;
1659 wxListItem * _arg0;
1660 PyObject * _argo0 = 0;
1661 char *_kwnames[] = { "self", NULL };
1662
1663 self = self;
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1665 return NULL;
1666 if (_argo0) {
1667 if (_argo0 == Py_None) { _arg0 = NULL; }
1668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1670 return NULL;
1671 }
1672 }
1673{
4268f798 1674 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1675 _result = (int )wxListItem_m_col_get(_arg0);
1676
4268f798 1677 wxPyEndAllowThreads(__tstate);
493f1553 1678 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1679} _resultobj = Py_BuildValue("i",_result);
1680 return _resultobj;
1681}
1682
1683#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1684static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 long _result;
1687 wxListItem * _arg0;
1688 long _arg1;
1689 PyObject * _argo0 = 0;
1690 char *_kwnames[] = { "self","m_state", NULL };
1691
1692 self = self;
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1694 return NULL;
1695 if (_argo0) {
1696 if (_argo0 == Py_None) { _arg0 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1699 return NULL;
1700 }
1701 }
1702{
4268f798 1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1704 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
1705
4268f798 1706 wxPyEndAllowThreads(__tstate);
493f1553 1707 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1708} _resultobj = Py_BuildValue("l",_result);
1709 return _resultobj;
1710}
1711
1712#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1713static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 long _result;
1716 wxListItem * _arg0;
1717 PyObject * _argo0 = 0;
1718 char *_kwnames[] = { "self", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1727 return NULL;
1728 }
1729 }
1730{
4268f798 1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1732 _result = (long )wxListItem_m_state_get(_arg0);
1733
4268f798 1734 wxPyEndAllowThreads(__tstate);
493f1553 1735 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1736} _resultobj = Py_BuildValue("l",_result);
1737 return _resultobj;
1738}
1739
1740#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1741static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1742 PyObject * _resultobj;
1743 long _result;
1744 wxListItem * _arg0;
1745 long _arg1;
1746 PyObject * _argo0 = 0;
1747 char *_kwnames[] = { "self","m_stateMask", NULL };
1748
1749 self = self;
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1751 return NULL;
1752 if (_argo0) {
1753 if (_argo0 == Py_None) { _arg0 = NULL; }
1754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1756 return NULL;
1757 }
1758 }
1759{
4268f798 1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1761 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
1762
4268f798 1763 wxPyEndAllowThreads(__tstate);
493f1553 1764 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1765} _resultobj = Py_BuildValue("l",_result);
1766 return _resultobj;
1767}
1768
1769#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1770static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject * _resultobj;
1772 long _result;
1773 wxListItem * _arg0;
1774 PyObject * _argo0 = 0;
1775 char *_kwnames[] = { "self", NULL };
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1779 return NULL;
1780 if (_argo0) {
1781 if (_argo0 == Py_None) { _arg0 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1784 return NULL;
1785 }
1786 }
1787{
4268f798 1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1789 _result = (long )wxListItem_m_stateMask_get(_arg0);
1790
4268f798 1791 wxPyEndAllowThreads(__tstate);
493f1553 1792 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1793} _resultobj = Py_BuildValue("l",_result);
1794 return _resultobj;
1795}
1796
1797#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1798static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject * _resultobj;
1800 wxString * _result;
1801 wxListItem * _arg0;
1802 wxString * _arg1;
1803 PyObject * _argo0 = 0;
1804 PyObject * _obj1 = 0;
1805 char *_kwnames[] = { "self","m_text", NULL };
1806
1807 self = self;
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1809 return NULL;
1810 if (_argo0) {
1811 if (_argo0 == Py_None) { _arg0 = NULL; }
1812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1814 return NULL;
1815 }
1816 }
1817{
185d7c3e
RD
1818#if PYTHON_API_VERSION >= 1009
1819 char* tmpPtr; int tmpSize;
1820 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1821 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1822 return NULL;
1823 }
1824 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1825 return NULL;
1826 _arg1 = new wxString(tmpPtr, tmpSize);
1827#else
f6bcfd97
BP
1828 if (!PyString_Check(_obj1)) {
1829 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1830 return NULL;
1831 }
185d7c3e
RD
1832 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1833#endif
f6bcfd97
BP
1834}
1835{
4268f798 1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1837 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
1838
4268f798 1839 wxPyEndAllowThreads(__tstate);
493f1553 1840 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1841}{
1842 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1843}
1844{
1845 if (_obj1)
1846 delete _arg1;
1847}
1848 return _resultobj;
1849}
1850
1851#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1852static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject * _resultobj;
1854 wxString * _result;
1855 wxListItem * _arg0;
1856 PyObject * _argo0 = 0;
1857 char *_kwnames[] = { "self", NULL };
1858
1859 self = self;
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1861 return NULL;
1862 if (_argo0) {
1863 if (_argo0 == Py_None) { _arg0 = NULL; }
1864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1866 return NULL;
1867 }
1868 }
1869{
4268f798 1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1871 _result = (wxString *)wxListItem_m_text_get(_arg0);
1872
4268f798 1873 wxPyEndAllowThreads(__tstate);
493f1553 1874 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1875}{
1876 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1877}
1878 return _resultobj;
1879}
1880
1881#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1882static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1883 PyObject * _resultobj;
1884 int _result;
1885 wxListItem * _arg0;
1886 int _arg1;
1887 PyObject * _argo0 = 0;
1888 char *_kwnames[] = { "self","m_image", NULL };
1889
1890 self = self;
1891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1892 return NULL;
1893 if (_argo0) {
1894 if (_argo0 == Py_None) { _arg0 = NULL; }
1895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1897 return NULL;
1898 }
1899 }
1900{
4268f798 1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1902 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
1903
4268f798 1904 wxPyEndAllowThreads(__tstate);
493f1553 1905 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1906} _resultobj = Py_BuildValue("i",_result);
1907 return _resultobj;
1908}
1909
1910#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1911static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1912 PyObject * _resultobj;
1913 int _result;
1914 wxListItem * _arg0;
1915 PyObject * _argo0 = 0;
1916 char *_kwnames[] = { "self", NULL };
1917
1918 self = self;
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1920 return NULL;
1921 if (_argo0) {
1922 if (_argo0 == Py_None) { _arg0 = NULL; }
1923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1925 return NULL;
1926 }
1927 }
1928{
4268f798 1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1930 _result = (int )wxListItem_m_image_get(_arg0);
1931
4268f798 1932 wxPyEndAllowThreads(__tstate);
493f1553 1933 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1934} _resultobj = Py_BuildValue("i",_result);
1935 return _resultobj;
1936}
1937
1938#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1939static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject * _resultobj;
1941 long _result;
1942 wxListItem * _arg0;
1943 long _arg1;
1944 PyObject * _argo0 = 0;
1945 char *_kwnames[] = { "self","m_data", NULL };
1946
1947 self = self;
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1949 return NULL;
1950 if (_argo0) {
1951 if (_argo0 == Py_None) { _arg0 = NULL; }
1952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1954 return NULL;
1955 }
1956 }
1957{
4268f798 1958 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1959 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
1960
4268f798 1961 wxPyEndAllowThreads(__tstate);
493f1553 1962 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1963} _resultobj = Py_BuildValue("l",_result);
1964 return _resultobj;
1965}
1966
1967#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1968static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject * _resultobj;
1970 long _result;
1971 wxListItem * _arg0;
1972 PyObject * _argo0 = 0;
1973 char *_kwnames[] = { "self", NULL };
1974
1975 self = self;
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1977 return NULL;
1978 if (_argo0) {
1979 if (_argo0 == Py_None) { _arg0 = NULL; }
1980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1982 return NULL;
1983 }
1984 }
1985{
4268f798 1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1987 _result = (long )wxListItem_m_data_get(_arg0);
1988
4268f798 1989 wxPyEndAllowThreads(__tstate);
493f1553 1990 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1991} _resultobj = Py_BuildValue("l",_result);
1992 return _resultobj;
1993}
1994
1995#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1996static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject * _resultobj;
1998 int _result;
1999 wxListItem * _arg0;
2000 int _arg1;
2001 PyObject * _argo0 = 0;
2002 char *_kwnames[] = { "self","m_format", NULL };
2003
2004 self = self;
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
2006 return NULL;
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2011 return NULL;
2012 }
2013 }
2014{
4268f798 2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2016 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
2017
4268f798 2018 wxPyEndAllowThreads(__tstate);
493f1553 2019 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2020} _resultobj = Py_BuildValue("i",_result);
2021 return _resultobj;
2022}
2023
2024#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2025static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject * _resultobj;
2027 int _result;
2028 wxListItem * _arg0;
2029 PyObject * _argo0 = 0;
2030 char *_kwnames[] = { "self", NULL };
2031
2032 self = self;
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
2034 return NULL;
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2039 return NULL;
2040 }
2041 }
2042{
4268f798 2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2044 _result = (int )wxListItem_m_format_get(_arg0);
2045
4268f798 2046 wxPyEndAllowThreads(__tstate);
493f1553 2047 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2048} _resultobj = Py_BuildValue("i",_result);
2049 return _resultobj;
8ab979d7
RD
2050}
2051
f6bcfd97
BP
2052#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2053static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2054 PyObject * _resultobj;
f6bcfd97 2055 int _result;
af309447 2056 wxListItem * _arg0;
f6bcfd97 2057 int _arg1;
1d99702e 2058 PyObject * _argo0 = 0;
f6bcfd97 2059 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2060
2061 self = self;
f6bcfd97 2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2063 return NULL;
1d99702e
RD
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2068 return NULL;
2069 }
2070 }
cf694132 2071{
4268f798 2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2073 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2074
4268f798 2075 wxPyEndAllowThreads(__tstate);
493f1553 2076 if (PyErr_Occurred()) return NULL;
f6bcfd97 2077} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2078 return _resultobj;
2079}
2080
f6bcfd97
BP
2081#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2082static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2083 PyObject * _resultobj;
f6bcfd97 2084 int _result;
8ab979d7 2085 wxListItem * _arg0;
1d99702e 2086 PyObject * _argo0 = 0;
efc5f224 2087 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2088
2089 self = self;
f6bcfd97 2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2091 return NULL;
1d99702e
RD
2092 if (_argo0) {
2093 if (_argo0 == Py_None) { _arg0 = NULL; }
2094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97
BP
2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2096 return NULL;
2097 }
2098 }
2099{
4268f798 2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2101 _result = (int )wxListItem_m_width_get(_arg0);
2102
4268f798 2103 wxPyEndAllowThreads(__tstate);
493f1553 2104 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2105} _resultobj = Py_BuildValue("i",_result);
2106 return _resultobj;
2107}
2108
c368d904
RD
2109static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2110 wxListEvent *src;
2111 wxNotifyEvent *dest;
2112 src = (wxListEvent *) ptr;
2113 dest = (wxNotifyEvent *) src;
2114 return (void *) dest;
2115}
2116
f6bcfd97
BP
2117static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2118 wxListEvent *src;
2119 wxCommandEvent *dest;
2120 src = (wxListEvent *) ptr;
2121 dest = (wxCommandEvent *) src;
2122 return (void *) dest;
2123}
2124
2125static void *SwigwxListEventTowxEvent(void *ptr) {
2126 wxListEvent *src;
2127 wxEvent *dest;
2128 src = (wxListEvent *) ptr;
2129 dest = (wxEvent *) src;
2130 return (void *) dest;
2131}
2132
9416aa89
RD
2133static void *SwigwxListEventTowxObject(void *ptr) {
2134 wxListEvent *src;
2135 wxObject *dest;
2136 src = (wxListEvent *) ptr;
2137 dest = (wxObject *) src;
2138 return (void *) dest;
2139}
2140
6d19860f
RD
2141#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2142static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2143 PyObject * _resultobj;
2144 wxListEvent * _result;
2145 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2146 int _arg1 = (int ) 0;
2147 char *_kwnames[] = { "commandType","id", NULL };
2148 char _ptemp[128];
2149
2150 self = self;
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2152 return NULL;
2153{
4268f798 2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
2155 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
2156
4268f798 2157 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2158 if (PyErr_Occurred()) return NULL;
2159} if (_result) {
2160 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2161 _resultobj = Py_BuildValue("s",_ptemp);
2162 } else {
2163 Py_INCREF(Py_None);
2164 _resultobj = Py_None;
2165 }
2166 return _resultobj;
2167}
2168
f6bcfd97
BP
2169#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2170static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2171 PyObject * _resultobj;
2172 int _result;
2173 wxListEvent * _arg0;
2174 int _arg1;
2175 PyObject * _argo0 = 0;
2176 char *_kwnames[] = { "self","m_code", NULL };
2177
2178 self = self;
2179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
2180 return NULL;
2181 if (_argo0) {
2182 if (_argo0 == Py_None) { _arg0 = NULL; }
2183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2185 return NULL;
2186 }
2187 }
2188{
4268f798 2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2190 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
2191
4268f798 2192 wxPyEndAllowThreads(__tstate);
493f1553 2193 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2194} _resultobj = Py_BuildValue("i",_result);
2195 return _resultobj;
2196}
2197
2198#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2199static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2200 PyObject * _resultobj;
2201 int _result;
2202 wxListEvent * _arg0;
2203 PyObject * _argo0 = 0;
2204 char *_kwnames[] = { "self", NULL };
2205
2206 self = self;
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2208 return NULL;
2209 if (_argo0) {
2210 if (_argo0 == Py_None) { _arg0 = NULL; }
2211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2213 return NULL;
2214 }
2215 }
2216{
4268f798 2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2218 _result = (int )wxListEvent_m_code_get(_arg0);
2219
4268f798 2220 wxPyEndAllowThreads(__tstate);
493f1553 2221 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2222} _resultobj = Py_BuildValue("i",_result);
2223 return _resultobj;
2224}
2225
ebf4302c
RD
2226#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2227static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2228 PyObject * _resultobj;
2229 long _result;
2230 wxListEvent * _arg0;
2231 long _arg1;
2232 PyObject * _argo0 = 0;
ebf4302c 2233 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
f6bcfd97
BP
2234
2235 self = self;
ebf4302c 2236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2237 return NULL;
2238 if (_argo0) {
2239 if (_argo0 == Py_None) { _arg0 = NULL; }
2240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
f6bcfd97
BP
2242 return NULL;
2243 }
2244 }
2245{
4268f798 2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c 2247 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
f6bcfd97 2248
4268f798 2249 wxPyEndAllowThreads(__tstate);
493f1553 2250 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2251} _resultobj = Py_BuildValue("l",_result);
2252 return _resultobj;
2253}
2254
ebf4302c
RD
2255#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2256static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2257 PyObject * _resultobj;
2258 long _result;
2259 wxListEvent * _arg0;
2260 PyObject * _argo0 = 0;
2261 char *_kwnames[] = { "self", NULL };
2262
2263 self = self;
ebf4302c 2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
f6bcfd97
BP
2265 return NULL;
2266 if (_argo0) {
2267 if (_argo0 == Py_None) { _arg0 = NULL; }
2268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
f6bcfd97
BP
2270 return NULL;
2271 }
2272 }
2273{
4268f798 2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c 2275 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
f6bcfd97 2276
4268f798 2277 wxPyEndAllowThreads(__tstate);
493f1553 2278 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2279} _resultobj = Py_BuildValue("l",_result);
2280 return _resultobj;
2281}
2282
ebf4302c
RD
2283#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2284static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2285 PyObject * _resultobj;
ebf4302c 2286 long _result;
f6bcfd97 2287 wxListEvent * _arg0;
ebf4302c 2288 long _arg1;
f6bcfd97 2289 PyObject * _argo0 = 0;
ebf4302c 2290 char *_kwnames[] = { "self","m_itemIndex", NULL };
f6bcfd97
BP
2291
2292 self = self;
ebf4302c 2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2294 return NULL;
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
8ab979d7
RD
2299 return NULL;
2300 }
2301 }
cf694132 2302{
4268f798 2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c 2304 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
cf694132 2305
4268f798 2306 wxPyEndAllowThreads(__tstate);
493f1553 2307 if (PyErr_Occurred()) return NULL;
ebf4302c 2308} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2309 return _resultobj;
2310}
2311
ebf4302c
RD
2312#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2313static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2314 PyObject * _resultobj;
ebf4302c 2315 long _result;
f6bcfd97 2316 wxListEvent * _arg0;
1d99702e 2317 PyObject * _argo0 = 0;
f6bcfd97 2318 char *_kwnames[] = { "self", NULL };
af309447
RD
2319
2320 self = self;
ebf4302c 2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
af309447 2322 return NULL;
1d99702e
RD
2323 if (_argo0) {
2324 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
af309447
RD
2327 return NULL;
2328 }
2329 }
cf694132 2330{
4268f798 2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c 2332 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2333
4268f798 2334 wxPyEndAllowThreads(__tstate);
493f1553 2335 if (PyErr_Occurred()) return NULL;
ebf4302c 2336} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2337 return _resultobj;
2338}
2339
ebf4302c
RD
2340#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2341static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2342 PyObject * _resultobj;
ebf4302c 2343 int _result;
f6bcfd97 2344 wxListEvent * _arg0;
ebf4302c 2345 int _arg1;
1d99702e 2346 PyObject * _argo0 = 0;
ebf4302c 2347 char *_kwnames[] = { "self","m_col", NULL };
8ab979d7
RD
2348
2349 self = self;
ebf4302c 2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
8ab979d7 2351 return NULL;
1d99702e
RD
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
8ab979d7
RD
2356 return NULL;
2357 }
2358 }
cf694132 2359{
4268f798 2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c 2361 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132 2362
4268f798 2363 wxPyEndAllowThreads(__tstate);
493f1553 2364 if (PyErr_Occurred()) return NULL;
cf694132 2365} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2366 return _resultobj;
2367}
2368
ebf4302c
RD
2369#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2370static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2371 PyObject * _resultobj;
ebf4302c 2372 int _result;
f6bcfd97 2373 wxListEvent * _arg0;
1d99702e 2374 PyObject * _argo0 = 0;
f6bcfd97 2375 char *_kwnames[] = { "self", NULL };
af309447
RD
2376
2377 self = self;
ebf4302c 2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
af309447 2379 return NULL;
1d99702e
RD
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
af309447
RD
2384 return NULL;
2385 }
2386 }
cf694132 2387{
4268f798 2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c 2389 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2390
4268f798 2391 wxPyEndAllowThreads(__tstate);
493f1553 2392 if (PyErr_Occurred()) return NULL;
cf694132 2393} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2394 return _resultobj;
2395}
2396
f6bcfd97
BP
2397#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2398static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2399 PyObject * _resultobj;
f6bcfd97
BP
2400 wxPoint * _result;
2401 wxListEvent * _arg0;
2402 wxPoint * _arg1;
1d99702e 2403 PyObject * _argo0 = 0;
f6bcfd97
BP
2404 wxPoint temp;
2405 PyObject * _obj1 = 0;
2406 char *_kwnames[] = { "self","m_pointDrag", NULL };
2407 char _ptemp[128];
8ab979d7
RD
2408
2409 self = self;
f6bcfd97 2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
8ab979d7 2411 return NULL;
1d99702e
RD
2412 if (_argo0) {
2413 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
8ab979d7
RD
2416 return NULL;
2417 }
2418 }
f6bcfd97
BP
2419{
2420 _arg1 = &temp;
2421 if (! wxPoint_helper(_obj1, &_arg1))
2422 return NULL;
2423}
cf694132 2424{
4268f798 2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2426 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132 2427
4268f798 2428 wxPyEndAllowThreads(__tstate);
493f1553 2429 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2430} if (_result) {
2431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2432 _resultobj = Py_BuildValue("s",_ptemp);
2433 } else {
2434 Py_INCREF(Py_None);
2435 _resultobj = Py_None;
2436 }
8ab979d7
RD
2437 return _resultobj;
2438}
2439
f6bcfd97
BP
2440#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2441static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2442 PyObject * _resultobj;
f6bcfd97
BP
2443 wxPoint * _result;
2444 wxListEvent * _arg0;
2445 PyObject * _argo0 = 0;
2446 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2447 char _ptemp[128];
2448
2449 self = self;
f6bcfd97
BP
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2451 return NULL;
2452 if (_argo0) {
2453 if (_argo0 == Py_None) { _arg0 = NULL; }
2454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7 2456 return NULL;
f6bcfd97
BP
2457 }
2458 }
cf694132 2459{
4268f798 2460 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2461 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2462
4268f798 2463 wxPyEndAllowThreads(__tstate);
493f1553 2464 if (PyErr_Occurred()) return NULL;
1d99702e 2465} if (_result) {
f6bcfd97 2466 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2467 _resultobj = Py_BuildValue("s",_ptemp);
2468 } else {
2469 Py_INCREF(Py_None);
2470 _resultobj = Py_None;
2471 }
8ab979d7
RD
2472 return _resultobj;
2473}
2474
f6bcfd97
BP
2475#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2476static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2477 PyObject * _resultobj;
f6bcfd97
BP
2478 wxListItem * _result;
2479 wxListEvent * _arg0;
2480 wxListItem * _arg1;
1d99702e 2481 PyObject * _argo0 = 0;
f6bcfd97
BP
2482 PyObject * _argo1 = 0;
2483 char *_kwnames[] = { "self","m_item", NULL };
8ab979d7
RD
2484
2485 self = self;
f6bcfd97 2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
8ab979d7 2487 return NULL;
1d99702e
RD
2488 if (_argo0) {
2489 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2492 return NULL;
2493 }
2494 }
2495 if (_argo1) {
2496 if (_argo1 == Py_None) { _arg1 = NULL; }
2497 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
8ab979d7
RD
2499 return NULL;
2500 }
2501 }
cf694132 2502{
4268f798 2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2504 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
cf694132 2505
4268f798 2506 wxPyEndAllowThreads(__tstate);
493f1553 2507 if (PyErr_Occurred()) return NULL;
9416aa89 2508}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2509 return _resultobj;
2510}
2511
f6bcfd97
BP
2512#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2513static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2514 PyObject * _resultobj;
f6bcfd97 2515 wxListItem * _result;
af309447 2516 wxListEvent * _arg0;
1d99702e 2517 PyObject * _argo0 = 0;
f6bcfd97 2518 char *_kwnames[] = { "self", NULL };
af309447
RD
2519
2520 self = self;
f6bcfd97 2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2522 return NULL;
1d99702e
RD
2523 if (_argo0) {
2524 if (_argo0 == Py_None) { _arg0 = NULL; }
2525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2527 return NULL;
2528 }
2529 }
cf694132 2530{
4268f798 2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2532 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2533
4268f798 2534 wxPyEndAllowThreads(__tstate);
493f1553 2535 if (PyErr_Occurred()) return NULL;
9416aa89 2536}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2537 return _resultobj;
2538}
2539
f6bcfd97
BP
2540#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2541static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2542 PyObject * _resultobj;
2543 int _result;
2544 wxListEvent * _arg0;
1d99702e 2545 PyObject * _argo0 = 0;
efc5f224 2546 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2547
2548 self = self;
f6bcfd97 2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2550 return NULL;
1d99702e
RD
2551 if (_argo0) {
2552 if (_argo0 == Py_None) { _arg0 = NULL; }
2553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2555 return NULL;
2556 }
2557 }
cf694132 2558{
4268f798 2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2560 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2561
4268f798 2562 wxPyEndAllowThreads(__tstate);
493f1553 2563 if (PyErr_Occurred()) return NULL;
cf694132 2564} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2565 return _resultobj;
2566}
2567
f6bcfd97
BP
2568#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2569static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2570 PyObject * _resultobj;
2571 long _result;
2572 wxListEvent * _arg0;
1d99702e 2573 PyObject * _argo0 = 0;
f6bcfd97 2574 char *_kwnames[] = { "self", NULL };
af309447
RD
2575
2576 self = self;
f6bcfd97 2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2578 return NULL;
1d99702e
RD
2579 if (_argo0) {
2580 if (_argo0 == Py_None) { _arg0 = NULL; }
2581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2583 return NULL;
2584 }
2585 }
cf694132 2586{
4268f798 2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2588 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2589
4268f798 2590 wxPyEndAllowThreads(__tstate);
493f1553 2591 if (PyErr_Occurred()) return NULL;
cf694132 2592} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2593 return _resultobj;
2594}
2595
f6bcfd97
BP
2596#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2597static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2598 PyObject * _resultobj;
f6bcfd97 2599 int _result;
8ab979d7 2600 wxListEvent * _arg0;
1d99702e 2601 PyObject * _argo0 = 0;
efc5f224 2602 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2603
2604 self = self;
f6bcfd97 2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2606 return NULL;
1d99702e
RD
2607 if (_argo0) {
2608 if (_argo0 == Py_None) { _arg0 = NULL; }
2609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2611 return NULL;
2612 }
2613 }
cf694132 2614{
4268f798 2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2616 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2617
4268f798 2618 wxPyEndAllowThreads(__tstate);
493f1553 2619 if (PyErr_Occurred()) return NULL;
f6bcfd97 2620} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2621 return _resultobj;
2622}
2623
f6bcfd97
BP
2624#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2625static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2626 PyObject * _resultobj;
f6bcfd97 2627 wxPoint * _result;
8ab979d7 2628 wxListEvent * _arg0;
1d99702e 2629 PyObject * _argo0 = 0;
efc5f224 2630 char *_kwnames[] = { "self", NULL };
f6bcfd97 2631 char _ptemp[128];
8ab979d7
RD
2632
2633 self = self;
f6bcfd97 2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2635 return NULL;
1d99702e
RD
2636 if (_argo0) {
2637 if (_argo0 == Py_None) { _arg0 = NULL; }
2638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2640 return NULL;
2641 }
2642 }
cf694132 2643{
4268f798 2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2645 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2646
4268f798 2647 wxPyEndAllowThreads(__tstate);
493f1553 2648 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2649} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2650 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2651 return _resultobj;
2652}
2653
f6bcfd97
BP
2654#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2655static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2656 PyObject * _resultobj;
f6bcfd97 2657 wxString * _result;
af309447 2658 wxListEvent * _arg0;
1d99702e 2659 PyObject * _argo0 = 0;
f6bcfd97 2660 char *_kwnames[] = { "self", NULL };
af309447
RD
2661
2662 self = self;
f6bcfd97 2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2664 return NULL;
1d99702e
RD
2665 if (_argo0) {
2666 if (_argo0 == Py_None) { _arg0 = NULL; }
2667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2669 return NULL;
2670 }
2671 }
cf694132 2672{
4268f798 2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2674 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2675 _result = (wxString *) &_result_ref;
cf694132 2676
4268f798 2677 wxPyEndAllowThreads(__tstate);
493f1553 2678 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2679}{
2680 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2681}
af309447
RD
2682 return _resultobj;
2683}
2684
f6bcfd97
BP
2685#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2686static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2687 PyObject * _resultobj;
f6bcfd97 2688 wxString * _result;
8ab979d7 2689 wxListEvent * _arg0;
1d99702e 2690 PyObject * _argo0 = 0;
efc5f224 2691 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2692
2693 self = self;
f6bcfd97 2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2695 return NULL;
1d99702e
RD
2696 if (_argo0) {
2697 if (_argo0 == Py_None) { _arg0 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2700 return NULL;
2701 }
2702 }
cf694132 2703{
4268f798 2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2705 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2706 _result = (wxString *) &_result_ref;
cf694132 2707
4268f798 2708 wxPyEndAllowThreads(__tstate);
493f1553 2709 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2710}{
2711 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2712}
8ab979d7
RD
2713 return _resultobj;
2714}
2715
f6bcfd97
BP
2716#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2717static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2718 PyObject * _resultobj;
f6bcfd97 2719 int _result;
af309447 2720 wxListEvent * _arg0;
1d99702e 2721 PyObject * _argo0 = 0;
f6bcfd97 2722 char *_kwnames[] = { "self", NULL };
af309447
RD
2723
2724 self = self;
f6bcfd97 2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2726 return NULL;
1d99702e
RD
2727 if (_argo0) {
2728 if (_argo0 == Py_None) { _arg0 = NULL; }
2729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2731 return NULL;
2732 }
2733 }
cf694132 2734{
4268f798 2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2736 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2737
4268f798 2738 wxPyEndAllowThreads(__tstate);
493f1553 2739 if (PyErr_Occurred()) return NULL;
f6bcfd97 2740} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2741 return _resultobj;
2742}
2743
f6bcfd97
BP
2744#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2745static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2746 PyObject * _resultobj;
f6bcfd97 2747 long _result;
8ab979d7 2748 wxListEvent * _arg0;
1d99702e 2749 PyObject * _argo0 = 0;
efc5f224 2750 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2751
2752 self = self;
f6bcfd97 2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2754 return NULL;
1d99702e
RD
2755 if (_argo0) {
2756 if (_argo0 == Py_None) { _arg0 = NULL; }
2757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2759 return NULL;
2760 }
2761 }
cf694132 2762{
4268f798 2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2764 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2765
4268f798 2766 wxPyEndAllowThreads(__tstate);
493f1553 2767 if (PyErr_Occurred()) return NULL;
f6bcfd97 2768} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2769 return _resultobj;
2770}
2771
f6bcfd97
BP
2772#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2773static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2774 PyObject * _resultobj;
f6bcfd97 2775 long _result;
af309447 2776 wxListEvent * _arg0;
1d99702e 2777 PyObject * _argo0 = 0;
f6bcfd97 2778 char *_kwnames[] = { "self", NULL };
af309447
RD
2779
2780 self = self;
f6bcfd97 2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2782 return NULL;
1d99702e
RD
2783 if (_argo0) {
2784 if (_argo0 == Py_None) { _arg0 = NULL; }
2785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2787 return NULL;
2788 }
2789 }
cf694132 2790{
4268f798 2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2792 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2793
4268f798 2794 wxPyEndAllowThreads(__tstate);
493f1553 2795 if (PyErr_Occurred()) return NULL;
f6bcfd97 2796} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2797 return _resultobj;
2798}
2799
f6bcfd97
BP
2800#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2801static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2802 PyObject * _resultobj;
2803 wxListItem * _result;
2804 wxListEvent * _arg0;
1d99702e 2805 PyObject * _argo0 = 0;
efc5f224 2806 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2807
2808 self = self;
f6bcfd97 2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2810 return NULL;
1d99702e
RD
2811 if (_argo0) {
2812 if (_argo0 == Py_None) { _arg0 = NULL; }
2813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2815 return NULL;
2816 }
2817 }
cf694132 2818{
4268f798 2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2820 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2821 _result = (wxListItem *) &_result_ref;
cf694132 2822
4268f798 2823 wxPyEndAllowThreads(__tstate);
493f1553 2824 if (PyErr_Occurred()) return NULL;
9416aa89 2825}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2826 return _resultobj;
2827}
2828
6d19860f
RD
2829#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2830static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject * _resultobj;
2832 long _result;
2833 wxListEvent * _arg0;
2834 PyObject * _argo0 = 0;
2835 char *_kwnames[] = { "self", NULL };
2836
2837 self = self;
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2839 return NULL;
2840 if (_argo0) {
2841 if (_argo0 == Py_None) { _arg0 = NULL; }
2842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2844 return NULL;
2845 }
2846 }
2847{
4268f798 2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
2849 _result = (long )wxListEvent_GetCacheFrom(_arg0);
2850
4268f798 2851 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2852 if (PyErr_Occurred()) return NULL;
2853} _resultobj = Py_BuildValue("l",_result);
2854 return _resultobj;
2855}
2856
2857#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2858static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject * _resultobj;
2860 long _result;
2861 wxListEvent * _arg0;
2862 PyObject * _argo0 = 0;
2863 char *_kwnames[] = { "self", NULL };
2864
2865 self = self;
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2867 return NULL;
2868 if (_argo0) {
2869 if (_argo0 == Py_None) { _arg0 = NULL; }
2870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2872 return NULL;
2873 }
2874 }
2875{
4268f798 2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
2877 _result = (long )wxListEvent_GetCacheTo(_arg0);
2878
4268f798 2879 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2880 if (PyErr_Occurred()) return NULL;
2881} _resultobj = Py_BuildValue("l",_result);
2882 return _resultobj;
2883}
2884
c7e7022c
RD
2885static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2886 wxPyListCtrl *src;
8ab979d7 2887 wxControl *dest;
c7e7022c 2888 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2889 dest = (wxControl *) src;
2890 return (void *) dest;
2891}
2892
c7e7022c
RD
2893static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2894 wxPyListCtrl *src;
8ab979d7 2895 wxWindow *dest;
c7e7022c 2896 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2897 dest = (wxWindow *) src;
2898 return (void *) dest;
2899}
2900
c7e7022c
RD
2901static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2902 wxPyListCtrl *src;
8ab979d7 2903 wxEvtHandler *dest;
c7e7022c 2904 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2905 dest = (wxEvtHandler *) src;
2906 return (void *) dest;
2907}
2908
c7e7022c
RD
2909static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2910 wxPyListCtrl *src;
9416aa89 2911 wxObject *dest;
c7e7022c 2912 src = (wxPyListCtrl *) ptr;
9416aa89
RD
2913 dest = (wxObject *) src;
2914 return (void *) dest;
2915}
2916
c7e7022c 2917#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2918static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2919 PyObject * _resultobj;
c7e7022c 2920 wxPyListCtrl * _result;
8ab979d7 2921 wxWindow * _arg0;
c7e7022c 2922 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
2923 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2924 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
0adbc166 2925 long _arg4 = (long ) (wxLC_ICON);
e508a2b6 2926 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2927 char * _arg6 = (char *) "listCtrl";
2928 PyObject * _argo0 = 0;
2f90df85
RD
2929 wxPoint temp;
2930 PyObject * _obj2 = 0;
2931 wxSize temp0;
2932 PyObject * _obj3 = 0;
1d99702e 2933 PyObject * _argo5 = 0;
efc5f224 2934 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2935 char _ptemp[128];
2936
2937 self = self;
c7e7022c 2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 2939 return NULL;
1d99702e
RD
2940 if (_argo0) {
2941 if (_argo0 == Py_None) { _arg0 = NULL; }
2942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2944 return NULL;
2945 }
2946 }
2f90df85
RD
2947 if (_obj2)
2948{
2949 _arg2 = &temp;
2950 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2951 return NULL;
2f90df85
RD
2952}
2953 if (_obj3)
2954{
2955 _arg3 = &temp0;
2956 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2957 return NULL;
2f90df85 2958}
1d99702e
RD
2959 if (_argo5) {
2960 if (_argo5 == Py_None) { _arg5 = NULL; }
2961 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2962 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2963 return NULL;
2964 }
2965 }
cf694132 2966{
4268f798 2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 2968 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132 2969
4268f798 2970 wxPyEndAllowThreads(__tstate);
493f1553 2971 if (PyErr_Occurred()) return NULL;
1d99702e 2972} if (_result) {
c7e7022c 2973 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2974 _resultobj = Py_BuildValue("s",_ptemp);
2975 } else {
2976 Py_INCREF(Py_None);
2977 _resultobj = Py_None;
2978 }
8ab979d7
RD
2979 return _resultobj;
2980}
2981
09f3d4e6
RD
2982#define new_wxPreListCtrl() (new wxPyListCtrl())
2983static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2984 PyObject * _resultobj;
2985 wxPyListCtrl * _result;
2986 char *_kwnames[] = { NULL };
2987 char _ptemp[128];
2988
2989 self = self;
2990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2991 return NULL;
2992{
4268f798 2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
2994 _result = (wxPyListCtrl *)new_wxPreListCtrl();
2995
4268f798 2996 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2997 if (PyErr_Occurred()) return NULL;
2998} if (_result) {
2999 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3000 _resultobj = Py_BuildValue("s",_ptemp);
3001 } else {
3002 Py_INCREF(Py_None);
3003 _resultobj = Py_None;
3004 }
3005 return _resultobj;
3006}
3007
3008#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3009static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject * _resultobj;
3011 bool _result;
3012 wxPyListCtrl * _arg0;
3013 wxWindow * _arg1;
3014 wxWindowID _arg2 = (wxWindowID ) -1;
3015 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3016 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3017 long _arg5 = (long ) (wxLC_ICON);
3018 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3019 char * _arg7 = (char *) "listCtrl";
3020 PyObject * _argo0 = 0;
3021 PyObject * _argo1 = 0;
3022 wxPoint temp;
3023 PyObject * _obj3 = 0;
3024 wxSize temp0;
3025 PyObject * _obj4 = 0;
3026 PyObject * _argo6 = 0;
3027 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3028
3029 self = self;
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
3031 return NULL;
3032 if (_argo0) {
3033 if (_argo0 == Py_None) { _arg0 = NULL; }
3034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3036 return NULL;
3037 }
3038 }
3039 if (_argo1) {
3040 if (_argo1 == Py_None) { _arg1 = NULL; }
3041 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3042 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3043 return NULL;
3044 }
3045 }
3046 if (_obj3)
3047{
3048 _arg3 = &temp;
3049 if (! wxPoint_helper(_obj3, &_arg3))
3050 return NULL;
3051}
3052 if (_obj4)
3053{
3054 _arg4 = &temp0;
3055 if (! wxSize_helper(_obj4, &_arg4))
3056 return NULL;
3057}
3058 if (_argo6) {
3059 if (_argo6 == Py_None) { _arg6 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3062 return NULL;
3063 }
3064 }
3065{
4268f798 3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
3067 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3068
4268f798 3069 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3070 if (PyErr_Occurred()) return NULL;
3071} _resultobj = Py_BuildValue("i",_result);
3072 return _resultobj;
3073}
3074
0122b7e3
RD
3075#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3076static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3077 PyObject * _resultobj;
c7e7022c
RD
3078 wxPyListCtrl * _arg0;
3079 PyObject * _arg1;
3080 PyObject * _arg2;
1d99702e 3081 PyObject * _argo0 = 0;
c7e7022c
RD
3082 PyObject * _obj1 = 0;
3083 PyObject * _obj2 = 0;
3084 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
3085
3086 self = self;
0122b7e3 3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3088 return NULL;
1d99702e
RD
3089 if (_argo0) {
3090 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c 3091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0122b7e3 3092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3093 return NULL;
3094 }
3095 }
c7e7022c
RD
3096{
3097 _arg1 = _obj1;
3098}
3099{
3100 _arg2 = _obj2;
3101}
cf694132 3102{
4268f798 3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 3104 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 3105
4268f798 3106 wxPyEndAllowThreads(__tstate);
493f1553 3107 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3108} Py_INCREF(Py_None);
3109 _resultobj = Py_None;
8ab979d7
RD
3110 return _resultobj;
3111}
3112
c7e7022c
RD
3113#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3114static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1b62f00d 3115 PyObject * _resultobj;
c7e7022c
RD
3116 bool _result;
3117 wxPyListCtrl * _arg0;
3118 wxColour * _arg1;
1b62f00d 3119 PyObject * _argo0 = 0;
c7e7022c
RD
3120 wxColour temp;
3121 PyObject * _obj1 = 0;
3122 char *_kwnames[] = { "self","col", NULL };
1b62f00d
RD
3123
3124 self = self;
c7e7022c 3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1b62f00d
RD
3126 return NULL;
3127 if (_argo0) {
3128 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
1b62f00d
RD
3131 return NULL;
3132 }
3133 }
c7e7022c
RD
3134{
3135 _arg1 = &temp;
3136 if (! wxColour_helper(_obj1, &_arg1))
1b62f00d 3137 return NULL;
c7e7022c 3138}
1b62f00d 3139{
4268f798 3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3141 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
1b62f00d 3142
4268f798 3143 wxPyEndAllowThreads(__tstate);
493f1553 3144 if (PyErr_Occurred()) return NULL;
c7e7022c 3145} _resultobj = Py_BuildValue("i",_result);
1b62f00d
RD
3146 return _resultobj;
3147}
3148
c7e7022c
RD
3149#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3150static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3151 PyObject * _resultobj;
3152 bool _result;
c7e7022c
RD
3153 wxPyListCtrl * _arg0;
3154 wxColour * _arg1;
1d99702e 3155 PyObject * _argo0 = 0;
c7e7022c
RD
3156 wxColour temp;
3157 PyObject * _obj1 = 0;
3158 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3159
3160 self = self;
c7e7022c 3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3162 return NULL;
1d99702e
RD
3163 if (_argo0) {
3164 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3167 return NULL;
3168 }
3169 }
c7e7022c
RD
3170{
3171 _arg1 = &temp;
3172 if (! wxColour_helper(_obj1, &_arg1))
3173 return NULL;
3174}
cf694132 3175{
4268f798 3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3177 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
cf694132 3178
4268f798 3179 wxPyEndAllowThreads(__tstate);
493f1553 3180 if (PyErr_Occurred()) return NULL;
cf694132 3181} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3182 return _resultobj;
3183}
3184
c7e7022c
RD
3185#define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3186static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3187 PyObject * _resultobj;
3188 bool _result;
c7e7022c
RD
3189 wxPyListCtrl * _arg0;
3190 int _arg1;
3191 wxListItem * _arg2;
1d99702e 3192 PyObject * _argo0 = 0;
c7e7022c
RD
3193 PyObject * _argo2 = 0;
3194 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3195
3196 self = self;
c7e7022c 3197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3198 return NULL;
1d99702e
RD
3199 if (_argo0) {
3200 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3203 return NULL;
3204 }
3205 }
3206 if (_argo2) {
3207 if (_argo2 == Py_None) { _arg2 = NULL; }
3208 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3209 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3210 return NULL;
3211 }
3212 }
cf694132 3213{
4268f798 3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3215 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
cf694132 3216
4268f798 3217 wxPyEndAllowThreads(__tstate);
493f1553 3218 if (PyErr_Occurred()) return NULL;
cf694132 3219} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3220 return _resultobj;
3221}
3222
c7e7022c
RD
3223#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3224static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3225 PyObject * _resultobj;
3226 bool _result;
c7e7022c 3227 wxPyListCtrl * _arg0;
8ab979d7 3228 int _arg1;
c7e7022c 3229 wxListItem * _arg2;
1d99702e 3230 PyObject * _argo0 = 0;
c7e7022c
RD
3231 PyObject * _argo2 = 0;
3232 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3233
3234 self = self;
c7e7022c 3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3236 return NULL;
1d99702e
RD
3237 if (_argo0) {
3238 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3241 return NULL;
3242 }
3243 }
3244 if (_argo2) {
3245 if (_argo2 == Py_None) { _arg2 = NULL; }
3246 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3248 return NULL;
3249 }
3250 }
cf694132 3251{
4268f798 3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3253 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3254
4268f798 3255 wxPyEndAllowThreads(__tstate);
493f1553 3256 if (PyErr_Occurred()) return NULL;
cf694132 3257} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3258 return _resultobj;
3259}
3260
c7e7022c
RD
3261#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3262static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3263 PyObject * _resultobj;
c7e7022c
RD
3264 int _result;
3265 wxPyListCtrl * _arg0;
3266 int _arg1;
1d99702e 3267 PyObject * _argo0 = 0;
c7e7022c 3268 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3269
3270 self = self;
c7e7022c 3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3272 return NULL;
1d99702e
RD
3273 if (_argo0) {
3274 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3277 return NULL;
3278 }
3279 }
cf694132 3280{
4268f798 3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3282 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3283
4268f798 3284 wxPyEndAllowThreads(__tstate);
493f1553 3285 if (PyErr_Occurred()) return NULL;
cf694132 3286} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3287 return _resultobj;
3288}
3289
c7e7022c
RD
3290#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3291static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3292 PyObject * _resultobj;
c7e7022c
RD
3293 bool _result;
3294 wxPyListCtrl * _arg0;
3295 int _arg1;
3296 int _arg2;
1d99702e 3297 PyObject * _argo0 = 0;
c7e7022c 3298 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3299
3300 self = self;
c7e7022c 3301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3302 return NULL;
1d99702e
RD
3303 if (_argo0) {
3304 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3307 return NULL;
3308 }
3309 }
cf694132 3310{
4268f798 3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3312 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3313
4268f798 3314 wxPyEndAllowThreads(__tstate);
493f1553 3315 if (PyErr_Occurred()) return NULL;
c7e7022c 3316} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3317 return _resultobj;
3318}
3319
c7e7022c
RD
3320#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3321static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3322 PyObject * _resultobj;
c7e7022c
RD
3323 int _result;
3324 wxPyListCtrl * _arg0;
1d99702e 3325 PyObject * _argo0 = 0;
c7e7022c 3326 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3327
3328 self = self;
c7e7022c 3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3330 return NULL;
1d99702e
RD
3331 if (_argo0) {
3332 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3335 return NULL;
3336 }
3337 }
cf694132 3338{
4268f798 3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3340 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3341
4268f798 3342 wxPyEndAllowThreads(__tstate);
493f1553 3343 if (PyErr_Occurred()) return NULL;
c7e7022c 3344} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3345 return _resultobj;
3346}
3347
c7e7022c
RD
3348#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3349static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3350 PyObject * _resultobj;
c7e7022c
RD
3351 wxTextCtrl * _result;
3352 wxPyListCtrl * _arg0;
1d99702e 3353 PyObject * _argo0 = 0;
c7e7022c 3354 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3355
3356 self = self;
c7e7022c 3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
8ab979d7 3358 return NULL;
1d99702e
RD
3359 if (_argo0) {
3360 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3363 return NULL;
3364 }
3365 }
cf694132 3366{
4268f798 3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3368 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
cf694132 3369
4268f798 3370 wxPyEndAllowThreads(__tstate);
493f1553 3371 if (PyErr_Occurred()) return NULL;
c7e7022c 3372}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3373 return _resultobj;
3374}
3375
c7e7022c
RD
3376static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3377 wxListItem* info = new wxListItem;
3378 info->m_itemId = itemId;
3379 info->m_col = col;
3380 info->m_mask = 0xFFFF;
3381 self->GetItem(*info);
3382 return info;
3383 }
3384static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3385 PyObject * _resultobj;
c7e7022c
RD
3386 wxListItem * _result;
3387 wxPyListCtrl * _arg0;
3388 long _arg1;
3389 int _arg2 = (int ) 0;
1d99702e 3390 PyObject * _argo0 = 0;
c7e7022c 3391 char *_kwnames[] = { "self","itemId","col", NULL };
be4d9c1f
RD
3392
3393 self = self;
c7e7022c 3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
be4d9c1f 3395 return NULL;
1d99702e
RD
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3400 return NULL;
3401 }
3402 }
cf694132 3403{
4268f798 3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3405 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3406
4268f798 3407 wxPyEndAllowThreads(__tstate);
493f1553 3408 if (PyErr_Occurred()) return NULL;
9416aa89 3409}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3410 return _resultobj;
3411}
3412
c7e7022c
RD
3413#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3414static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3415 PyObject * _resultobj;
3416 bool _result;
c7e7022c
RD
3417 wxPyListCtrl * _arg0;
3418 wxListItem * _arg1;
1d99702e 3419 PyObject * _argo0 = 0;
c7e7022c
RD
3420 PyObject * _argo1 = 0;
3421 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3422
3423 self = self;
c7e7022c 3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3425 return NULL;
1d99702e
RD
3426 if (_argo0) {
3427 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3430 return NULL;
3431 }
3432 }
3433 if (_argo1) {
3434 if (_argo1 == Py_None) { _arg1 = NULL; }
3435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3437 return NULL;
3438 }
3439 }
cf694132 3440{
4268f798 3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3442 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3443
4268f798 3444 wxPyEndAllowThreads(__tstate);
493f1553 3445 if (PyErr_Occurred()) return NULL;
cf694132 3446} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3447 return _resultobj;
3448}
3449
c7e7022c
RD
3450#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3451static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3452 PyObject * _resultobj;
3453 long _result;
c7e7022c 3454 wxPyListCtrl * _arg0;
8ab979d7 3455 long _arg1;
c7e7022c
RD
3456 int _arg2;
3457 wxString * _arg3;
3458 int _arg4 = (int ) -1;
1d99702e 3459 PyObject * _argo0 = 0;
c7e7022c
RD
3460 PyObject * _obj3 = 0;
3461 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3462
3463 self = self;
c7e7022c 3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3465 return NULL;
1d99702e
RD
3466 if (_argo0) {
3467 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3470 return NULL;
3471 }
3472 }
3473{
185d7c3e
RD
3474#if PYTHON_API_VERSION >= 1009
3475 char* tmpPtr; int tmpSize;
c7e7022c 3476 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 3477 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3478 return NULL;
3479 }
c7e7022c 3480 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
185d7c3e 3481 return NULL;
c7e7022c 3482 _arg3 = new wxString(tmpPtr, tmpSize);
185d7c3e 3483#else
c7e7022c 3484 if (!PyString_Check(_obj3)) {
8ab979d7
RD
3485 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3486 return NULL;
3487 }
c7e7022c 3488 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
185d7c3e 3489#endif
8ab979d7 3490}
cf694132 3491{
4268f798 3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3493 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3494
4268f798 3495 wxPyEndAllowThreads(__tstate);
493f1553 3496 if (PyErr_Occurred()) return NULL;
cf694132 3497} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3498{
c7e7022c
RD
3499 if (_obj3)
3500 delete _arg3;
8ab979d7
RD
3501}
3502 return _resultobj;
3503}
3504
c7e7022c
RD
3505#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3506static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3507 PyObject * _resultobj;
c7e7022c
RD
3508 int _result;
3509 wxPyListCtrl * _arg0;
8ab979d7
RD
3510 long _arg1;
3511 long _arg2;
1d99702e 3512 PyObject * _argo0 = 0;
c7e7022c 3513 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3514
3515 self = self;
c7e7022c 3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3517 return NULL;
1d99702e
RD
3518 if (_argo0) {
3519 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3522 return NULL;
3523 }
3524 }
cf694132 3525{
4268f798 3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3527 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3528
4268f798 3529 wxPyEndAllowThreads(__tstate);
493f1553 3530 if (PyErr_Occurred()) return NULL;
c7e7022c 3531} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3532 return _resultobj;
3533}
3534
c7e7022c
RD
3535#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3536static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3537 PyObject * _resultobj;
c7e7022c
RD
3538 bool _result;
3539 wxPyListCtrl * _arg0;
8ab979d7 3540 long _arg1;
c7e7022c
RD
3541 long _arg2;
3542 long _arg3;
1d99702e 3543 PyObject * _argo0 = 0;
c7e7022c 3544 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3545
3546 self = self;
c7e7022c 3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3548 return NULL;
1d99702e
RD
3549 if (_argo0) {
3550 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3553 return NULL;
3554 }
3555 }
cf694132 3556{
4268f798 3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3558 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3559
4268f798 3560 wxPyEndAllowThreads(__tstate);
493f1553 3561 if (PyErr_Occurred()) return NULL;
c7e7022c 3562} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3563 return _resultobj;
3564}
3565
c7e7022c
RD
3566#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3567static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3568 PyObject * _resultobj;
3569 bool _result;
c7e7022c
RD
3570 wxPyListCtrl * _arg0;
3571 long _arg1;
3572 int _arg2;
3573 int _arg3;
1d99702e 3574 PyObject * _argo0 = 0;
c7e7022c 3575 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3576
3577 self = self;
c7e7022c 3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3579 return NULL;
1d99702e
RD
3580 if (_argo0) {
3581 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3584 return NULL;
3585 }
3586 }
cf694132 3587{
4268f798 3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3589 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3590
4268f798 3591 wxPyEndAllowThreads(__tstate);
493f1553 3592 if (PyErr_Occurred()) return NULL;
cf694132 3593} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3594 return _resultobj;
3595}
3596
c7e7022c
RD
3597#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3598static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3599 PyObject * _resultobj;
c7e7022c
RD
3600 wxString * _result;
3601 wxPyListCtrl * _arg0;
3602 long _arg1;
1d99702e 3603 PyObject * _argo0 = 0;
c7e7022c 3604 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3605
3606 self = self;
c7e7022c 3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3608 return NULL;
1d99702e
RD
3609 if (_argo0) {
3610 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3613 return NULL;
3614 }
3615 }
cf694132 3616{
4268f798 3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3618 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3619
4268f798 3620 wxPyEndAllowThreads(__tstate);
493f1553 3621 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3622}{
3623 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3624}
3625{
3626 delete _result;
3627}
8ab979d7
RD
3628 return _resultobj;
3629}
3630
c7e7022c
RD
3631#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3632static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3633 PyObject * _resultobj;
c7e7022c
RD
3634 wxPyListCtrl * _arg0;
3635 long _arg1;
3636 wxString * _arg2;
1d99702e 3637 PyObject * _argo0 = 0;
c7e7022c
RD
3638 PyObject * _obj2 = 0;
3639 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3640
3641 self = self;
c7e7022c 3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3643 return NULL;
1d99702e
RD
3644 if (_argo0) {
3645 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3648 return NULL;
3649 }
3650 }
cf694132 3651{
c7e7022c
RD
3652#if PYTHON_API_VERSION >= 1009
3653 char* tmpPtr; int tmpSize;
3654 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3655 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 3656 return NULL;
c7e7022c
RD
3657 }
3658 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3659 return NULL;
3660 _arg2 = new wxString(tmpPtr, tmpSize);
3661#else
3662 if (!PyString_Check(_obj2)) {
3663 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 3664 return NULL;
8ab979d7 3665 }
c7e7022c
RD
3666 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3667#endif
3668}
cf694132 3669{
4268f798 3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3671 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3672
4268f798 3673 wxPyEndAllowThreads(__tstate);
493f1553 3674 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3675} Py_INCREF(Py_None);
3676 _resultobj = Py_None;
3677{
3678 if (_obj2)
3679 delete _arg2;
3680}
8ab979d7
RD
3681 return _resultobj;
3682}
3683
3684#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3685static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3686 PyObject * _resultobj;
3687 long _result;
c7e7022c 3688 wxPyListCtrl * _arg0;
8ab979d7 3689 long _arg1;
1d99702e 3690 PyObject * _argo0 = 0;
efc5f224 3691 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3692
3693 self = self;
efc5f224 3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3695 return NULL;
1d99702e
RD
3696 if (_argo0) {
3697 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3700 return NULL;
3701 }
3702 }
cf694132 3703{
4268f798 3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3705 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3706
4268f798 3707 wxPyEndAllowThreads(__tstate);
493f1553 3708 if (PyErr_Occurred()) return NULL;
cf694132 3709} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3710 return _resultobj;
3711}
3712
c7e7022c
RD
3713#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3714static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3715 PyObject * _resultobj;
c7e7022c
RD
3716 bool _result;
3717 wxPyListCtrl * _arg0;
0699c864 3718 long _arg1;
c7e7022c 3719 long _arg2;
1d99702e 3720 PyObject * _argo0 = 0;
c7e7022c 3721 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3722
3723 self = self;
c7e7022c 3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3725 return NULL;
1d99702e
RD
3726 if (_argo0) {
3727 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3730 return NULL;
3731 }
3732 }
cf694132 3733{
4268f798 3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3735 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3736
4268f798 3737 wxPyEndAllowThreads(__tstate);
493f1553 3738 if (PyErr_Occurred()) return NULL;
c7e7022c 3739} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3740 return _resultobj;
3741}
3742
c7e7022c 3743static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3744 wxPoint* pos = new wxPoint;
3745 self->GetItemPosition(item, *pos);
3746 return pos;
3747 }
efc5f224 3748static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3749 PyObject * _resultobj;
3750 wxPoint * _result;
c7e7022c 3751 wxPyListCtrl * _arg0;
8ab979d7 3752 long _arg1;
1d99702e 3753 PyObject * _argo0 = 0;
efc5f224 3754 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3755 char _ptemp[128];
3756
3757 self = self;
efc5f224 3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3759 return NULL;
1d99702e
RD
3760 if (_argo0) {
3761 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3764 return NULL;
3765 }
3766 }
cf694132 3767{
4268f798 3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3769 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3770
4268f798 3771 wxPyEndAllowThreads(__tstate);
493f1553 3772 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3773} if (_result) {
3774 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3775 _resultobj = Py_BuildValue("s",_ptemp);
3776 } else {
3777 Py_INCREF(Py_None);
3778 _resultobj = Py_None;
3779 }
8ab979d7
RD
3780 return _resultobj;
3781}
3782
c7e7022c 3783static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3784 wxRect* rect= new wxRect;
3785 self->GetItemRect(item, *rect, code);
3786 return rect;
3787 }
efc5f224 3788static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3789 PyObject * _resultobj;
3790 wxRect * _result;
c7e7022c 3791 wxPyListCtrl * _arg0;
8ab979d7 3792 long _arg1;
1d99702e
RD
3793 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3794 PyObject * _argo0 = 0;
efc5f224 3795 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3796 char _ptemp[128];
3797
3798 self = self;
efc5f224 3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3800 return NULL;
1d99702e
RD
3801 if (_argo0) {
3802 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3805 return NULL;
3806 }
3807 }
cf694132 3808{
4268f798 3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3810 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3811
4268f798 3812 wxPyEndAllowThreads(__tstate);
493f1553 3813 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3814} if (_result) {
3815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3816 _resultobj = Py_BuildValue("s",_ptemp);
3817 } else {
3818 Py_INCREF(Py_None);
3819 _resultobj = Py_None;
3820 }
8ab979d7
RD
3821 return _resultobj;
3822}
3823
c7e7022c
RD
3824#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3825static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3826 PyObject * _resultobj;
c7e7022c
RD
3827 bool _result;
3828 wxPyListCtrl * _arg0;
8ab979d7 3829 long _arg1;
c7e7022c 3830 wxPoint * _arg2;
1d99702e 3831 PyObject * _argo0 = 0;
c7e7022c
RD
3832 wxPoint temp;
3833 PyObject * _obj2 = 0;
3834 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3835
3836 self = self;
c7e7022c 3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3838 return NULL;
1d99702e
RD
3839 if (_argo0) {
3840 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3843 return NULL;
3844 }
3845 }
c7e7022c
RD
3846{
3847 _arg2 = &temp;
3848 if (! wxPoint_helper(_obj2, &_arg2))
3849 return NULL;
3850}
cf694132 3851{
4268f798 3852 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3853 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3854
4268f798 3855 wxPyEndAllowThreads(__tstate);
493f1553 3856 if (PyErr_Occurred()) return NULL;
cf694132 3857} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3858 return _resultobj;
3859}
3860
3861#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3862static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3863 PyObject * _resultobj;
3864 int _result;
c7e7022c 3865 wxPyListCtrl * _arg0;
1d99702e 3866 PyObject * _argo0 = 0;
efc5f224 3867 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3868
3869 self = self;
efc5f224 3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3871 return NULL;
1d99702e
RD
3872 if (_argo0) {
3873 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3876 return NULL;
3877 }
3878 }
cf694132 3879{
4268f798 3880 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3881 _result = (int )wxListCtrl_GetItemCount(_arg0);
3882
4268f798 3883 wxPyEndAllowThreads(__tstate);
493f1553 3884 if (PyErr_Occurred()) return NULL;
cf694132 3885} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3886 return _resultobj;
3887}
3888
c7e7022c
RD
3889#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3890static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3891 PyObject * _resultobj;
3892 int _result;
c7e7022c 3893 wxPyListCtrl * _arg0;
1d99702e 3894 PyObject * _argo0 = 0;
c7e7022c 3895 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3896
3897 self = self;
c7e7022c 3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
8ab979d7 3899 return NULL;
1d99702e
RD
3900 if (_argo0) {
3901 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3904 return NULL;
3905 }
3906 }
cf694132 3907{
4268f798 3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3909 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cf694132 3910
4268f798 3911 wxPyEndAllowThreads(__tstate);
493f1553 3912 if (PyErr_Occurred()) return NULL;
cf694132 3913} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3914 return _resultobj;
3915}
3916
c7e7022c
RD
3917#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3918static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3919 PyObject * _resultobj;
c7e7022c
RD
3920 int _result;
3921 wxPyListCtrl * _arg0;
3922 bool _arg1;
1d99702e 3923 PyObject * _argo0 = 0;
c7e7022c
RD
3924 int tempbool1;
3925 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3926
3927 self = self;
c7e7022c 3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3929 return NULL;
1d99702e
RD
3930 if (_argo0) {
3931 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3934 return NULL;
3935 }
3936 }
c7e7022c 3937 _arg1 = (bool ) tempbool1;
8ab979d7 3938{
4268f798 3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3940 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3941
4268f798 3942 wxPyEndAllowThreads(__tstate);
493f1553 3943 if (PyErr_Occurred()) return NULL;
c7e7022c 3944} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3945 return _resultobj;
3946}
3947
c7e7022c
RD
3948#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3949static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3950 PyObject * _resultobj;
c7e7022c
RD
3951 int _result;
3952 wxPyListCtrl * _arg0;
1d99702e 3953 PyObject * _argo0 = 0;
c7e7022c 3954 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3955
3956 self = self;
c7e7022c 3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3958 return NULL;
1d99702e
RD
3959 if (_argo0) {
3960 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3963 return NULL;
3964 }
3965 }
cf694132 3966{
4268f798 3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 3968 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3969
4268f798 3970 wxPyEndAllowThreads(__tstate);
493f1553 3971 if (PyErr_Occurred()) return NULL;
c7e7022c 3972} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3973 return _resultobj;
3974}
3975
c7e7022c
RD
3976#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3977static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3978 PyObject * _resultobj;
c7e7022c
RD
3979 wxColour * _result;
3980 wxPyListCtrl * _arg0;
1d99702e 3981 PyObject * _argo0 = 0;
efc5f224 3982 char *_kwnames[] = { "self", NULL };
c7e7022c 3983 char _ptemp[128];
8ab979d7
RD
3984
3985 self = self;
c7e7022c 3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3987 return NULL;
1d99702e
RD
3988 if (_argo0) {
3989 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3992 return NULL;
3993 }
3994 }
cf694132 3995{
4268f798 3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3997 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
3998
4268f798 3999 wxPyEndAllowThreads(__tstate);
493f1553 4000 if (PyErr_Occurred()) return NULL;
cf694132 4001} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
4002 _resultobj = Py_BuildValue("s",_ptemp);
4003 return _resultobj;
4004}
4005
be4d9c1f 4006#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 4007static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 4008 PyObject * _resultobj;
c7e7022c 4009 wxPyListCtrl * _arg0;
be4d9c1f 4010 wxColour * _arg1;
1d99702e 4011 PyObject * _argo0 = 0;
f6bcfd97
BP
4012 wxColour temp;
4013 PyObject * _obj1 = 0;
efc5f224 4014 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
4015
4016 self = self;
f6bcfd97 4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
be4d9c1f 4018 return NULL;
1d99702e
RD
4019 if (_argo0) {
4020 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
4023 return NULL;
4024 }
4025 }
f6bcfd97
BP
4026{
4027 _arg1 = &temp;
4028 if (! wxColour_helper(_obj1, &_arg1))
be4d9c1f 4029 return NULL;
f6bcfd97 4030}
cf694132 4031{
4268f798 4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4033 wxListCtrl_SetTextColour(_arg0,*_arg1);
4034
4268f798 4035 wxPyEndAllowThreads(__tstate);
493f1553 4036 if (PyErr_Occurred()) return NULL;
cf694132 4037} Py_INCREF(Py_None);
be4d9c1f
RD
4038 _resultobj = Py_None;
4039 return _resultobj;
4040}
4041
8ab979d7 4042#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 4043static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4044 PyObject * _resultobj;
4045 long _result;
c7e7022c 4046 wxPyListCtrl * _arg0;
1d99702e 4047 PyObject * _argo0 = 0;
efc5f224 4048 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4049
4050 self = self;
efc5f224 4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 4052 return NULL;
1d99702e
RD
4053 if (_argo0) {
4054 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4057 return NULL;
4058 }
4059 }
cf694132 4060{
4268f798 4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4062 _result = (long )wxListCtrl_GetTopItem(_arg0);
4063
4268f798 4064 wxPyEndAllowThreads(__tstate);
493f1553 4065 if (PyErr_Occurred()) return NULL;
cf694132 4066} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4067 return _resultobj;
4068}
4069
c7e7022c
RD
4070#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4071static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4072 PyObject * _resultobj;
c7e7022c
RD
4073 wxPyListCtrl * _arg0;
4074 long _arg1;
4075 bool _arg2 = (bool ) TRUE;
1d99702e 4076 PyObject * _argo0 = 0;
c7e7022c
RD
4077 int tempbool2 = (int) TRUE;
4078 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4079
4080 self = self;
c7e7022c 4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 4082 return NULL;
1d99702e
RD
4083 if (_argo0) {
4084 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4087 return NULL;
4088 }
4089 }
c7e7022c 4090 _arg2 = (bool ) tempbool2;
cf694132 4091{
4268f798 4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4093 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cf694132 4094
4268f798 4095 wxPyEndAllowThreads(__tstate);
493f1553 4096 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4097} Py_INCREF(Py_None);
4098 _resultobj = Py_None;
8ab979d7
RD
4099 return _resultobj;
4100}
4101
c7e7022c
RD
4102#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4103static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4104 PyObject * _resultobj;
c7e7022c 4105 wxPyListCtrl * _arg0;
8ab979d7 4106 long _arg1;
1d99702e 4107 PyObject * _argo0 = 0;
c7e7022c 4108 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4109
4110 self = self;
c7e7022c 4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4112 return NULL;
1d99702e
RD
4113 if (_argo0) {
4114 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4117 return NULL;
4118 }
4119 }
cf694132 4120{
4268f798 4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4122 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cf694132 4123
4268f798 4124 wxPyEndAllowThreads(__tstate);
493f1553 4125 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4126} Py_INCREF(Py_None);
4127 _resultobj = Py_None;
8ab979d7
RD
4128 return _resultobj;
4129}
4130
c7e7022c
RD
4131#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4132static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4133 PyObject * _resultobj;
4134 long _result;
c7e7022c 4135 wxPyListCtrl * _arg0;
8ab979d7 4136 long _arg1;
c7e7022c
RD
4137 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4138 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
1d99702e 4139 PyObject * _argo0 = 0;
c7e7022c 4140 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
4141
4142 self = self;
c7e7022c 4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 4144 return NULL;
1d99702e
RD
4145 if (_argo0) {
4146 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4149 return NULL;
4150 }
4151 }
4152{
4268f798 4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4154 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
4155
4268f798 4156 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4157 if (PyErr_Occurred()) return NULL;
4158} _resultobj = Py_BuildValue("l",_result);
4159 return _resultobj;
4160}
4161
4162#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4163static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject * _resultobj;
4165 wxImageList * _result;
4166 wxPyListCtrl * _arg0;
4167 int _arg1;
4168 PyObject * _argo0 = 0;
4169 char *_kwnames[] = { "self","which", NULL };
4170
4171 self = self;
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
185d7c3e 4173 return NULL;
c7e7022c
RD
4174 if (_argo0) {
4175 if (_argo0 == Py_None) { _arg0 = NULL; }
4176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
8ab979d7 4178 return NULL;
c7e7022c 4179 }
8ab979d7 4180 }
cf694132 4181{
4268f798 4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4183 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cf694132 4184
4268f798 4185 wxPyEndAllowThreads(__tstate);
493f1553 4186 if (PyErr_Occurred()) return NULL;
c7e7022c 4187}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
4188 return _resultobj;
4189}
4190
c7e7022c
RD
4191#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4192static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4193 PyObject * _resultobj;
c7e7022c
RD
4194 wxPyListCtrl * _arg0;
4195 wxImageList * _arg1;
4196 int _arg2;
1d99702e
RD
4197 PyObject * _argo0 = 0;
4198 PyObject * _argo1 = 0;
c7e7022c 4199 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4200
4201 self = self;
c7e7022c 4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4203 return NULL;
1d99702e
RD
4204 if (_argo0) {
4205 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4208 return NULL;
4209 }
4210 }
1d99702e
RD
4211 if (_argo1) {
4212 if (_argo1 == Py_None) { _arg1 = NULL; }
c7e7022c
RD
4213 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4214 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4215 return NULL;
4216 }
4217 }
cf694132 4218{
4268f798 4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4220 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4221
4268f798 4222 wxPyEndAllowThreads(__tstate);
493f1553 4223 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4224} Py_INCREF(Py_None);
4225 _resultobj = Py_None;
8ab979d7
RD
4226 return _resultobj;
4227}
4228
c7e7022c
RD
4229#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4230static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4231 PyObject * _resultobj;
c7e7022c
RD
4232 wxPyListCtrl * _arg0;
4233 wxImageList * _arg1;
4234 int _arg2;
1d99702e 4235 PyObject * _argo0 = 0;
c7e7022c
RD
4236 PyObject * _argo1 = 0;
4237 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4238
4239 self = self;
c7e7022c 4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4241 return NULL;
1d99702e
RD
4242 if (_argo0) {
4243 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4246 return NULL;
4247 }
4248 }
c7e7022c
RD
4249 if (_argo1) {
4250 if (_argo1 == Py_None) { _arg1 = NULL; }
4251 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4252 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
8ab979d7 4253 return NULL;
c7e7022c 4254 }
8ab979d7 4255 }
cf694132 4256{
4268f798 4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4258 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cf694132 4259
4268f798 4260 wxPyEndAllowThreads(__tstate);
493f1553 4261 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4262} Py_INCREF(Py_None);
4263 _resultobj = Py_None;
8ab979d7
RD
4264 return _resultobj;
4265}
4266
c7e7022c
RD
4267#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4268static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4269 PyObject * _resultobj;
c7e7022c
RD
4270 bool _result;
4271 wxPyListCtrl * _arg0;
1d99702e 4272 PyObject * _argo0 = 0;
c7e7022c 4273 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4274
4275 self = self;
c7e7022c 4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
8ab979d7 4277 return NULL;
1d99702e
RD
4278 if (_argo0) {
4279 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4282 return NULL;
4283 }
4284 }
cf694132 4285{
4268f798 4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4287 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4288
4268f798 4289 wxPyEndAllowThreads(__tstate);
493f1553 4290 if (PyErr_Occurred()) return NULL;
c7e7022c 4291} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4292 return _resultobj;
4293}
4294
c7e7022c
RD
4295#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4296static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4297 PyObject * _resultobj;
c7e7022c 4298 wxPyListCtrl * _arg0;
8ab979d7 4299 long _arg1;
1d99702e 4300 PyObject * _argo0 = 0;
c7e7022c 4301 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4302
4303 self = self;
c7e7022c 4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4305 return NULL;
1d99702e
RD
4306 if (_argo0) {
4307 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4310 return NULL;
4311 }
4312 }
cf694132 4313{
4268f798 4314 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4315 wxListCtrl_RefreshItem(_arg0,_arg1);
cf694132 4316
4268f798 4317 wxPyEndAllowThreads(__tstate);
493f1553 4318 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4319} Py_INCREF(Py_None);
4320 _resultobj = Py_None;
8ab979d7
RD
4321 return _resultobj;
4322}
4323
c7e7022c
RD
4324#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4325static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4326 PyObject * _resultobj;
c7e7022c
RD
4327 wxPyListCtrl * _arg0;
4328 long _arg1;
4329 long _arg2;
1d99702e 4330 PyObject * _argo0 = 0;
c7e7022c 4331 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4332
4333 self = self;
c7e7022c 4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4335 return NULL;
1d99702e
RD
4336 if (_argo0) {
4337 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4340 return NULL;
4341 }
4342 }
cf694132 4343{
4268f798 4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4345 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cf694132 4346
4268f798 4347 wxPyEndAllowThreads(__tstate);
493f1553 4348 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4349} Py_INCREF(Py_None);
4350 _resultobj = Py_None;
8ab979d7
RD
4351 return _resultobj;
4352}
4353
c7e7022c
RD
4354#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4355static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4356 PyObject * _resultobj;
c7e7022c
RD
4357 bool _result;
4358 wxPyListCtrl * _arg0;
4359 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1d99702e 4360 PyObject * _argo0 = 0;
c7e7022c 4361 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
4362
4363 self = self;
c7e7022c 4364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 4365 return NULL;
1d99702e
RD
4366 if (_argo0) {
4367 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4370 return NULL;
4371 }
4372 }
cf694132 4373{
4268f798 4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4375 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4376
4268f798 4377 wxPyEndAllowThreads(__tstate);
493f1553 4378 if (PyErr_Occurred()) return NULL;
c7e7022c 4379} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4380 return _resultobj;
4381}
4382
c7e7022c
RD
4383#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4384static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4385 PyObject * _resultobj;
4386 bool _result;
c7e7022c
RD
4387 wxPyListCtrl * _arg0;
4388 long _arg1;
1d99702e 4389 PyObject * _argo0 = 0;
c7e7022c 4390 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4391
4392 self = self;
c7e7022c 4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4394 return NULL;
1d99702e
RD
4395 if (_argo0) {
4396 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4399 return NULL;
4400 }
4401 }
c7e7022c 4402{
4268f798 4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4404 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
4405
4268f798 4406 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4407 if (PyErr_Occurred()) return NULL;
4408} _resultobj = Py_BuildValue("i",_result);
4409 return _resultobj;
4410}
4411
4412#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4413static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject * _resultobj;
4415 bool _result;
4416 wxPyListCtrl * _arg0;
4417 PyObject * _argo0 = 0;
4418 char *_kwnames[] = { "self", NULL };
4419
4420 self = self;
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4422 return NULL;
4423 if (_argo0) {
4424 if (_argo0 == Py_None) { _arg0 = NULL; }
4425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4427 return NULL;
4428 }
4429 }
cf694132 4430{
4268f798 4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4432 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cf694132 4433
4268f798 4434 wxPyEndAllowThreads(__tstate);
493f1553 4435 if (PyErr_Occurred()) return NULL;
cf694132 4436} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4437 return _resultobj;
4438}
4439
c7e7022c
RD
4440#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4441static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4442 PyObject * _resultobj;
4443 bool _result;
c7e7022c 4444 wxPyListCtrl * _arg0;
8ab979d7 4445 int _arg1;
1d99702e 4446 PyObject * _argo0 = 0;
c7e7022c 4447 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4448
4449 self = self;
c7e7022c 4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 4451 return NULL;
1d99702e
RD
4452 if (_argo0) {
4453 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4456 return NULL;
4457 }
4458 }
cf694132 4459{
4268f798 4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4461 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cf694132 4462
4268f798 4463 wxPyEndAllowThreads(__tstate);
493f1553 4464 if (PyErr_Occurred()) return NULL;
cf694132 4465} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4466 return _resultobj;
4467}
4468
c7e7022c
RD
4469#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4470static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4471 PyObject * _resultobj;
c7e7022c
RD
4472 bool _result;
4473 wxPyListCtrl * _arg0;
1d99702e 4474 PyObject * _argo0 = 0;
c7e7022c 4475 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4476
4477 self = self;
c7e7022c 4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 4479 return NULL;
1d99702e
RD
4480 if (_argo0) {
4481 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4484 return NULL;
4485 }
4486 }
c7e7022c 4487{
4268f798 4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4489 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
4490
4268f798 4491 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4492 if (PyErr_Occurred()) return NULL;
4493} _resultobj = Py_BuildValue("i",_result);
4494 return _resultobj;
4495}
4496
4497#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4498static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject * _resultobj;
4500 wxPyListCtrl * _arg0;
4501 PyObject * _argo0 = 0;
4502 char *_kwnames[] = { "self", NULL };
4503
4504 self = self;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
4506 return NULL;
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4511 return NULL;
4512 }
4513 }
cf694132 4514{
4268f798 4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4516 wxListCtrl_ClearAll(_arg0);
cf694132 4517
4268f798 4518 wxPyEndAllowThreads(__tstate);
493f1553 4519 if (PyErr_Occurred()) return NULL;
cf694132 4520} Py_INCREF(Py_None);
8ab979d7
RD
4521 _resultobj = Py_None;
4522 return _resultobj;
4523}
4524
c7e7022c
RD
4525#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4526static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject * _resultobj;
4528 wxTextCtrl * _result;
4529 wxPyListCtrl * _arg0;
4530 long _arg1;
4531 PyObject * _argo0 = 0;
4532 char *_kwnames[] = { "self","item", NULL };
4533
4534 self = self;
4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4536 return NULL;
4537 if (_argo0) {
4538 if (_argo0 == Py_None) { _arg0 = NULL; }
4539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4541 return NULL;
4542 }
4543 }
4544{
4268f798 4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4546 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
4547
4268f798 4548 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4549 if (PyErr_Occurred()) return NULL;
4550}{ _resultobj = wxPyMake_wxObject(_result); }
4551 return _resultobj;
4552}
4553
4554#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4555static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4556 PyObject * _resultobj;
4557 bool _result;
c7e7022c
RD
4558 wxPyListCtrl * _arg0;
4559 bool _arg1;
1d99702e 4560 PyObject * _argo0 = 0;
c7e7022c
RD
4561 int tempbool1;
4562 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
4563
4564 self = self;
c7e7022c 4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 4566 return NULL;
1d99702e
RD
4567 if (_argo0) {
4568 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4571 return NULL;
4572 }
4573 }
c7e7022c
RD
4574 _arg1 = (bool ) tempbool1;
4575{
4268f798 4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4577 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
4578
4268f798 4579 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4580 if (PyErr_Occurred()) return NULL;
4581} _resultobj = Py_BuildValue("i",_result);
4582 return _resultobj;
4583}
4584
4585#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4586static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4587 PyObject * _resultobj;
4588 bool _result;
4589 wxPyListCtrl * _arg0;
4590 long _arg1;
4591 PyObject * _argo0 = 0;
4592 char *_kwnames[] = { "self","item", NULL };
4593
4594 self = self;
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4596 return NULL;
4597 if (_argo0) {
4598 if (_argo0 == Py_None) { _arg0 = NULL; }
4599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4601 return NULL;
4602 }
4603 }
cf694132 4604{
4268f798 4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4606 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4607
4268f798 4608 wxPyEndAllowThreads(__tstate);
493f1553 4609 if (PyErr_Occurred()) return NULL;
cf694132 4610} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4611 return _resultobj;
4612}
4613
c7e7022c
RD
4614#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4615static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4616 PyObject * _resultobj;
4617 long _result;
c7e7022c 4618 wxPyListCtrl * _arg0;
8ab979d7 4619 long _arg1;
c7e7022c
RD
4620 wxString * _arg2;
4621 bool _arg3 = (bool ) FALSE;
1d99702e 4622 PyObject * _argo0 = 0;
c7e7022c
RD
4623 PyObject * _obj2 = 0;
4624 int tempbool3 = (int) FALSE;
4625 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4626
4627 self = self;
c7e7022c 4628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4629 return NULL;
1d99702e
RD
4630 if (_argo0) {
4631 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4634 return NULL;
4635 }
4636 }
4637{
185d7c3e
RD
4638#if PYTHON_API_VERSION >= 1009
4639 char* tmpPtr; int tmpSize;
c7e7022c 4640 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 4641 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4642 return NULL;
4643 }
c7e7022c 4644 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
185d7c3e 4645 return NULL;
c7e7022c 4646 _arg2 = new wxString(tmpPtr, tmpSize);
185d7c3e 4647#else
c7e7022c 4648 if (!PyString_Check(_obj2)) {
8ab979d7
RD
4649 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4650 return NULL;
4651 }
c7e7022c 4652 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
185d7c3e 4653#endif
8ab979d7 4654}
c7e7022c 4655 _arg3 = (bool ) tempbool3;
cf694132 4656{
4268f798 4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4658 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4659
4268f798 4660 wxPyEndAllowThreads(__tstate);
493f1553 4661 if (PyErr_Occurred()) return NULL;
cf694132 4662} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4663{
c7e7022c
RD
4664 if (_obj2)
4665 delete _arg2;
8ab979d7
RD
4666}
4667 return _resultobj;
4668}
4669
c7e7022c
RD
4670#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4671static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4672 PyObject * _resultobj;
c7e7022c
RD
4673 long _result;
4674 wxPyListCtrl * _arg0;
8ab979d7
RD
4675 long _arg1;
4676 long _arg2;
1d99702e 4677 PyObject * _argo0 = 0;
c7e7022c 4678 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4679
4680 self = self;
c7e7022c 4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4682 return NULL;
1d99702e
RD
4683 if (_argo0) {
4684 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4687 return NULL;
4688 }
4689 }
cf694132 4690{
4268f798 4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4692 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4693
4268f798 4694 wxPyEndAllowThreads(__tstate);
493f1553 4695 if (PyErr_Occurred()) return NULL;
c7e7022c 4696} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4697 return _resultobj;
4698}
4699
c7e7022c
RD
4700#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4701static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4702 PyObject * _resultobj;
c7e7022c
RD
4703 long _result;
4704 wxPyListCtrl * _arg0;
4705 long _arg1;
4706 wxPoint * _arg2;
4707 int _arg3;
4708 PyObject * _argo0 = 0;
4709 wxPoint temp;
4710 PyObject * _obj2 = 0;
4711 char *_kwnames[] = { "self","start","pt","direction", NULL };
4712
4713 self = self;
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4715 return NULL;
4716 if (_argo0) {
4717 if (_argo0 == Py_None) { _arg0 = NULL; }
4718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4720 return NULL;
4721 }
4722 }
4723{
4724 _arg2 = &temp;
4725 if (! wxPoint_helper(_obj2, &_arg2))
4726 return NULL;
4727}
4728{
4268f798 4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4730 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
4731
4268f798 4732 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4733 if (PyErr_Occurred()) return NULL;
4734} _resultobj = Py_BuildValue("l",_result);
4735 return _resultobj;
4736}
4737
4738#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4739static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject * _resultobj;
4741 long _result;
4742 wxPyListCtrl * _arg0;
4743 wxPoint * _arg1;
4744 int * _arg2;
4745 int temp;
4746 PyObject * _argo0 = 0;
4747 wxPoint temp0;
4748 PyObject * _obj1 = 0;
4749 char *_kwnames[] = { "self","point", NULL };
4750
4751 self = self;
4752{
4753 _arg2 = &temp;
4754}
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4756 return NULL;
4757 if (_argo0) {
4758 if (_argo0 == Py_None) { _arg0 = NULL; }
4759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4761 return NULL;
4762 }
4763 }
4764{
4765 _arg1 = &temp0;
4766 if (! wxPoint_helper(_obj1, &_arg1))
4767 return NULL;
4768}
4769{
4268f798 4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4771 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
4772
4268f798 4773 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4774 if (PyErr_Occurred()) return NULL;
4775} _resultobj = Py_BuildValue("l",_result);
4776{
4777 PyObject *o;
4778 o = PyInt_FromLong((long) (*_arg2));
4779 _resultobj = t_output_helper(_resultobj, o);
4780}
4781 return _resultobj;
4782}
4783
4784#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4785static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject * _resultobj;
4787 long _result;
4788 wxPyListCtrl * _arg0;
4789 wxListItem * _arg1;
4790 PyObject * _argo0 = 0;
4791 PyObject * _argo1 = 0;
4792 char *_kwnames[] = { "self","info", NULL };
4793
4794 self = self;
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4796 return NULL;
4797 if (_argo0) {
4798 if (_argo0 == Py_None) { _arg0 = NULL; }
4799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4801 return NULL;
4802 }
4803 }
4804 if (_argo1) {
4805 if (_argo1 == Py_None) { _arg1 = NULL; }
4806 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4807 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4808 return NULL;
4809 }
4810 }
4811{
4268f798 4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4813 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
4814
4268f798 4815 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4816 if (PyErr_Occurred()) return NULL;
4817} _resultobj = Py_BuildValue("l",_result);
4818 return _resultobj;
4819}
4820
4821#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4822static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject * _resultobj;
4824 long _result;
4825 wxPyListCtrl * _arg0;
4826 long _arg1;
4827 wxString * _arg2;
4828 PyObject * _argo0 = 0;
4829 PyObject * _obj2 = 0;
4830 char *_kwnames[] = { "self","index","label", NULL };
4831
4832 self = self;
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4834 return NULL;
4835 if (_argo0) {
4836 if (_argo0 == Py_None) { _arg0 = NULL; }
4837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4839 return NULL;
4840 }
4841 }
4842{
4843#if PYTHON_API_VERSION >= 1009
4844 char* tmpPtr; int tmpSize;
4845 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4846 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4847 return NULL;
4848 }
4849 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4850 return NULL;
4851 _arg2 = new wxString(tmpPtr, tmpSize);
4852#else
4853 if (!PyString_Check(_obj2)) {
4854 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4855 return NULL;
4856 }
4857 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4858#endif
4859}
4860{
4268f798 4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c
RD
4862 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
4863
4268f798 4864 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4865 if (PyErr_Occurred()) return NULL;
4866} _resultobj = Py_BuildValue("l",_result);
4867{
4868 if (_obj2)
4869 delete _arg2;
4870}
4871 return _resultobj;
4872}
4873
4874#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4875static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject * _resultobj;
4877 long _result;
4878 wxPyListCtrl * _arg0;
8ab979d7
RD
4879 long _arg1;
4880 int _arg2;
1d99702e 4881 PyObject * _argo0 = 0;
c7e7022c 4882 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4883
4884 self = self;
c7e7022c 4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4886 return NULL;
1d99702e
RD
4887 if (_argo0) {
4888 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4891 return NULL;
4892 }
4893 }
cf694132 4894{
4268f798 4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4896 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4897
4268f798 4898 wxPyEndAllowThreads(__tstate);
493f1553 4899 if (PyErr_Occurred()) return NULL;
c7e7022c 4900} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4901 return _resultobj;
4902}
4903
c7e7022c
RD
4904#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4905static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4906 PyObject * _resultobj;
c7e7022c
RD
4907 long _result;
4908 wxPyListCtrl * _arg0;
8ab979d7 4909 long _arg1;
c7e7022c
RD
4910 wxString * _arg2;
4911 int _arg3;
1d99702e 4912 PyObject * _argo0 = 0;
2f90df85 4913 PyObject * _obj2 = 0;
c7e7022c 4914 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4915
4916 self = self;
c7e7022c 4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4918 return NULL;
1d99702e
RD
4919 if (_argo0) {
4920 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4923 return NULL;
4924 }
4925 }
2f90df85 4926{
c7e7022c
RD
4927#if PYTHON_API_VERSION >= 1009
4928 char* tmpPtr; int tmpSize;
4929 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4930 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4931 return NULL;
4932 }
4933 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4934 return NULL;
4935 _arg2 = new wxString(tmpPtr, tmpSize);
4936#else
4937 if (!PyString_Check(_obj2)) {
4938 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 4939 return NULL;
c7e7022c
RD
4940 }
4941 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4942#endif
2f90df85 4943}
cf694132 4944{
4268f798 4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4946 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4947
4268f798 4948 wxPyEndAllowThreads(__tstate);
493f1553 4949 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4950} _resultobj = Py_BuildValue("l",_result);
4951{
4952 if (_obj2)
4953 delete _arg2;
4954}
8ab979d7
RD
4955 return _resultobj;
4956}
4957
c7e7022c
RD
4958#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4959static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4960 PyObject * _resultobj;
c7e7022c
RD
4961 long _result;
4962 wxPyListCtrl * _arg0;
8ab979d7 4963 long _arg1;
c7e7022c 4964 wxListItem * _arg2;
1d99702e 4965 PyObject * _argo0 = 0;
c7e7022c
RD
4966 PyObject * _argo2 = 0;
4967 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4968
4969 self = self;
c7e7022c 4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4971 return NULL;
1d99702e
RD
4972 if (_argo0) {
4973 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4976 return NULL;
4977 }
4978 }
4979 if (_argo2) {
4980 if (_argo2 == Py_None) { _arg2 = NULL; }
4981 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4982 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4983 return NULL;
4984 }
4985 }
cf694132 4986{
4268f798 4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 4988 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4989
4268f798 4990 wxPyEndAllowThreads(__tstate);
493f1553 4991 if (PyErr_Occurred()) return NULL;
c7e7022c 4992} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4993 return _resultobj;
4994}
4995
c7e7022c
RD
4996#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4997static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4998 PyObject * _resultobj;
c7e7022c
RD
4999 long _result;
5000 wxPyListCtrl * _arg0;
8ab979d7
RD
5001 long _arg1;
5002 wxString * _arg2;
c7e7022c
RD
5003 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
5004 int _arg4 = (int ) -1;
1d99702e 5005 PyObject * _argo0 = 0;
8ab979d7 5006 PyObject * _obj2 = 0;
c7e7022c 5007 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
5008
5009 self = self;
c7e7022c 5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 5011 return NULL;
1d99702e
RD
5012 if (_argo0) {
5013 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5016 return NULL;
5017 }
5018 }
5019{
185d7c3e
RD
5020#if PYTHON_API_VERSION >= 1009
5021 char* tmpPtr; int tmpSize;
5022 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5023 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5024 return NULL;
5025 }
5026 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5027 return NULL;
5028 _arg2 = new wxString(tmpPtr, tmpSize);
5029#else
8ab979d7
RD
5030 if (!PyString_Check(_obj2)) {
5031 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5032 return NULL;
5033 }
185d7c3e
RD
5034 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5035#endif
8ab979d7 5036}
cf694132 5037{
4268f798 5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 5039 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 5040
4268f798 5041 wxPyEndAllowThreads(__tstate);
493f1553 5042 if (PyErr_Occurred()) return NULL;
c7e7022c 5043} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5044{
5045 if (_obj2)
5046 delete _arg2;
5047}
5048 return _resultobj;
5049}
5050
c7e7022c
RD
5051#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5052static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5053 PyObject * _resultobj;
c7e7022c 5054 wxPyListCtrl * _arg0;
8ab979d7 5055 long _arg1;
1d99702e 5056 PyObject * _argo0 = 0;
c7e7022c 5057 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
5058
5059 self = self;
c7e7022c 5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 5061 return NULL;
1d99702e
RD
5062 if (_argo0) {
5063 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5066 return NULL;
5067 }
5068 }
cf694132 5069{
4268f798 5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 5071 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 5072
4268f798 5073 wxPyEndAllowThreads(__tstate);
493f1553 5074 if (PyErr_Occurred()) return NULL;
cf694132 5075} Py_INCREF(Py_None);
8ab979d7
RD
5076 _resultobj = Py_None;
5077 return _resultobj;
5078}
5079
c7e7022c
RD
5080#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5081static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5082 PyObject * _resultobj;
c7e7022c
RD
5083 bool _result;
5084 wxPyListCtrl * _arg0;
5085 int _arg1;
5086 int _arg2;
1d99702e 5087 PyObject * _argo0 = 0;
c7e7022c 5088 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
5089
5090 self = self;
c7e7022c 5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5092 return NULL;
1d99702e
RD
5093 if (_argo0) {
5094 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5097 return NULL;
5098 }
5099 }
cf694132 5100{
4268f798 5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 5102 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 5103
4268f798 5104 wxPyEndAllowThreads(__tstate);
493f1553 5105 if (PyErr_Occurred()) return NULL;
c7e7022c 5106} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5107 return _resultobj;
5108}
5109
c7e7022c 5110static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
5111 if (!PyCallable_Check(func))
5112 return FALSE;
f6bcfd97 5113 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5114 }
5115static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject * _resultobj;
5117 bool _result;
c7e7022c 5118 wxPyListCtrl * _arg0;
dcd38683
RD
5119 PyObject * _arg1;
5120 PyObject * _argo0 = 0;
5121 PyObject * _obj1 = 0;
5122 char *_kwnames[] = { "self","func", NULL };
5123
5124 self = self;
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5126 return NULL;
5127 if (_argo0) {
5128 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5131 return NULL;
5132 }
5133 }
5134{
5135 _arg1 = _obj1;
5136}
5137{
4268f798 5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
c7e7022c 5139 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5140
4268f798 5141 wxPyEndAllowThreads(__tstate);
493f1553 5142 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5143} _resultobj = Py_BuildValue("i",_result);
5144 return _resultobj;
5145}
5146
6d19860f
RD
5147static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5148 wxListView *src;
5149 wxPyListCtrl *dest;
5150 src = (wxListView *) ptr;
5151 dest = (wxPyListCtrl *) src;
5152 return (void *) dest;
5153}
5154
5155static void *SwigwxListViewTowxControl(void *ptr) {
5156 wxListView *src;
5157 wxControl *dest;
5158 src = (wxListView *) ptr;
5159 dest = (wxControl *) src;
5160 return (void *) dest;
5161}
5162
5163static void *SwigwxListViewTowxWindow(void *ptr) {
5164 wxListView *src;
5165 wxWindow *dest;
5166 src = (wxListView *) ptr;
5167 dest = (wxWindow *) src;
5168 return (void *) dest;
5169}
5170
5171static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5172 wxListView *src;
5173 wxEvtHandler *dest;
5174 src = (wxListView *) ptr;
5175 dest = (wxEvtHandler *) src;
5176 return (void *) dest;
5177}
5178
5179static void *SwigwxListViewTowxObject(void *ptr) {
5180 wxListView *src;
5181 wxObject *dest;
5182 src = (wxListView *) ptr;
5183 dest = (wxObject *) src;
5184 return (void *) dest;
5185}
5186
5187#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5188static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject * _resultobj;
5190 wxListView * _result;
5191 wxWindow * _arg0;
5192 wxWindowID _arg1 = (wxWindowID ) -1;
5193 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5194 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5195 long _arg4 = (long ) (wxLC_REPORT);
5196 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5197 wxString * _arg6 = (wxString *) &"listctrl";
5198 PyObject * _argo0 = 0;
5199 wxPoint temp;
5200 PyObject * _obj2 = 0;
5201 wxSize temp0;
5202 PyObject * _obj3 = 0;
5203 PyObject * _argo5 = 0;
5204 PyObject * _obj6 = 0;
5205 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5206 char _ptemp[128];
5207
5208 self = self;
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5210 return NULL;
5211 if (_argo0) {
5212 if (_argo0 == Py_None) { _arg0 = NULL; }
5213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5215 return NULL;
5216 }
5217 }
5218 if (_obj2)
5219{
5220 _arg2 = &temp;
5221 if (! wxPoint_helper(_obj2, &_arg2))
5222 return NULL;
5223}
5224 if (_obj3)
5225{
5226 _arg3 = &temp0;
5227 if (! wxSize_helper(_obj3, &_arg3))
5228 return NULL;
5229}
5230 if (_argo5) {
5231 if (_argo5 == Py_None) { _arg5 = NULL; }
5232 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5233 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5234 return NULL;
5235 }
5236 }
5237 if (_obj6)
5238{
5239#if PYTHON_API_VERSION >= 1009
5240 char* tmpPtr; int tmpSize;
5241 if (!PyString_Check(_obj6) && !PyUnicode_Check(_obj6)) {
5242 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5243 return NULL;
5244 }
5245 if (PyString_AsStringAndSize(_obj6, &tmpPtr, &tmpSize) == -1)
5246 return NULL;
5247 _arg6 = new wxString(tmpPtr, tmpSize);
5248#else
5249 if (!PyString_Check(_obj6)) {
5250 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5251 return NULL;
5252 }
5253 _arg6 = new wxString(PyString_AS_STRING(_obj6), PyString_GET_SIZE(_obj6));
5254#endif
5255}
5256{
4268f798 5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5258 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
5259
4268f798 5260 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5261 if (PyErr_Occurred()) return NULL;
5262} if (_result) {
5263 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5264 _resultobj = Py_BuildValue("s",_ptemp);
5265 } else {
5266 Py_INCREF(Py_None);
5267 _resultobj = Py_None;
5268 }
5269{
5270 if (_obj6)
5271 delete _arg6;
5272}
5273 return _resultobj;
5274}
5275
5276#define new_wxPreListView() (new wxListView())
5277static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject * _resultobj;
5279 wxListView * _result;
5280 char *_kwnames[] = { NULL };
5281 char _ptemp[128];
5282
5283 self = self;
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5285 return NULL;
5286{
4268f798 5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5288 _result = (wxListView *)new_wxPreListView();
5289
4268f798 5290 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5291 if (PyErr_Occurred()) return NULL;
5292} if (_result) {
5293 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5294 _resultobj = Py_BuildValue("s",_ptemp);
5295 } else {
5296 Py_INCREF(Py_None);
5297 _resultobj = Py_None;
5298 }
5299 return _resultobj;
5300}
5301
5302#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5303static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject * _resultobj;
5305 bool _result;
5306 wxListView * _arg0;
5307 wxWindow * _arg1;
5308 wxWindowID _arg2 = (wxWindowID ) -1;
5309 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5310 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5311 long _arg5 = (long ) (wxLC_REPORT);
5312 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
5313 wxString * _arg7 = (wxString *) &"listctrl";
5314 PyObject * _argo0 = 0;
5315 PyObject * _argo1 = 0;
5316 wxPoint temp;
5317 PyObject * _obj3 = 0;
5318 wxSize temp0;
5319 PyObject * _obj4 = 0;
5320 PyObject * _argo6 = 0;
5321 PyObject * _obj7 = 0;
5322 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5323
5324 self = self;
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5326 return NULL;
5327 if (_argo0) {
5328 if (_argo0 == Py_None) { _arg0 = NULL; }
5329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5331 return NULL;
5332 }
5333 }
5334 if (_argo1) {
5335 if (_argo1 == Py_None) { _arg1 = NULL; }
5336 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5337 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5338 return NULL;
5339 }
5340 }
5341 if (_obj3)
5342{
5343 _arg3 = &temp;
5344 if (! wxPoint_helper(_obj3, &_arg3))
5345 return NULL;
5346}
5347 if (_obj4)
5348{
5349 _arg4 = &temp0;
5350 if (! wxSize_helper(_obj4, &_arg4))
5351 return NULL;
5352}
5353 if (_argo6) {
5354 if (_argo6 == Py_None) { _arg6 = NULL; }
5355 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5356 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5357 return NULL;
5358 }
5359 }
5360 if (_obj7)
5361{
5362#if PYTHON_API_VERSION >= 1009
5363 char* tmpPtr; int tmpSize;
5364 if (!PyString_Check(_obj7) && !PyUnicode_Check(_obj7)) {
5365 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5366 return NULL;
5367 }
5368 if (PyString_AsStringAndSize(_obj7, &tmpPtr, &tmpSize) == -1)
5369 return NULL;
5370 _arg7 = new wxString(tmpPtr, tmpSize);
5371#else
5372 if (!PyString_Check(_obj7)) {
5373 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5374 return NULL;
5375 }
5376 _arg7 = new wxString(PyString_AS_STRING(_obj7), PyString_GET_SIZE(_obj7));
5377#endif
5378}
5379{
4268f798 5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5381 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
5382
4268f798 5383 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5384 if (PyErr_Occurred()) return NULL;
5385} _resultobj = Py_BuildValue("i",_result);
5386{
5387 if (_obj7)
5388 delete _arg7;
5389}
5390 return _resultobj;
5391}
5392
5393#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5394static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject * _resultobj;
5396 wxListView * _arg0;
5397 long _arg1;
5398 bool _arg2 = (bool ) TRUE;
5399 PyObject * _argo0 = 0;
5400 int tempbool2 = (int) TRUE;
5401 char *_kwnames[] = { "self","n","on", NULL };
5402
5403 self = self;
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5405 return NULL;
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5410 return NULL;
5411 }
5412 }
5413 _arg2 = (bool ) tempbool2;
5414{
4268f798 5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5416 wxListView_Select(_arg0,_arg1,_arg2);
5417
4268f798 5418 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5419 if (PyErr_Occurred()) return NULL;
5420} Py_INCREF(Py_None);
5421 _resultobj = Py_None;
5422 return _resultobj;
5423}
5424
5425#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5426static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject * _resultobj;
5428 wxListView * _arg0;
5429 long _arg1;
5430 PyObject * _argo0 = 0;
5431 char *_kwnames[] = { "self","index", NULL };
5432
5433 self = self;
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5435 return NULL;
5436 if (_argo0) {
5437 if (_argo0 == Py_None) { _arg0 = NULL; }
5438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5440 return NULL;
5441 }
5442 }
5443{
4268f798 5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5445 wxListView_Focus(_arg0,_arg1);
5446
4268f798 5447 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5448 if (PyErr_Occurred()) return NULL;
5449} Py_INCREF(Py_None);
5450 _resultobj = Py_None;
5451 return _resultobj;
5452}
5453
5454#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5455static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject * _resultobj;
5457 long _result;
5458 wxListView * _arg0;
5459 PyObject * _argo0 = 0;
5460 char *_kwnames[] = { "self", NULL };
5461
5462 self = self;
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5464 return NULL;
5465 if (_argo0) {
5466 if (_argo0 == Py_None) { _arg0 = NULL; }
5467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5469 return NULL;
5470 }
5471 }
5472{
4268f798 5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5474 _result = (long )wxListView_GetFocusedItem(_arg0);
5475
4268f798 5476 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5477 if (PyErr_Occurred()) return NULL;
5478} _resultobj = Py_BuildValue("l",_result);
5479 return _resultobj;
5480}
5481
5482#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5483static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject * _resultobj;
5485 long _result;
5486 wxListView * _arg0;
5487 long _arg1;
5488 PyObject * _argo0 = 0;
5489 char *_kwnames[] = { "self","item", NULL };
5490
5491 self = self;
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5493 return NULL;
5494 if (_argo0) {
5495 if (_argo0 == Py_None) { _arg0 = NULL; }
5496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5498 return NULL;
5499 }
5500 }
5501{
4268f798 5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5503 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
5504
4268f798 5505 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5506 if (PyErr_Occurred()) return NULL;
5507} _resultobj = Py_BuildValue("l",_result);
5508 return _resultobj;
5509}
5510
5511#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5512static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5513 PyObject * _resultobj;
5514 long _result;
5515 wxListView * _arg0;
5516 PyObject * _argo0 = 0;
5517 char *_kwnames[] = { "self", NULL };
5518
5519 self = self;
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5521 return NULL;
5522 if (_argo0) {
5523 if (_argo0 == Py_None) { _arg0 = NULL; }
5524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5526 return NULL;
5527 }
5528 }
5529{
4268f798 5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5531 _result = (long )wxListView_GetFirstSelected(_arg0);
5532
4268f798 5533 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5534 if (PyErr_Occurred()) return NULL;
5535} _resultobj = Py_BuildValue("l",_result);
5536 return _resultobj;
5537}
5538
5539#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5540static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject * _resultobj;
5542 bool _result;
5543 wxListView * _arg0;
5544 long _arg1;
5545 PyObject * _argo0 = 0;
5546 char *_kwnames[] = { "self","index", NULL };
5547
5548 self = self;
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5550 return NULL;
5551 if (_argo0) {
5552 if (_argo0 == Py_None) { _arg0 = NULL; }
5553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5555 return NULL;
5556 }
5557 }
5558{
4268f798 5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5560 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
5561
4268f798 5562 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5563 if (PyErr_Occurred()) return NULL;
5564} _resultobj = Py_BuildValue("i",_result);
5565 return _resultobj;
5566}
5567
5568#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5569static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5570 PyObject * _resultobj;
5571 wxListView * _arg0;
5572 int _arg1;
5573 int _arg2;
5574 PyObject * _argo0 = 0;
5575 char *_kwnames[] = { "self","col","image", NULL };
5576
5577 self = self;
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5579 return NULL;
5580 if (_argo0) {
5581 if (_argo0 == Py_None) { _arg0 = NULL; }
5582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5584 return NULL;
5585 }
5586 }
5587{
4268f798 5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5589 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
5590
4268f798 5591 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5592 if (PyErr_Occurred()) return NULL;
5593} Py_INCREF(Py_None);
5594 _resultobj = Py_None;
5595 return _resultobj;
5596}
5597
5598#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5599static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject * _resultobj;
5601 wxListView * _arg0;
5602 int _arg1;
5603 PyObject * _argo0 = 0;
5604 char *_kwnames[] = { "self","col", NULL };
5605
5606 self = self;
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5608 return NULL;
5609 if (_argo0) {
5610 if (_argo0 == Py_None) { _arg0 = NULL; }
5611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5613 return NULL;
5614 }
5615 }
5616{
4268f798 5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6d19860f
RD
5618 wxListView_ClearColumnImage(_arg0,_arg1);
5619
4268f798 5620 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5621 if (PyErr_Occurred()) return NULL;
5622} Py_INCREF(Py_None);
5623 _resultobj = Py_None;
5624 return _resultobj;
5625}
5626
00b6c4e3
RD
5627#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5628static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject * _resultobj;
5630 wxTreeItemAttr * _result;
5631 wxColour * _arg0 = (wxColour *) &wxNullColour;
5632 wxColour * _arg1 = (wxColour *) &wxNullColour;
5633 wxFont * _arg2 = (wxFont *) &wxNullFont;
5634 wxColour temp;
5635 PyObject * _obj0 = 0;
5636 wxColour temp0;
5637 PyObject * _obj1 = 0;
5638 PyObject * _argo2 = 0;
5639 char *_kwnames[] = { "colText","colBack","font", NULL };
5640 char _ptemp[128];
5641
5642 self = self;
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5644 return NULL;
5645 if (_obj0)
5646{
5647 _arg0 = &temp;
5648 if (! wxColour_helper(_obj0, &_arg0))
5649 return NULL;
5650}
5651 if (_obj1)
5652{
5653 _arg1 = &temp0;
5654 if (! wxColour_helper(_obj1, &_arg1))
5655 return NULL;
5656}
5657 if (_argo2) {
5658 if (_argo2 == Py_None) { _arg2 = NULL; }
5659 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5660 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5661 return NULL;
5662 }
5663 }
5664{
4268f798 5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5666 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
5667
4268f798 5668 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5669 if (PyErr_Occurred()) return NULL;
5670} if (_result) {
5671 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5672 _resultobj = Py_BuildValue("s",_ptemp);
5673 } else {
5674 Py_INCREF(Py_None);
5675 _resultobj = Py_None;
5676 }
5677 return _resultobj;
5678}
5679
5680#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5681static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject * _resultobj;
5683 wxTreeItemAttr * _arg0;
5684 wxColour * _arg1;
5685 PyObject * _argo0 = 0;
5686 wxColour temp;
5687 PyObject * _obj1 = 0;
5688 char *_kwnames[] = { "self","colText", NULL };
5689
5690 self = self;
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5692 return NULL;
5693 if (_argo0) {
5694 if (_argo0 == Py_None) { _arg0 = NULL; }
5695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5697 return NULL;
5698 }
5699 }
5700{
5701 _arg1 = &temp;
5702 if (! wxColour_helper(_obj1, &_arg1))
5703 return NULL;
5704}
5705{
4268f798 5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5707 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
5708
4268f798 5709 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5710 if (PyErr_Occurred()) return NULL;
5711} Py_INCREF(Py_None);
5712 _resultobj = Py_None;
5713 return _resultobj;
5714}
5715
5716#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5717static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5718 PyObject * _resultobj;
5719 wxTreeItemAttr * _arg0;
5720 wxColour * _arg1;
5721 PyObject * _argo0 = 0;
5722 wxColour temp;
5723 PyObject * _obj1 = 0;
5724 char *_kwnames[] = { "self","colBack", NULL };
5725
5726 self = self;
5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5728 return NULL;
5729 if (_argo0) {
5730 if (_argo0 == Py_None) { _arg0 = NULL; }
5731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5733 return NULL;
5734 }
5735 }
5736{
5737 _arg1 = &temp;
5738 if (! wxColour_helper(_obj1, &_arg1))
5739 return NULL;
5740}
5741{
4268f798 5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5743 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
5744
4268f798 5745 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5746 if (PyErr_Occurred()) return NULL;
5747} Py_INCREF(Py_None);
5748 _resultobj = Py_None;
5749 return _resultobj;
5750}
5751
5752#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5753static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject * _resultobj;
5755 wxTreeItemAttr * _arg0;
5756 wxFont * _arg1;
5757 PyObject * _argo0 = 0;
5758 PyObject * _argo1 = 0;
5759 char *_kwnames[] = { "self","font", NULL };
5760
5761 self = self;
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
5763 return NULL;
5764 if (_argo0) {
5765 if (_argo0 == Py_None) { _arg0 = NULL; }
5766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5768 return NULL;
5769 }
5770 }
5771 if (_argo1) {
5772 if (_argo1 == Py_None) { _arg1 = NULL; }
5773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5775 return NULL;
5776 }
5777 }
5778{
4268f798 5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5780 wxTreeItemAttr_SetFont(_arg0,*_arg1);
5781
4268f798 5782 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5783 if (PyErr_Occurred()) return NULL;
5784} Py_INCREF(Py_None);
5785 _resultobj = Py_None;
5786 return _resultobj;
5787}
5788
5789#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5790static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject * _resultobj;
5792 bool _result;
5793 wxTreeItemAttr * _arg0;
5794 PyObject * _argo0 = 0;
5795 char *_kwnames[] = { "self", NULL };
5796
5797 self = self;
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5799 return NULL;
5800 if (_argo0) {
5801 if (_argo0 == Py_None) { _arg0 = NULL; }
5802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5804 return NULL;
5805 }
5806 }
5807{
4268f798 5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5809 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
5810
4268f798 5811 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5812 if (PyErr_Occurred()) return NULL;
5813} _resultobj = Py_BuildValue("i",_result);
5814 return _resultobj;
5815}
5816
5817#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5818static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject * _resultobj;
5820 bool _result;
5821 wxTreeItemAttr * _arg0;
5822 PyObject * _argo0 = 0;
5823 char *_kwnames[] = { "self", NULL };
5824
5825 self = self;
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5827 return NULL;
5828 if (_argo0) {
5829 if (_argo0 == Py_None) { _arg0 = NULL; }
5830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5832 return NULL;
5833 }
5834 }
5835{
4268f798 5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5837 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
5838
4268f798 5839 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5840 if (PyErr_Occurred()) return NULL;
5841} _resultobj = Py_BuildValue("i",_result);
5842 return _resultobj;
5843}
5844
5845#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5846static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5847 PyObject * _resultobj;
5848 bool _result;
5849 wxTreeItemAttr * _arg0;
5850 PyObject * _argo0 = 0;
5851 char *_kwnames[] = { "self", NULL };
5852
5853 self = self;
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
5855 return NULL;
5856 if (_argo0) {
5857 if (_argo0 == Py_None) { _arg0 = NULL; }
5858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5860 return NULL;
5861 }
5862 }
5863{
4268f798 5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
5865 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
5866
4268f798 5867 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5868 if (PyErr_Occurred()) return NULL;
5869} _resultobj = Py_BuildValue("i",_result);
5870 return _resultobj;
5871}
5872
5873#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5874static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject * _resultobj;
5876 wxColour * _result;
5877 wxTreeItemAttr * _arg0;
5878 PyObject * _argo0 = 0;
5879 char *_kwnames[] = { "self", NULL };
5880 char _ptemp[128];
5881
5882 self = self;
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
5884 return NULL;
5885 if (_argo0) {
5886 if (_argo0 == Py_None) { _arg0 = NULL; }
5887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5889 return NULL;
5890 }
5891 }
5892{
4268f798 5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 5894 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
00b6c4e3 5895
4268f798 5896 wxPyEndAllowThreads(__tstate);
00b6c4e3 5897 if (PyErr_Occurred()) return NULL;
c5943253
RD
5898} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5899 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5900 return _resultobj;
5901}
5902
5903#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5904static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5905 PyObject * _resultobj;
5906 wxColour * _result;
5907 wxTreeItemAttr * _arg0;
5908 PyObject * _argo0 = 0;
5909 char *_kwnames[] = { "self", NULL };
5910 char _ptemp[128];
5911
5912 self = self;
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5914 return NULL;
5915 if (_argo0) {
5916 if (_argo0 == Py_None) { _arg0 = NULL; }
5917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5919 return NULL;
5920 }
5921 }
5922{
4268f798 5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 5924 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
00b6c4e3 5925
4268f798 5926 wxPyEndAllowThreads(__tstate);
00b6c4e3 5927 if (PyErr_Occurred()) return NULL;
c5943253
RD
5928} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5929 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5930 return _resultobj;
5931}
5932
5933#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5934static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject * _resultobj;
5936 wxFont * _result;
5937 wxTreeItemAttr * _arg0;
5938 PyObject * _argo0 = 0;
5939 char *_kwnames[] = { "self", NULL };
5940 char _ptemp[128];
5941
5942 self = self;
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5944 return NULL;
5945 if (_argo0) {
5946 if (_argo0 == Py_None) { _arg0 = NULL; }
5947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5949 return NULL;
5950 }
5951 }
5952{
4268f798 5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 5954 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
00b6c4e3 5955
4268f798 5956 wxPyEndAllowThreads(__tstate);
00b6c4e3 5957 if (PyErr_Occurred()) return NULL;
c5943253
RD
5958} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5959 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5960 return _resultobj;
5961}
5962
d5c9047a 5963#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 5964static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5965 PyObject * _resultobj;
d5c9047a 5966 wxTreeItemId * _result;
efc5f224 5967 char *_kwnames[] = { NULL };
d5c9047a 5968 char _ptemp[128];
8ab979d7
RD
5969
5970 self = self;
efc5f224 5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 5972 return NULL;
cf694132 5973{
4268f798 5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5975 _result = (wxTreeItemId *)new_wxTreeItemId();
5976
4268f798 5977 wxPyEndAllowThreads(__tstate);
493f1553 5978 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5979} if (_result) {
5980 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5981 _resultobj = Py_BuildValue("s",_ptemp);
5982 } else {
5983 Py_INCREF(Py_None);
5984 _resultobj = Py_None;
5985 }
8ab979d7
RD
5986 return _resultobj;
5987}
5988
d5c9047a 5989#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 5990static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5991 PyObject * _resultobj;
d5c9047a 5992 wxTreeItemId * _arg0;
1d99702e 5993 PyObject * _argo0 = 0;
efc5f224 5994 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5995
5996 self = self;
efc5f224 5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 5998 return NULL;
1d99702e
RD
5999 if (_argo0) {
6000 if (_argo0 == Py_None) { _arg0 = NULL; }
6001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 6002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
6003 return NULL;
6004 }
6005 }
cf694132 6006{
4268f798 6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6008 delete_wxTreeItemId(_arg0);
6009
4268f798 6010 wxPyEndAllowThreads(__tstate);
493f1553 6011 if (PyErr_Occurred()) return NULL;
cf694132 6012} Py_INCREF(Py_None);
d5c9047a 6013 _resultobj = Py_None;
8ab979d7
RD
6014 return _resultobj;
6015}
6016
d5c9047a 6017#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 6018static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6019 PyObject * _resultobj;
d5c9047a
RD
6020 bool _result;
6021 wxTreeItemId * _arg0;
1d99702e 6022 PyObject * _argo0 = 0;
efc5f224 6023 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6024
6025 self = self;
efc5f224 6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 6027 return NULL;
1d99702e
RD
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
6032 return NULL;
6033 }
6034 }
cf694132 6035{
4268f798 6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6037 _result = (bool )wxTreeItemId_IsOk(_arg0);
6038
4268f798 6039 wxPyEndAllowThreads(__tstate);
493f1553 6040 if (PyErr_Occurred()) return NULL;
cf694132 6041} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6042 return _resultobj;
6043}
6044
f6bcfd97 6045static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 6046 if (! other) return -1;
f6bcfd97
BP
6047 return *self != *other;
6048 }
6049static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject * _resultobj;
6051 int _result;
6052 wxTreeItemId * _arg0;
6053 wxTreeItemId * _arg1;
6054 PyObject * _argo0 = 0;
6055 PyObject * _argo1 = 0;
6056 char *_kwnames[] = { "self","other", NULL };
6057
6058 self = self;
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
6060 return NULL;
6061 if (_argo0) {
6062 if (_argo0 == Py_None) { _arg0 = NULL; }
6063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6065 return NULL;
6066 }
6067 }
6068 if (_argo1) {
6069 if (_argo1 == Py_None) { _arg1 = NULL; }
6070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6072 return NULL;
6073 }
6074 }
6075{
4268f798 6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
6077 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
6078
4268f798 6079 wxPyEndAllowThreads(__tstate);
493f1553 6080 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6081} _resultobj = Py_BuildValue("i",_result);
6082 return _resultobj;
6083}
6084
9416aa89
RD
6085static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
6086 wxPyTreeItemData *src;
6087 wxObject *dest;
6088 src = (wxPyTreeItemData *) ptr;
6089 dest = (wxObject *) src;
6090 return (void *) dest;
6091}
6092
cf694132 6093#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 6094static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6095 PyObject * _resultobj;
cf694132 6096 wxPyTreeItemData * _result;
1d99702e 6097 PyObject * _arg0 = (PyObject *) NULL;
cf694132 6098 PyObject * _obj0 = 0;
efc5f224 6099 char *_kwnames[] = { "obj", NULL };
d5c9047a 6100 char _ptemp[128];
8ab979d7
RD
6101
6102 self = self;
efc5f224 6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 6104 return NULL;
cf694132
RD
6105 if (_obj0)
6106{
6107 _arg0 = _obj0;
6108}
6109{
4268f798 6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6111 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
6112
4268f798 6113 wxPyEndAllowThreads(__tstate);
493f1553 6114 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6115} if (_result) {
6116 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6117 _resultobj = Py_BuildValue("s",_ptemp);
6118 } else {
6119 Py_INCREF(Py_None);
6120 _resultobj = Py_None;
6121 }
8ab979d7
RD
6122 return _resultobj;
6123}
6124
cf694132 6125#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 6126static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
6127 PyObject * _resultobj;
6128 PyObject * _result;
6129 wxPyTreeItemData * _arg0;
1d99702e 6130 PyObject * _argo0 = 0;
efc5f224 6131 char *_kwnames[] = { "self", NULL };
cf694132
RD
6132
6133 self = self;
efc5f224 6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 6135 return NULL;
1d99702e
RD
6136 if (_argo0) {
6137 if (_argo0 == Py_None) { _arg0 = NULL; }
6138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6140 return NULL;
6141 }
6142 }
6143{
4268f798 6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6145 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
6146
4268f798 6147 wxPyEndAllowThreads(__tstate);
493f1553 6148 if (PyErr_Occurred()) return NULL;
cf694132
RD
6149}{
6150 _resultobj = _result;
6151}
6152 return _resultobj;
6153}
6154
6155#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 6156static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6157 PyObject * _resultobj;
cf694132
RD
6158 wxPyTreeItemData * _arg0;
6159 PyObject * _arg1;
1d99702e 6160 PyObject * _argo0 = 0;
cf694132 6161 PyObject * _obj1 = 0;
efc5f224 6162 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
6163
6164 self = self;
efc5f224 6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 6166 return NULL;
1d99702e
RD
6167 if (_argo0) {
6168 if (_argo0 == Py_None) { _arg0 = NULL; }
6169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6171 return NULL;
6172 }
6173 }
cf694132
RD
6174{
6175 _arg1 = _obj1;
6176}
6177{
4268f798 6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6179 wxTreeItemData_SetData(_arg0,_arg1);
6180
4268f798 6181 wxPyEndAllowThreads(__tstate);
493f1553 6182 if (PyErr_Occurred()) return NULL;
cf694132 6183} Py_INCREF(Py_None);
d5c9047a 6184 _resultobj = Py_None;
8ab979d7
RD
6185 return _resultobj;
6186}
6187
630d84f2 6188#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 6189static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6190 PyObject * _resultobj;
d5c9047a 6191 wxTreeItemId * _result;
cf694132 6192 wxPyTreeItemData * _arg0;
1d99702e 6193 PyObject * _argo0 = 0;
efc5f224 6194 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6195 char _ptemp[128];
6196
6197 self = self;
efc5f224 6198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 6199 return NULL;
1d99702e
RD
6200 if (_argo0) {
6201 if (_argo0 == Py_None) { _arg0 = NULL; }
6202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6204 return NULL;
6205 }
6206 }
cf694132 6207{
4268f798 6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132 6209 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 6210 _result = (wxTreeItemId *) &_result_ref;
cf694132 6211
4268f798 6212 wxPyEndAllowThreads(__tstate);
493f1553 6213 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6214} if (_result) {
6215 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6216 _resultobj = Py_BuildValue("s",_ptemp);
6217 } else {
6218 Py_INCREF(Py_None);
6219 _resultobj = Py_None;
6220 }
8ab979d7
RD
6221 return _resultobj;
6222}
6223
630d84f2 6224#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 6225static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 6226 PyObject * _resultobj;
cf694132 6227 wxPyTreeItemData * _arg0;
630d84f2 6228 wxTreeItemId * _arg1;
1d99702e
RD
6229 PyObject * _argo0 = 0;
6230 PyObject * _argo1 = 0;
efc5f224 6231 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6232
6233 self = self;
efc5f224 6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6235 return NULL;
1d99702e
RD
6236 if (_argo0) {
6237 if (_argo0 == Py_None) { _arg0 = NULL; }
6238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6240 return NULL;
6241 }
6242 }
1d99702e
RD
6243 if (_argo1) {
6244 if (_argo1 == Py_None) { _arg1 = NULL; }
6245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6247 return NULL;
6248 }
6249 }
cf694132 6250{
4268f798 6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6252 wxTreeItemData_SetId(_arg0,*_arg1);
6253
4268f798 6254 wxPyEndAllowThreads(__tstate);
493f1553 6255 if (PyErr_Occurred()) return NULL;
cf694132 6256} Py_INCREF(Py_None);
630d84f2
RD
6257 _resultobj = Py_None;
6258 return _resultobj;
6259}
6260
8bf5d46e
RD
6261static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6262 wxTreeEvent *src;
6263 wxNotifyEvent *dest;
6264 src = (wxTreeEvent *) ptr;
6265 dest = (wxNotifyEvent *) src;
6266 return (void *) dest;
6267}
6268
8ab979d7
RD
6269static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6270 wxTreeEvent *src;
6271 wxCommandEvent *dest;
6272 src = (wxTreeEvent *) ptr;
6273 dest = (wxCommandEvent *) src;
6274 return (void *) dest;
6275}
6276
6277static void *SwigwxTreeEventTowxEvent(void *ptr) {
6278 wxTreeEvent *src;
6279 wxEvent *dest;
6280 src = (wxTreeEvent *) ptr;
6281 dest = (wxEvent *) src;
6282 return (void *) dest;
6283}
6284
9416aa89
RD
6285static void *SwigwxTreeEventTowxObject(void *ptr) {
6286 wxTreeEvent *src;
6287 wxObject *dest;
6288 src = (wxTreeEvent *) ptr;
6289 dest = (wxObject *) src;
6290 return (void *) dest;
6291}
6292
00b6c4e3
RD
6293#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6294static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject * _resultobj;
6296 wxTreeEvent * _result;
6297 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6298 int _arg1 = (int ) 0;
6299 char *_kwnames[] = { "commandType","id", NULL };
6300 char _ptemp[128];
6301
6302 self = self;
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6304 return NULL;
6305{
4268f798 6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
6307 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
6308
4268f798 6309 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6310 if (PyErr_Occurred()) return NULL;
6311} if (_result) {
6312 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6313 _resultobj = Py_BuildValue("s",_ptemp);
6314 } else {
6315 Py_INCREF(Py_None);
6316 _resultobj = Py_None;
6317 }
6318 return _resultobj;
6319}
6320
d5c9047a 6321#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6322static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6323 PyObject * _resultobj;
d5c9047a 6324 wxTreeItemId * _result;
8ab979d7 6325 wxTreeEvent * _arg0;
1d99702e 6326 PyObject * _argo0 = 0;
efc5f224 6327 char *_kwnames[] = { "self", NULL };
d5c9047a 6328 char _ptemp[128];
8ab979d7
RD
6329
6330 self = self;
efc5f224 6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6332 return NULL;
1d99702e
RD
6333 if (_argo0) {
6334 if (_argo0 == Py_None) { _arg0 = NULL; }
6335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6337 return NULL;
6338 }
6339 }
cf694132 6340{
4268f798 6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6342 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
6343
4268f798 6344 wxPyEndAllowThreads(__tstate);
493f1553 6345 if (PyErr_Occurred()) return NULL;
cf694132 6346} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6347 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6348 return _resultobj;
6349}
6350
d5c9047a 6351#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6352static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6353 PyObject * _resultobj;
d5c9047a 6354 wxTreeItemId * _result;
8ab979d7 6355 wxTreeEvent * _arg0;
1d99702e 6356 PyObject * _argo0 = 0;
efc5f224 6357 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6358 char _ptemp[128];
6359
6360 self = self;
efc5f224 6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6362 return NULL;
1d99702e
RD
6363 if (_argo0) {
6364 if (_argo0 == Py_None) { _arg0 = NULL; }
6365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6367 return NULL;
6368 }
6369 }
cf694132 6370{
4268f798 6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6372 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
6373
4268f798 6374 wxPyEndAllowThreads(__tstate);
493f1553 6375 if (PyErr_Occurred()) return NULL;
cf694132 6376} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6377 _resultobj = Py_BuildValue("s",_ptemp);
6378 return _resultobj;
6379}
6380
d5c9047a 6381#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6382static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6383 PyObject * _resultobj;
d5c9047a 6384 wxPoint * _result;
8ab979d7 6385 wxTreeEvent * _arg0;
1d99702e 6386 PyObject * _argo0 = 0;
efc5f224 6387 char *_kwnames[] = { "self", NULL };
d5c9047a 6388 char _ptemp[128];
8ab979d7
RD
6389
6390 self = self;
efc5f224 6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6392 return NULL;
1d99702e
RD
6393 if (_argo0) {
6394 if (_argo0 == Py_None) { _arg0 = NULL; }
6395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6397 return NULL;
6398 }
6399 }
cf694132 6400{
4268f798 6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6402 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
6403
4268f798 6404 wxPyEndAllowThreads(__tstate);
493f1553 6405 if (PyErr_Occurred()) return NULL;
cf694132 6406} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6407 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6408 return _resultobj;
6409}
6410
ecc08ead
RD
6411#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6412static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6413 PyObject * _resultobj;
6414 wxKeyEvent * _result;
6415 wxTreeEvent * _arg0;
6416 PyObject * _argo0 = 0;
6417 char *_kwnames[] = { "self", NULL };
6418 char _ptemp[128];
6419
6420 self = self;
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6422 return NULL;
6423 if (_argo0) {
6424 if (_argo0 == Py_None) { _arg0 = NULL; }
6425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6427 return NULL;
6428 }
6429 }
6430{
4268f798 6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
ecc08ead
RD
6432 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
6433 _result = (wxKeyEvent *) &_result_ref;
6434
4268f798 6435 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6436 if (PyErr_Occurred()) return NULL;
6437} if (_result) {
6438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6439 _resultobj = Py_BuildValue("s",_ptemp);
6440 } else {
6441 Py_INCREF(Py_None);
6442 _resultobj = Py_None;
6443 }
6444 return _resultobj;
6445}
6446
d5c9047a 6447#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6448static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6449 PyObject * _resultobj;
d5c9047a 6450 int _result;
8ab979d7 6451 wxTreeEvent * _arg0;
1d99702e 6452 PyObject * _argo0 = 0;
efc5f224 6453 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6454
6455 self = self;
efc5f224 6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6457 return NULL;
1d99702e
RD
6458 if (_argo0) {
6459 if (_argo0 == Py_None) { _arg0 = NULL; }
6460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6462 return NULL;
6463 }
6464 }
cf694132 6465{
4268f798 6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6467 _result = (int )wxTreeEvent_GetCode(_arg0);
6468
4268f798 6469 wxPyEndAllowThreads(__tstate);
493f1553 6470 if (PyErr_Occurred()) return NULL;
cf694132 6471} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6472 return _resultobj;
6473}
6474
8bf5d46e 6475#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6476static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6477 PyObject * _resultobj;
8bf5d46e 6478 wxString * _result;
d5c9047a 6479 wxTreeEvent * _arg0;
1d99702e 6480 PyObject * _argo0 = 0;
efc5f224 6481 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6482
6483 self = self;
efc5f224 6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6485 return NULL;
1d99702e
RD
6486 if (_argo0) {
6487 if (_argo0 == Py_None) { _arg0 = NULL; }
6488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6490 return NULL;
6491 }
6492 }
cf694132 6493{
4268f798 6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8bf5d46e
RD
6495 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
6496 _result = (wxString *) &_result_ref;
cf694132 6497
4268f798 6498 wxPyEndAllowThreads(__tstate);
493f1553 6499 if (PyErr_Occurred()) return NULL;
8bf5d46e 6500}{
eec92d76 6501 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8bf5d46e 6502}
8ab979d7
RD
6503 return _resultobj;
6504}
6505
f6bcfd97
BP
6506static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6507 wxPyTreeCtrl *src;
8ab979d7 6508 wxControl *dest;
f6bcfd97 6509 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6510 dest = (wxControl *) src;
6511 return (void *) dest;
6512}
6513
f6bcfd97
BP
6514static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6515 wxPyTreeCtrl *src;
8ab979d7 6516 wxWindow *dest;
f6bcfd97 6517 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6518 dest = (wxWindow *) src;
6519 return (void *) dest;
6520}
6521
f6bcfd97
BP
6522static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6523 wxPyTreeCtrl *src;
8ab979d7 6524 wxEvtHandler *dest;
f6bcfd97 6525 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6526 dest = (wxEvtHandler *) src;
6527 return (void *) dest;
6528}
6529
9416aa89
RD
6530static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6531 wxPyTreeCtrl *src;
6532 wxObject *dest;
6533 src = (wxPyTreeCtrl *) ptr;
6534 dest = (wxObject *) src;
6535 return (void *) dest;
6536}
6537
f6bcfd97 6538#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6539static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6540 PyObject * _resultobj;
f6bcfd97 6541 wxPyTreeCtrl * _result;
8ab979d7 6542 wxWindow * _arg0;
1d99702e 6543 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6544 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6545 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
00b6c4e3 6546 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
e508a2b6 6547 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
6548 char * _arg6 = (char *) "wxTreeCtrl";
6549 PyObject * _argo0 = 0;
2f90df85
RD
6550 wxPoint temp;
6551 PyObject * _obj2 = 0;
6552 wxSize temp0;
6553 PyObject * _obj3 = 0;
1d99702e 6554 PyObject * _argo5 = 0;
efc5f224 6555 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6556 char _ptemp[128];
6557
6558 self = self;
2f90df85 6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 6560 return NULL;
1d99702e
RD
6561 if (_argo0) {
6562 if (_argo0 == Py_None) { _arg0 = NULL; }
6563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6565 return NULL;
6566 }
6567 }
2f90df85
RD
6568 if (_obj2)
6569{
6570 _arg2 = &temp;
6571 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6572 return NULL;
2f90df85
RD
6573}
6574 if (_obj3)
6575{
6576 _arg3 = &temp0;
6577 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6578 return NULL;
2f90df85 6579}
1d99702e
RD
6580 if (_argo5) {
6581 if (_argo5 == Py_None) { _arg5 = NULL; }
6582 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6583 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6584 return NULL;
6585 }
6586 }
cf694132 6587{
4268f798 6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 6589 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132 6590
4268f798 6591 wxPyEndAllowThreads(__tstate);
493f1553 6592 if (PyErr_Occurred()) return NULL;
1d99702e 6593} if (_result) {
f6bcfd97 6594 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6595 _resultobj = Py_BuildValue("s",_ptemp);
6596 } else {
6597 Py_INCREF(Py_None);
6598 _resultobj = Py_None;
6599 }
8ab979d7
RD
6600 return _resultobj;
6601}
6602
09f3d4e6
RD
6603#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6604static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject * _resultobj;
6606 wxPyTreeCtrl * _result;
6607 char *_kwnames[] = { NULL };
6608 char _ptemp[128];
6609
6610 self = self;
6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6612 return NULL;
6613{
4268f798 6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
6615 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
6616
4268f798 6617 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6618 if (PyErr_Occurred()) return NULL;
6619} if (_result) {
6620 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6621 _resultobj = Py_BuildValue("s",_ptemp);
6622 } else {
6623 Py_INCREF(Py_None);
6624 _resultobj = Py_None;
6625 }
6626 return _resultobj;
6627}
6628
6629#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6630static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject * _resultobj;
6632 bool _result;
6633 wxPyTreeCtrl * _arg0;
6634 wxWindow * _arg1;
6635 wxWindowID _arg2 = (wxWindowID ) -1;
6636 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6637 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6638 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6639 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6640 char * _arg7 = (char *) "wxTreeCtrl";
6641 PyObject * _argo0 = 0;
6642 PyObject * _argo1 = 0;
6643 wxPoint temp;
6644 PyObject * _obj3 = 0;
6645 wxSize temp0;
6646 PyObject * _obj4 = 0;
6647 PyObject * _argo6 = 0;
6648 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6649
6650 self = self;
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6652 return NULL;
6653 if (_argo0) {
6654 if (_argo0 == Py_None) { _arg0 = NULL; }
6655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6657 return NULL;
6658 }
6659 }
6660 if (_argo1) {
6661 if (_argo1 == Py_None) { _arg1 = NULL; }
6662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6664 return NULL;
6665 }
6666 }
6667 if (_obj3)
6668{
6669 _arg3 = &temp;
6670 if (! wxPoint_helper(_obj3, &_arg3))
6671 return NULL;
6672}
6673 if (_obj4)
6674{
6675 _arg4 = &temp0;
6676 if (! wxSize_helper(_obj4, &_arg4))
6677 return NULL;
6678}
6679 if (_argo6) {
6680 if (_argo6 == Py_None) { _arg6 = NULL; }
6681 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6682 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6683 return NULL;
6684 }
6685 }
6686{
4268f798 6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
6688 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6689
4268f798 6690 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6691 if (PyErr_Occurred()) return NULL;
6692} _resultobj = Py_BuildValue("i",_result);
6693 return _resultobj;
6694}
6695
0122b7e3
RD
6696#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6697static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6698 PyObject * _resultobj;
6699 wxPyTreeCtrl * _arg0;
6700 PyObject * _arg1;
6701 PyObject * _arg2;
6702 PyObject * _argo0 = 0;
6703 PyObject * _obj1 = 0;
6704 PyObject * _obj2 = 0;
6705 char *_kwnames[] = { "self","self","_class", NULL };
6706
6707 self = self;
0122b7e3 6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
6709 return NULL;
6710 if (_argo0) {
6711 if (_argo0 == Py_None) { _arg0 = NULL; }
6712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0122b7e3 6713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
f6bcfd97
BP
6714 return NULL;
6715 }
6716 }
6717{
6718 _arg1 = _obj1;
6719}
6720{
6721 _arg2 = _obj2;
6722}
6723{
4268f798 6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 6725 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 6726
4268f798 6727 wxPyEndAllowThreads(__tstate);
493f1553 6728 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6729} Py_INCREF(Py_None);
6730 _resultobj = Py_None;
6731 return _resultobj;
6732}
6733
d5c9047a 6734#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6735static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6736 PyObject * _resultobj;
c127177f 6737 size_t _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_GetCount",_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_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6749 return NULL;
6750 }
6751 }
cf694132 6752{
4268f798 6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c127177f 6754 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6755
4268f798 6756 wxPyEndAllowThreads(__tstate);
493f1553 6757 if (PyErr_Occurred()) return NULL;
c127177f 6758} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6759 return _resultobj;
6760}
6761
d5c9047a 6762#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6763static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6764 PyObject * _resultobj;
d5c9047a 6765 unsigned int _result;
f6bcfd97 6766 wxPyTreeCtrl * _arg0;
1d99702e 6767 PyObject * _argo0 = 0;
efc5f224 6768 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6769
6770 self = self;
efc5f224 6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6772 return NULL;
1d99702e
RD
6773 if (_argo0) {
6774 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6777 return NULL;
6778 }
6779 }
cf694132 6780{
4268f798 6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6782 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
6783
4268f798 6784 wxPyEndAllowThreads(__tstate);
493f1553 6785 if (PyErr_Occurred()) return NULL;
cf694132 6786} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6787 return _resultobj;
6788}
6789
d5c9047a 6790#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6791static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6792 PyObject * _resultobj;
f6bcfd97 6793 wxPyTreeCtrl * _arg0;
d5c9047a 6794 unsigned int _arg1;
1d99702e 6795 PyObject * _argo0 = 0;
efc5f224 6796 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6797
6798 self = self;
efc5f224 6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6800 return NULL;
1d99702e
RD
6801 if (_argo0) {
6802 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6805 return NULL;
6806 }
6807 }
cf694132 6808{
4268f798 6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6810 wxTreeCtrl_SetIndent(_arg0,_arg1);
6811
4268f798 6812 wxPyEndAllowThreads(__tstate);
493f1553 6813 if (PyErr_Occurred()) return NULL;
cf694132 6814} Py_INCREF(Py_None);
d5c9047a 6815 _resultobj = Py_None;
8ab979d7
RD
6816 return _resultobj;
6817}
6818
d5c9047a 6819#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6820static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6821 PyObject * _resultobj;
d5c9047a 6822 wxImageList * _result;
f6bcfd97 6823 wxPyTreeCtrl * _arg0;
1d99702e 6824 PyObject * _argo0 = 0;
efc5f224 6825 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6826
6827 self = self;
efc5f224 6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6829 return NULL;
1d99702e
RD
6830 if (_argo0) {
6831 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6834 return NULL;
6835 }
6836 }
cf694132 6837{
4268f798 6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6839 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
6840
4268f798 6841 wxPyEndAllowThreads(__tstate);
493f1553 6842 if (PyErr_Occurred()) return NULL;
9416aa89 6843}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6844 return _resultobj;
6845}
6846
d5c9047a 6847#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6848static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6849 PyObject * _resultobj;
d5c9047a 6850 wxImageList * _result;
f6bcfd97 6851 wxPyTreeCtrl * _arg0;
1d99702e 6852 PyObject * _argo0 = 0;
efc5f224 6853 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6854
6855 self = self;
efc5f224 6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6857 return NULL;
1d99702e
RD
6858 if (_argo0) {
6859 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6862 return NULL;
6863 }
6864 }
cf694132 6865{
4268f798 6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6867 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
6868
4268f798 6869 wxPyEndAllowThreads(__tstate);
493f1553 6870 if (PyErr_Occurred()) return NULL;
9416aa89 6871}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6872 return _resultobj;
6873}
6874
d5c9047a 6875#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6876static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6877 PyObject * _resultobj;
f6bcfd97 6878 wxPyTreeCtrl * _arg0;
d5c9047a 6879 wxImageList * _arg1;
1d99702e
RD
6880 PyObject * _argo0 = 0;
6881 PyObject * _argo1 = 0;
efc5f224 6882 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6883
6884 self = self;
efc5f224 6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6886 return NULL;
1d99702e
RD
6887 if (_argo0) {
6888 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6891 return NULL;
6892 }
6893 }
1d99702e
RD
6894 if (_argo1) {
6895 if (_argo1 == Py_None) { _arg1 = NULL; }
6896 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6897 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6898 return NULL;
6899 }
6900 }
cf694132 6901{
4268f798 6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6903 wxTreeCtrl_SetImageList(_arg0,_arg1);
6904
4268f798 6905 wxPyEndAllowThreads(__tstate);
493f1553 6906 if (PyErr_Occurred()) return NULL;
cf694132 6907} Py_INCREF(Py_None);
d5c9047a 6908 _resultobj = Py_None;
8ab979d7
RD
6909 return _resultobj;
6910}
6911
d5c9047a 6912#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6913static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6914 PyObject * _resultobj;
f6bcfd97 6915 wxPyTreeCtrl * _arg0;
d5c9047a 6916 wxImageList * _arg1;
1d99702e
RD
6917 PyObject * _argo0 = 0;
6918 PyObject * _argo1 = 0;
efc5f224 6919 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6920
6921 self = self;
efc5f224 6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6923 return NULL;
1d99702e
RD
6924 if (_argo0) {
6925 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6928 return NULL;
6929 }
6930 }
1d99702e
RD
6931 if (_argo1) {
6932 if (_argo1 == Py_None) { _arg1 = NULL; }
6933 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6935 return NULL;
6936 }
6937 }
cf694132 6938{
4268f798 6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6940 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
6941
4268f798 6942 wxPyEndAllowThreads(__tstate);
493f1553 6943 if (PyErr_Occurred()) return NULL;
cf694132 6944} Py_INCREF(Py_None);
d5c9047a 6945 _resultobj = Py_None;
8ab979d7
RD
6946 return _resultobj;
6947}
6948
00b6c4e3
RD
6949#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6950static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject * _resultobj;
6952 wxPyTreeCtrl * _arg0;
6953 wxImageList * _arg1;
6954 PyObject * _argo0 = 0;
6955 PyObject * _argo1 = 0;
6956 char *_kwnames[] = { "self","imageList", NULL };
6957
6958 self = self;
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6960 return NULL;
6961 if (_argo0) {
6962 if (_argo0 == Py_None) { _arg0 = NULL; }
6963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6965 return NULL;
6966 }
6967 }
6968 if (_argo1) {
6969 if (_argo1 == Py_None) { _arg1 = NULL; }
6970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6972 return NULL;
6973 }
6974 }
6975{
4268f798 6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
6977 wxTreeCtrl_AssignImageList(_arg0,_arg1);
6978
4268f798 6979 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6980 if (PyErr_Occurred()) return NULL;
6981} Py_INCREF(Py_None);
6982 _resultobj = Py_None;
6983 return _resultobj;
6984}
6985
6986#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6987static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject * _resultobj;
6989 wxPyTreeCtrl * _arg0;
6990 wxImageList * _arg1;
6991 PyObject * _argo0 = 0;
6992 PyObject * _argo1 = 0;
6993 char *_kwnames[] = { "self","imageList", NULL };
6994
6995 self = self;
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6997 return NULL;
6998 if (_argo0) {
6999 if (_argo0 == Py_None) { _arg0 = NULL; }
7000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7002 return NULL;
7003 }
7004 }
7005 if (_argo1) {
7006 if (_argo1 == Py_None) { _arg1 = NULL; }
7007 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7008 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7009 return NULL;
7010 }
7011 }
7012{
4268f798 7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
00b6c4e3
RD
7014 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
7015
4268f798 7016 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
7017 if (PyErr_Occurred()) return NULL;
7018} Py_INCREF(Py_None);
7019 _resultobj = Py_None;
7020 return _resultobj;
7021}
7022
b1462dfa
RD
7023#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7024static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7025 PyObject * _resultobj;
7026 unsigned int _result;
f6bcfd97 7027 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7028 PyObject * _argo0 = 0;
7029 char *_kwnames[] = { "self", NULL };
7030
7031 self = self;
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
7033 return NULL;
7034 if (_argo0) {
7035 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7038 return NULL;
7039 }
7040 }
7041{
4268f798 7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1462dfa
RD
7043 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
7044
4268f798 7045 wxPyEndAllowThreads(__tstate);
493f1553 7046 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7047} _resultobj = Py_BuildValue("i",_result);
7048 return _resultobj;
7049}
7050
7051#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7052static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject * _resultobj;
f6bcfd97 7054 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7055 unsigned int _arg1;
7056 PyObject * _argo0 = 0;
7057 char *_kwnames[] = { "self","spacing", NULL };
7058
7059 self = self;
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7061 return NULL;
7062 if (_argo0) {
7063 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7066 return NULL;
7067 }
7068 }
7069{
4268f798 7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1462dfa
RD
7071 wxTreeCtrl_SetSpacing(_arg0,_arg1);
7072
4268f798 7073 wxPyEndAllowThreads(__tstate);
493f1553 7074 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7075} Py_INCREF(Py_None);
7076 _resultobj = Py_None;
7077 return _resultobj;
7078}
7079
d5c9047a 7080#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 7081static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7082 PyObject * _resultobj;
d5c9047a 7083 wxString * _result;
f6bcfd97 7084 wxPyTreeCtrl * _arg0;
d5c9047a 7085 wxTreeItemId * _arg1;
1d99702e
RD
7086 PyObject * _argo0 = 0;
7087 PyObject * _argo1 = 0;
efc5f224 7088 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7089
7090 self = self;
efc5f224 7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7092 return NULL;
1d99702e
RD
7093 if (_argo0) {
7094 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7097 return NULL;
7098 }
7099 }
1d99702e
RD
7100 if (_argo1) {
7101 if (_argo1 == Py_None) { _arg1 = NULL; }
7102 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7103 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7104 return NULL;
7105 }
7106 }
d5c9047a 7107{
4268f798 7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7109 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
7110
4268f798 7111 wxPyEndAllowThreads(__tstate);
493f1553 7112 if (PyErr_Occurred()) return NULL;
cf694132 7113}{
eec92d76 7114 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
d5c9047a
RD
7115}
7116{
7117 delete _result;
7118}
8ab979d7
RD
7119 return _resultobj;
7120}
7121
694759cf 7122#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7123static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7124 PyObject * _resultobj;
d5c9047a 7125 int _result;
f6bcfd97 7126 wxPyTreeCtrl * _arg0;
d5c9047a 7127 wxTreeItemId * _arg1;
694759cf 7128 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7129 PyObject * _argo0 = 0;
7130 PyObject * _argo1 = 0;
694759cf 7131 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7132
7133 self = self;
694759cf 7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7135 return NULL;
1d99702e
RD
7136 if (_argo0) {
7137 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7140 return NULL;
7141 }
7142 }
1d99702e
RD
7143 if (_argo1) {
7144 if (_argo1 == Py_None) { _arg1 = NULL; }
7145 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7146 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7147 return NULL;
7148 }
7149 }
cf694132 7150{
4268f798 7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
694759cf 7152 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7153
4268f798 7154 wxPyEndAllowThreads(__tstate);
493f1553 7155 if (PyErr_Occurred()) return NULL;
cf694132 7156} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7157 return _resultobj;
7158}
7159
d5c9047a 7160#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7161static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7162 PyObject * _resultobj;
d5c9047a 7163 int _result;
f6bcfd97 7164 wxPyTreeCtrl * _arg0;
d5c9047a 7165 wxTreeItemId * _arg1;
1d99702e
RD
7166 PyObject * _argo0 = 0;
7167 PyObject * _argo1 = 0;
efc5f224 7168 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7169
7170 self = self;
efc5f224 7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7172 return NULL;
1d99702e
RD
7173 if (_argo0) {
7174 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7177 return NULL;
7178 }
7179 }
1d99702e
RD
7180 if (_argo1) {
7181 if (_argo1 == Py_None) { _arg1 = NULL; }
7182 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7183 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7184 return NULL;
7185 }
7186 }
cf694132 7187{
4268f798 7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132 7189 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7190
4268f798 7191 wxPyEndAllowThreads(__tstate);
493f1553 7192 if (PyErr_Occurred()) return NULL;
cf694132 7193} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7194 return _resultobj;
7195}
7196
d5c9047a 7197#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7198static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7199 PyObject * _resultobj;
f6bcfd97 7200 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7201 wxTreeItemId * _arg1;
7202 wxString * _arg2;
1d99702e
RD
7203 PyObject * _argo0 = 0;
7204 PyObject * _argo1 = 0;
d5c9047a 7205 PyObject * _obj2 = 0;
efc5f224 7206 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7207
7208 self = self;
efc5f224 7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7210 return NULL;
1d99702e
RD
7211 if (_argo0) {
7212 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7215 return NULL;
7216 }
7217 }
1d99702e
RD
7218 if (_argo1) {
7219 if (_argo1 == Py_None) { _arg1 = NULL; }
7220 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7221 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7222 return NULL;
7223 }
7224 }
7225{
185d7c3e
RD
7226#if PYTHON_API_VERSION >= 1009
7227 char* tmpPtr; int tmpSize;
7228 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 7229 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7230 return NULL;
7231 }
7232 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7233 return NULL;
7234 _arg2 = new wxString(tmpPtr, tmpSize);
7235#else
d5c9047a
RD
7236 if (!PyString_Check(_obj2)) {
7237 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7238 return NULL;
7239 }
185d7c3e
RD
7240 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7241#endif
d5c9047a 7242}
cf694132 7243{
4268f798 7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7245 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
7246
4268f798 7247 wxPyEndAllowThreads(__tstate);
493f1553 7248 if (PyErr_Occurred()) return NULL;
cf694132 7249} Py_INCREF(Py_None);
d5c9047a
RD
7250 _resultobj = Py_None;
7251{
7252 if (_obj2)
7253 delete _arg2;
7254}
8ab979d7
RD
7255 return _resultobj;
7256}
7257
694759cf 7258#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7259static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7260 PyObject * _resultobj;
f6bcfd97 7261 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7262 wxTreeItemId * _arg1;
7263 int _arg2;
694759cf 7264 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7265 PyObject * _argo0 = 0;
7266 PyObject * _argo1 = 0;
694759cf 7267 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7268
7269 self = self;
694759cf 7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7271 return NULL;
1d99702e
RD
7272 if (_argo0) {
7273 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7276 return NULL;
7277 }
7278 }
1d99702e
RD
7279 if (_argo1) {
7280 if (_argo1 == Py_None) { _arg1 = NULL; }
7281 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7283 return NULL;
7284 }
7285 }
cf694132 7286{
4268f798 7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
694759cf 7288 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7289
4268f798 7290 wxPyEndAllowThreads(__tstate);
493f1553 7291 if (PyErr_Occurred()) return NULL;
cf694132 7292} Py_INCREF(Py_None);
d5c9047a 7293 _resultobj = Py_None;
8ab979d7
RD
7294 return _resultobj;
7295}
7296
d5c9047a 7297#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7298static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7299 PyObject * _resultobj;
f6bcfd97 7300 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7301 wxTreeItemId * _arg1;
7302 int _arg2;
1d99702e
RD
7303 PyObject * _argo0 = 0;
7304 PyObject * _argo1 = 0;
efc5f224 7305 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7306
7307 self = self;
efc5f224 7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7309 return NULL;
1d99702e
RD
7310 if (_argo0) {
7311 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7314 return NULL;
7315 }
7316 }
1d99702e
RD
7317 if (_argo1) {
7318 if (_argo1 == Py_None) { _arg1 = NULL; }
7319 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7320 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7321 return NULL;
7322 }
7323 }
cf694132 7324{
4268f798 7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7326 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
7327
4268f798 7328 wxPyEndAllowThreads(__tstate);
493f1553 7329 if (PyErr_Occurred()) return NULL;
cf694132
RD
7330} Py_INCREF(Py_None);
7331 _resultobj = Py_None;
7332 return _resultobj;
7333}
7334
7335#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7336static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7337 PyObject * _resultobj;
f6bcfd97 7338 wxPyTreeCtrl * _arg0;
cf694132 7339 wxTreeItemId * _arg1;
1d99702e
RD
7340 bool _arg2 = (bool ) TRUE;
7341 PyObject * _argo0 = 0;
7342 PyObject * _argo1 = 0;
7343 int tempbool2 = (int) TRUE;
efc5f224 7344 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7345
7346 self = self;
efc5f224 7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7348 return NULL;
1d99702e
RD
7349 if (_argo0) {
7350 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7353 return NULL;
7354 }
7355 }
1d99702e
RD
7356 if (_argo1) {
7357 if (_argo1 == Py_None) { _arg1 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7360 return NULL;
7361 }
7362 }
7363 _arg2 = (bool ) tempbool2;
7364{
4268f798 7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7366 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
7367
4268f798 7368 wxPyEndAllowThreads(__tstate);
493f1553 7369 if (PyErr_Occurred()) return NULL;
cf694132 7370} Py_INCREF(Py_None);
d5c9047a 7371 _resultobj = Py_None;
8ab979d7
RD
7372 return _resultobj;
7373}
7374
f6bcfd97 7375static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7376 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7377 if (data == NULL) {
7378 data = new wxPyTreeItemData();
f6bcfd97 7379 data->SetId(item); // set the id
cf694132
RD
7380 self->SetItemData(item, data);
7381 }
7382 return data;
7383 }
efc5f224 7384static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7385 PyObject * _resultobj;
7386 wxPyTreeItemData * _result;
f6bcfd97 7387 wxPyTreeCtrl * _arg0;
cf694132 7388 wxTreeItemId * _arg1;
1d99702e
RD
7389 PyObject * _argo0 = 0;
7390 PyObject * _argo1 = 0;
efc5f224 7391 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7392 char _ptemp[128];
7393
7394 self = self;
efc5f224 7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7396 return NULL;
1d99702e
RD
7397 if (_argo0) {
7398 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7401 return NULL;
7402 }
7403 }
1d99702e
RD
7404 if (_argo1) {
7405 if (_argo1 == Py_None) { _arg1 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7408 return NULL;
7409 }
7410 }
7411{
4268f798 7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7413 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7414
4268f798 7415 wxPyEndAllowThreads(__tstate);
493f1553 7416 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7417} if (_result) {
7418 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7419 _resultobj = Py_BuildValue("s",_ptemp);
7420 } else {
7421 Py_INCREF(Py_None);
7422 _resultobj = Py_None;
7423 }
cf694132
RD
7424 return _resultobj;
7425}
7426
f6bcfd97
BP
7427static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7428 data->SetId(item); // set the id
7429 self->SetItemData(item, data);
c368d904 7430 }
efc5f224 7431static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7432 PyObject * _resultobj;
f6bcfd97 7433 wxPyTreeCtrl * _arg0;
d5c9047a 7434 wxTreeItemId * _arg1;
cf694132 7435 wxPyTreeItemData * _arg2;
1d99702e
RD
7436 PyObject * _argo0 = 0;
7437 PyObject * _argo1 = 0;
7438 PyObject * _argo2 = 0;
efc5f224 7439 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7440
7441 self = self;
efc5f224 7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7443 return NULL;
1d99702e
RD
7444 if (_argo0) {
7445 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7448 return NULL;
7449 }
7450 }
1d99702e
RD
7451 if (_argo1) {
7452 if (_argo1 == Py_None) { _arg1 = NULL; }
7453 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7454 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7455 return NULL;
7456 }
7457 }
1d99702e
RD
7458 if (_argo2) {
7459 if (_argo2 == Py_None) { _arg2 = NULL; }
7460 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7461 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7462 return NULL;
7463 }
7464 }
cf694132 7465{
4268f798 7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7467 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7468
4268f798 7469 wxPyEndAllowThreads(__tstate);
493f1553 7470 if (PyErr_Occurred()) return NULL;
cf694132 7471} Py_INCREF(Py_None);
d5c9047a 7472 _resultobj = Py_None;
8ab979d7
RD
7473 return _resultobj;
7474}
7475
f6bcfd97 7476static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7477 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7478 if (data == NULL) {
7479 data = new wxPyTreeItemData();
f6bcfd97 7480 data->SetId(item); // set the id
cf694132
RD
7481 self->SetItemData(item, data);
7482 }
7483 return data->GetData();
c368d904 7484 }
efc5f224 7485static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7486 PyObject * _resultobj;
cf694132 7487 PyObject * _result;
f6bcfd97 7488 wxPyTreeCtrl * _arg0;
08127323 7489 wxTreeItemId * _arg1;
1d99702e
RD
7490 PyObject * _argo0 = 0;
7491 PyObject * _argo1 = 0;
efc5f224 7492 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7493
7494 self = self;
efc5f224 7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7496 return NULL;
1d99702e
RD
7497 if (_argo0) {
7498 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7501 return NULL;
7502 }
7503 }
1d99702e
RD
7504 if (_argo1) {
7505 if (_argo1 == Py_None) { _arg1 = NULL; }
7506 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7507 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7508 return NULL;
7509 }
7510 }
cf694132 7511{
4268f798 7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7513 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7514
4268f798 7515 wxPyEndAllowThreads(__tstate);
493f1553 7516 if (PyErr_Occurred()) return NULL;
cf694132
RD
7517}{
7518 _resultobj = _result;
7519}
7520 return _resultobj;
7521}
7522
f6bcfd97 7523static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7524 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7525 if (data == NULL) {
7526 data = new wxPyTreeItemData(obj);
f6bcfd97 7527 data->SetId(item); // set the id
cf694132
RD
7528 self->SetItemData(item, data);
7529 } else
7530 data->SetData(obj);
c368d904 7531 }
efc5f224 7532static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7533 PyObject * _resultobj;
f6bcfd97 7534 wxPyTreeCtrl * _arg0;
cf694132
RD
7535 wxTreeItemId * _arg1;
7536 PyObject * _arg2;
1d99702e
RD
7537 PyObject * _argo0 = 0;
7538 PyObject * _argo1 = 0;
cf694132 7539 PyObject * _obj2 = 0;
efc5f224 7540 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7541
7542 self = self;
efc5f224 7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7544 return NULL;
1d99702e
RD
7545 if (_argo0) {
7546 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7549 return NULL;
7550 }
7551 }
1d99702e
RD
7552 if (_argo1) {
7553 if (_argo1 == Py_None) { _arg1 = NULL; }
7554 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7556 return NULL;
7557 }
7558 }
7559{
7560 _arg2 = _obj2;
7561}
7562{
4268f798 7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7564 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7565
4268f798 7566 wxPyEndAllowThreads(__tstate);
493f1553 7567 if (PyErr_Occurred()) return NULL;
cf694132 7568} Py_INCREF(Py_None);
08127323
RD
7569 _resultobj = Py_None;
7570 return _resultobj;
7571}
7572
d5c9047a 7573#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7574static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7575 PyObject * _resultobj;
d5c9047a 7576 bool _result;
f6bcfd97 7577 wxPyTreeCtrl * _arg0;
d5c9047a 7578 wxTreeItemId * _arg1;
1d99702e
RD
7579 PyObject * _argo0 = 0;
7580 PyObject * _argo1 = 0;
efc5f224 7581 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7582
7583 self = self;
efc5f224 7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7585 return NULL;
1d99702e
RD
7586 if (_argo0) {
7587 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7590 return NULL;
7591 }
7592 }
1d99702e
RD
7593 if (_argo1) {
7594 if (_argo1 == Py_None) { _arg1 = NULL; }
7595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7597 return NULL;
7598 }
7599 }
cf694132 7600{
4268f798 7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7602 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
7603
4268f798 7604 wxPyEndAllowThreads(__tstate);
493f1553 7605 if (PyErr_Occurred()) return NULL;
cf694132 7606} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7607 return _resultobj;
7608}
7609
d5c9047a 7610#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7611static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7612 PyObject * _resultobj;
d5c9047a 7613 bool _result;
f6bcfd97 7614 wxPyTreeCtrl * _arg0;
d5c9047a 7615 wxTreeItemId * _arg1;
1d99702e
RD
7616 PyObject * _argo0 = 0;
7617 PyObject * _argo1 = 0;
efc5f224 7618 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7619
7620 self = self;
efc5f224 7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7622 return NULL;
1d99702e
RD
7623 if (_argo0) {
7624 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7627 return NULL;
7628 }
7629 }
1d99702e
RD
7630 if (_argo1) {
7631 if (_argo1 == Py_None) { _arg1 = NULL; }
7632 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7633 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7634 return NULL;
7635 }
7636 }
cf694132 7637{
4268f798 7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7639 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
7640
4268f798 7641 wxPyEndAllowThreads(__tstate);
493f1553 7642 if (PyErr_Occurred()) return NULL;
cf694132 7643} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7644 return _resultobj;
7645}
7646
d5c9047a 7647#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7648static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7649 PyObject * _resultobj;
d5c9047a 7650 bool _result;
f6bcfd97 7651 wxPyTreeCtrl * _arg0;
d5c9047a 7652 wxTreeItemId * _arg1;
1d99702e
RD
7653 PyObject * _argo0 = 0;
7654 PyObject * _argo1 = 0;
efc5f224 7655 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7656
7657 self = self;
efc5f224 7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7659 return NULL;
1d99702e
RD
7660 if (_argo0) {
7661 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7664 return NULL;
7665 }
7666 }
1d99702e
RD
7667 if (_argo1) {
7668 if (_argo1 == Py_None) { _arg1 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7671 return NULL;
7672 }
7673 }
cf694132 7674{
4268f798 7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7676 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
7677
4268f798 7678 wxPyEndAllowThreads(__tstate);
493f1553 7679 if (PyErr_Occurred()) return NULL;
cf694132 7680} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7681 return _resultobj;
7682}
7683
d5c9047a 7684#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7685static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7686 PyObject * _resultobj;
d5c9047a 7687 bool _result;
f6bcfd97 7688 wxPyTreeCtrl * _arg0;
d5c9047a 7689 wxTreeItemId * _arg1;
1d99702e
RD
7690 PyObject * _argo0 = 0;
7691 PyObject * _argo1 = 0;
efc5f224 7692 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7693
7694 self = self;
efc5f224 7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7696 return NULL;
1d99702e
RD
7697 if (_argo0) {
7698 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7701 return NULL;
7702 }
7703 }
1d99702e
RD
7704 if (_argo1) {
7705 if (_argo1 == Py_None) { _arg1 = NULL; }
7706 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7707 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7708 return NULL;
7709 }
7710 }
cf694132 7711{
4268f798 7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7713 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
7714
4268f798 7715 wxPyEndAllowThreads(__tstate);
493f1553 7716 if (PyErr_Occurred()) return NULL;
cf694132 7717} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7718 return _resultobj;
7719}
7720
7721#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7722static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7723 PyObject * _resultobj;
d5c9047a 7724 wxTreeItemId * _result;
f6bcfd97 7725 wxPyTreeCtrl * _arg0;
1d99702e 7726 PyObject * _argo0 = 0;
efc5f224 7727 char *_kwnames[] = { "self", NULL };
d5c9047a 7728 char _ptemp[128];
8ab979d7
RD
7729
7730 self = self;
efc5f224 7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7732 return NULL;
1d99702e
RD
7733 if (_argo0) {
7734 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7737 return NULL;
7738 }
7739 }
cf694132 7740{
4268f798 7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7742 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
7743
4268f798 7744 wxPyEndAllowThreads(__tstate);
493f1553 7745 if (PyErr_Occurred()) return NULL;
cf694132 7746} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7747 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7748 return _resultobj;
7749}
7750
7751#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7752static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7753 PyObject * _resultobj;
d5c9047a 7754 wxTreeItemId * _result;
f6bcfd97 7755 wxPyTreeCtrl * _arg0;
1d99702e 7756 PyObject * _argo0 = 0;
efc5f224 7757 char *_kwnames[] = { "self", NULL };
d5c9047a 7758 char _ptemp[128];
8ab979d7
RD
7759
7760 self = self;
efc5f224 7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7762 return NULL;
1d99702e
RD
7763 if (_argo0) {
7764 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7767 return NULL;
7768 }
7769 }
cf694132 7770{
4268f798 7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7772 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
7773
4268f798 7774 wxPyEndAllowThreads(__tstate);
493f1553 7775 if (PyErr_Occurred()) return NULL;
cf694132 7776} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7777 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7778 return _resultobj;
7779}
7780
eb715945
RD
7781#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7782static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7783 PyObject * _resultobj;
d5c9047a 7784 wxTreeItemId * _result;
f6bcfd97 7785 wxPyTreeCtrl * _arg0;
d5c9047a 7786 wxTreeItemId * _arg1;
1d99702e
RD
7787 PyObject * _argo0 = 0;
7788 PyObject * _argo1 = 0;
efc5f224 7789 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7790 char _ptemp[128];
8ab979d7
RD
7791
7792 self = self;
eb715945 7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7794 return NULL;
1d99702e
RD
7795 if (_argo0) {
7796 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7799 return NULL;
7800 }
7801 }
1d99702e
RD
7802 if (_argo1) {
7803 if (_argo1 == Py_None) { _arg1 = NULL; }
7804 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7805 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7806 return NULL;
7807 }
7808 }
cf694132 7809{
4268f798 7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
eb715945 7811 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7812
4268f798 7813 wxPyEndAllowThreads(__tstate);
493f1553 7814 if (PyErr_Occurred()) return NULL;
cf694132 7815} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7816 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7817 return _resultobj;
7818}
7819
f6bcfd97 7820static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
4268f798 7821 wxPyBeginBlockThreads();
d426c97e
RD
7822 PyObject* rval = PyList_New(0);
7823 wxArrayTreeItemIds array;
7824 size_t num, x;
7825 num = self->GetSelections(array);
7826 for (x=0; x < num; x++) {
c368d904
RD
7827 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7828 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7829 PyList_Append(rval, item);
7830 }
4268f798 7831 wxPyEndBlockThreads();
d426c97e
RD
7832 return rval;
7833 }
7834static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject * _resultobj;
7836 PyObject * _result;
f6bcfd97 7837 wxPyTreeCtrl * _arg0;
d426c97e
RD
7838 PyObject * _argo0 = 0;
7839 char *_kwnames[] = { "self", NULL };
7840
7841 self = self;
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7843 return NULL;
7844 if (_argo0) {
7845 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7848 return NULL;
7849 }
7850 }
7851{
4268f798 7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7853 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7854
4268f798 7855 wxPyEndAllowThreads(__tstate);
493f1553 7856 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7857}{
7858 _resultobj = _result;
7859}
7860 return _resultobj;
7861}
7862
bb0054cd 7863#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7864static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7865 PyObject * _resultobj;
7866 size_t _result;
f6bcfd97 7867 wxPyTreeCtrl * _arg0;
bb0054cd 7868 wxTreeItemId * _arg1;
1d99702e
RD
7869 bool _arg2 = (bool ) TRUE;
7870 PyObject * _argo0 = 0;
7871 PyObject * _argo1 = 0;
7872 int tempbool2 = (int) TRUE;
efc5f224 7873 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7874
7875 self = self;
efc5f224 7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7877 return NULL;
1d99702e
RD
7878 if (_argo0) {
7879 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7882 return NULL;
7883 }
7884 }
1d99702e
RD
7885 if (_argo1) {
7886 if (_argo1 == Py_None) { _arg1 = NULL; }
7887 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7889 return NULL;
7890 }
7891 }
7892 _arg2 = (bool ) tempbool2;
7893{
4268f798 7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
bb0054cd
RD
7895 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
7896
4268f798 7897 wxPyEndAllowThreads(__tstate);
493f1553 7898 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7899} _resultobj = Py_BuildValue("i",_result);
7900 return _resultobj;
7901}
7902
d5c9047a 7903#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7904static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7905 PyObject * _resultobj;
d5c9047a 7906 wxTreeItemId * _result;
f6bcfd97 7907 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7908 wxTreeItemId * _arg1;
7909 long * _arg2;
1d99702e
RD
7910 PyObject * _argo0 = 0;
7911 PyObject * _argo1 = 0;
d5c9047a
RD
7912 long temp;
7913 PyObject * _obj2 = 0;
efc5f224 7914 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7915 char _ptemp[128];
8ab979d7
RD
7916
7917 self = self;
efc5f224 7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7919 return NULL;
1d99702e
RD
7920 if (_argo0) {
7921 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7924 return NULL;
7925 }
7926 }
1d99702e
RD
7927 if (_argo1) {
7928 if (_argo1 == Py_None) { _arg1 = NULL; }
7929 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7930 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7931 return NULL;
7932 }
7933 }
d5c9047a
RD
7934{
7935 temp = (long) PyInt_AsLong(_obj2);
7936 _arg2 = &temp;
7937}
cf694132 7938{
4268f798 7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7940 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
7941
4268f798 7942 wxPyEndAllowThreads(__tstate);
493f1553 7943 if (PyErr_Occurred()) return NULL;
cf694132 7944} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7945 _resultobj = Py_BuildValue("s",_ptemp);
7946{
7947 PyObject *o;
7948 o = PyInt_FromLong((long) (*_arg2));
7949 _resultobj = t_output_helper(_resultobj, o);
7950}
8ab979d7
RD
7951 return _resultobj;
7952}
7953
d5c9047a 7954#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7955static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7956 PyObject * _resultobj;
d5c9047a 7957 wxTreeItemId * _result;
f6bcfd97 7958 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7959 wxTreeItemId * _arg1;
7960 long * _arg2;
1d99702e
RD
7961 PyObject * _argo0 = 0;
7962 PyObject * _argo1 = 0;
d5c9047a 7963 long temp;
8ab979d7 7964 PyObject * _obj2 = 0;
efc5f224 7965 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7966 char _ptemp[128];
8ab979d7
RD
7967
7968 self = self;
efc5f224 7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7970 return NULL;
1d99702e
RD
7971 if (_argo0) {
7972 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7975 return NULL;
7976 }
7977 }
1d99702e
RD
7978 if (_argo1) {
7979 if (_argo1 == Py_None) { _arg1 = NULL; }
7980 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7981 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7982 return NULL;
d5c9047a 7983 }
8ab979d7 7984 }
d5c9047a
RD
7985{
7986 temp = (long) PyInt_AsLong(_obj2);
7987 _arg2 = &temp;
8ab979d7 7988}
cf694132 7989{
4268f798 7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7991 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
7992
4268f798 7993 wxPyEndAllowThreads(__tstate);
493f1553 7994 if (PyErr_Occurred()) return NULL;
cf694132 7995} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7996 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7997{
d5c9047a
RD
7998 PyObject *o;
7999 o = PyInt_FromLong((long) (*_arg2));
8000 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
8001}
8002 return _resultobj;
8003}
8004
d5c9047a 8005#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 8006static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8007 PyObject * _resultobj;
d5c9047a 8008 wxTreeItemId * _result;
f6bcfd97 8009 wxPyTreeCtrl * _arg0;
d5c9047a 8010 wxTreeItemId * _arg1;
1d99702e
RD
8011 PyObject * _argo0 = 0;
8012 PyObject * _argo1 = 0;
efc5f224 8013 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8014 char _ptemp[128];
8ab979d7
RD
8015
8016 self = self;
efc5f224 8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8018 return NULL;
1d99702e
RD
8019 if (_argo0) {
8020 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8023 return NULL;
8024 }
8025 }
1d99702e
RD
8026 if (_argo1) {
8027 if (_argo1 == Py_None) { _arg1 = NULL; }
8028 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8030 return NULL;
8031 }
8032 }
cf694132 8033{
4268f798 8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8035 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
8036
4268f798 8037 wxPyEndAllowThreads(__tstate);
493f1553 8038 if (PyErr_Occurred()) return NULL;
cf694132 8039} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8040 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8041 return _resultobj;
8042}
8043
d5c9047a 8044#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 8045static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8046 PyObject * _resultobj;
d5c9047a 8047 wxTreeItemId * _result;
f6bcfd97 8048 wxPyTreeCtrl * _arg0;
d5c9047a 8049 wxTreeItemId * _arg1;
1d99702e
RD
8050 PyObject * _argo0 = 0;
8051 PyObject * _argo1 = 0;
efc5f224 8052 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8053 char _ptemp[128];
8ab979d7
RD
8054
8055 self = self;
efc5f224 8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8057 return NULL;
1d99702e
RD
8058 if (_argo0) {
8059 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8062 return NULL;
8063 }
8064 }
1d99702e
RD
8065 if (_argo1) {
8066 if (_argo1 == Py_None) { _arg1 = NULL; }
8067 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8068 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8069 return NULL;
8070 }
8071 }
cf694132 8072{
4268f798 8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8074 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
8075
4268f798 8076 wxPyEndAllowThreads(__tstate);
493f1553 8077 if (PyErr_Occurred()) return NULL;
cf694132 8078} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8079 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8080 return _resultobj;
8081}
8082
d5c9047a 8083#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 8084static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8085 PyObject * _resultobj;
d5c9047a 8086 wxTreeItemId * _result;
f6bcfd97 8087 wxPyTreeCtrl * _arg0;
1d99702e 8088 PyObject * _argo0 = 0;
efc5f224 8089 char *_kwnames[] = { "self", NULL };
d5c9047a 8090 char _ptemp[128];
8ab979d7
RD
8091
8092 self = self;
efc5f224 8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8094 return NULL;
1d99702e
RD
8095 if (_argo0) {
8096 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8099 return NULL;
8100 }
8101 }
cf694132 8102{
4268f798 8103 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8104 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
8105
4268f798 8106 wxPyEndAllowThreads(__tstate);
493f1553 8107 if (PyErr_Occurred()) return NULL;
cf694132 8108} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8109 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8110 return _resultobj;
8111}
8112
d5c9047a 8113#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8114static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8115 PyObject * _resultobj;
d5c9047a 8116 wxTreeItemId * _result;
f6bcfd97 8117 wxPyTreeCtrl * _arg0;
d5c9047a 8118 wxTreeItemId * _arg1;
1d99702e
RD
8119 PyObject * _argo0 = 0;
8120 PyObject * _argo1 = 0;
efc5f224 8121 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8122 char _ptemp[128];
8ab979d7
RD
8123
8124 self = self;
efc5f224 8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
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_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8131 return NULL;
8132 }
8133 }
1d99702e
RD
8134 if (_argo1) {
8135 if (_argo1 == Py_None) { _arg1 = NULL; }
8136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8138 return NULL;
8139 }
8140 }
cf694132 8141{
4268f798 8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8143 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
8144
4268f798 8145 wxPyEndAllowThreads(__tstate);
493f1553 8146 if (PyErr_Occurred()) return NULL;
cf694132 8147} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8148 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8149 return _resultobj;
8150}
8151
d5c9047a 8152#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8153static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8154 PyObject * _resultobj;
d5c9047a 8155 wxTreeItemId * _result;
f6bcfd97 8156 wxPyTreeCtrl * _arg0;
d5c9047a 8157 wxTreeItemId * _arg1;
1d99702e
RD
8158 PyObject * _argo0 = 0;
8159 PyObject * _argo1 = 0;
efc5f224 8160 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8161 char _ptemp[128];
8ab979d7
RD
8162
8163 self = self;
efc5f224 8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8165 return NULL;
1d99702e
RD
8166 if (_argo0) {
8167 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8170 return NULL;
8171 }
8172 }
1d99702e
RD
8173 if (_argo1) {
8174 if (_argo1 == Py_None) { _arg1 = NULL; }
8175 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8177 return NULL;
8178 }
8179 }
cf694132 8180{
4268f798 8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8182 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
8183
4268f798 8184 wxPyEndAllowThreads(__tstate);
493f1553 8185 if (PyErr_Occurred()) return NULL;
cf694132 8186} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8187 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8188 return _resultobj;
8189}
8190
d426c97e
RD
8191#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8192static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject * _resultobj;
8194 wxTreeItemId * _result;
f6bcfd97 8195 wxPyTreeCtrl * _arg0;
d426c97e
RD
8196 wxTreeItemId * _arg1;
8197 PyObject * _argo0 = 0;
8198 PyObject * _argo1 = 0;
8199 char *_kwnames[] = { "self","item", NULL };
8200 char _ptemp[128];
8201
8202 self = self;
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8204 return NULL;
8205 if (_argo0) {
8206 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8209 return NULL;
8210 }
8211 }
8212 if (_argo1) {
8213 if (_argo1 == Py_None) { _arg1 = NULL; }
8214 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8215 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8216 return NULL;
8217 }
8218 }
8219{
4268f798 8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
d426c97e
RD
8221 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
8222
4268f798 8223 wxPyEndAllowThreads(__tstate);
493f1553 8224 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8225} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8226 _resultobj = Py_BuildValue("s",_ptemp);
8227 return _resultobj;
8228}
8229
d5c9047a 8230#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8231static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8232 PyObject * _resultobj;
d5c9047a 8233 wxTreeItemId * _result;
f6bcfd97 8234 wxPyTreeCtrl * _arg0;
d5c9047a 8235 wxString * _arg1;
1d99702e
RD
8236 int _arg2 = (int ) -1;
8237 int _arg3 = (int ) -1;
8238 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8239 PyObject * _argo0 = 0;
d5c9047a 8240 PyObject * _obj1 = 0;
1d99702e 8241 PyObject * _argo4 = 0;
efc5f224 8242 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8243 char _ptemp[128];
8ab979d7
RD
8244
8245 self = self;
efc5f224 8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8247 return NULL;
1d99702e
RD
8248 if (_argo0) {
8249 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8252 return NULL;
8253 }
8254 }
d5c9047a 8255{
185d7c3e
RD
8256#if PYTHON_API_VERSION >= 1009
8257 char* tmpPtr; int tmpSize;
8258 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 8259 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8260 return NULL;
8261 }
8262 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8263 return NULL;
8264 _arg1 = new wxString(tmpPtr, tmpSize);
8265#else
d5c9047a
RD
8266 if (!PyString_Check(_obj1)) {
8267 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8268 return NULL;
8269 }
185d7c3e
RD
8270 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8271#endif
d5c9047a 8272}
1d99702e
RD
8273 if (_argo4) {
8274 if (_argo4 == Py_None) { _arg4 = NULL; }
8275 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8276 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8277 return NULL;
8278 }
8279 }
cf694132 8280{
4268f798 8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8282 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
8283
4268f798 8284 wxPyEndAllowThreads(__tstate);
493f1553 8285 if (PyErr_Occurred()) return NULL;
cf694132 8286} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8287 _resultobj = Py_BuildValue("s",_ptemp);
8288{
8289 if (_obj1)
8290 delete _arg1;
8291}
8ab979d7
RD
8292 return _resultobj;
8293}
8294
d5c9047a 8295#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8296static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8297 PyObject * _resultobj;
d5c9047a 8298 wxTreeItemId * _result;
f6bcfd97 8299 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8300 wxTreeItemId * _arg1;
8301 wxString * _arg2;
1d99702e
RD
8302 int _arg3 = (int ) -1;
8303 int _arg4 = (int ) -1;
8304 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8305 PyObject * _argo0 = 0;
8306 PyObject * _argo1 = 0;
d5c9047a 8307 PyObject * _obj2 = 0;
1d99702e 8308 PyObject * _argo5 = 0;
efc5f224 8309 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8310 char _ptemp[128];
8ab979d7
RD
8311
8312 self = self;
efc5f224 8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8314 return NULL;
1d99702e
RD
8315 if (_argo0) {
8316 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8319 return NULL;
8320 }
8321 }
1d99702e
RD
8322 if (_argo1) {
8323 if (_argo1 == Py_None) { _arg1 = NULL; }
8324 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8325 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8326 return NULL;
8327 }
8328 }
8329{
185d7c3e
RD
8330#if PYTHON_API_VERSION >= 1009
8331 char* tmpPtr; int tmpSize;
8332 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 8333 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8334 return NULL;
8335 }
8336 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8337 return NULL;
8338 _arg2 = new wxString(tmpPtr, tmpSize);
8339#else
d5c9047a
RD
8340 if (!PyString_Check(_obj2)) {
8341 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8342 return NULL;
8343 }
185d7c3e
RD
8344 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8345#endif
d5c9047a 8346}
1d99702e
RD
8347 if (_argo5) {
8348 if (_argo5 == Py_None) { _arg5 = NULL; }
8349 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8350 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8351 return NULL;
8352 }
8353 }
cf694132 8354{
4268f798 8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8356 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8357
4268f798 8358 wxPyEndAllowThreads(__tstate);
493f1553 8359 if (PyErr_Occurred()) return NULL;
cf694132 8360} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8361 _resultobj = Py_BuildValue("s",_ptemp);
8362{
8363 if (_obj2)
8364 delete _arg2;
8365}
8ab979d7
RD
8366 return _resultobj;
8367}
8368
d5c9047a 8369#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8370static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8371 PyObject * _resultobj;
d5c9047a 8372 wxTreeItemId * _result;
f6bcfd97 8373 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8374 wxTreeItemId * _arg1;
8375 wxTreeItemId * _arg2;
8376 wxString * _arg3;
1d99702e
RD
8377 int _arg4 = (int ) -1;
8378 int _arg5 = (int ) -1;
8379 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8380 PyObject * _argo0 = 0;
8381 PyObject * _argo1 = 0;
8382 PyObject * _argo2 = 0;
d5c9047a 8383 PyObject * _obj3 = 0;
1d99702e 8384 PyObject * _argo6 = 0;
efc5f224 8385 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8386 char _ptemp[128];
8ab979d7
RD
8387
8388 self = self;
efc5f224 8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8390 return NULL;
1d99702e
RD
8391 if (_argo0) {
8392 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8395 return NULL;
8396 }
8397 }
1d99702e
RD
8398 if (_argo1) {
8399 if (_argo1 == Py_None) { _arg1 = NULL; }
8400 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8401 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8402 return NULL;
8403 }
8404 }
1d99702e
RD
8405 if (_argo2) {
8406 if (_argo2 == Py_None) { _arg2 = NULL; }
8407 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8408 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8409 return NULL;
8410 }
8411 }
8412{
185d7c3e
RD
8413#if PYTHON_API_VERSION >= 1009
8414 char* tmpPtr; int tmpSize;
8415 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 8416 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8417 return NULL;
8418 }
8419 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8420 return NULL;
8421 _arg3 = new wxString(tmpPtr, tmpSize);
8422#else
d5c9047a
RD
8423 if (!PyString_Check(_obj3)) {
8424 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8425 return NULL;
8426 }
185d7c3e
RD
8427 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8428#endif
d5c9047a 8429}
1d99702e
RD
8430 if (_argo6) {
8431 if (_argo6 == Py_None) { _arg6 = NULL; }
8432 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8433 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8434 return NULL;
8435 }
8436 }
cf694132 8437{
4268f798 8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8439 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
8440
4268f798 8441 wxPyEndAllowThreads(__tstate);
493f1553 8442 if (PyErr_Occurred()) return NULL;
cf694132 8443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8444 _resultobj = Py_BuildValue("s",_ptemp);
8445{
8446 if (_obj3)
8447 delete _arg3;
8448}
8ab979d7
RD
8449 return _resultobj;
8450}
8451
f6bcfd97
BP
8452#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8453static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8454 PyObject * _resultobj;
8455 wxTreeItemId * _result;
8456 wxPyTreeCtrl * _arg0;
8457 wxTreeItemId * _arg1;
8458 size_t _arg2;
8459 wxString * _arg3;
8460 int _arg4 = (int ) -1;
8461 int _arg5 = (int ) -1;
8462 wxTreeItemData * _arg6 = (wxTreeItemData *) NULL;
8463 PyObject * _argo0 = 0;
8464 PyObject * _argo1 = 0;
8465 PyObject * _obj3 = 0;
8466 PyObject * _argo6 = 0;
8467 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8468 char _ptemp[128];
8469
8470 self = self;
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8472 return NULL;
8473 if (_argo0) {
8474 if (_argo0 == Py_None) { _arg0 = NULL; }
8475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8477 return NULL;
8478 }
8479 }
8480 if (_argo1) {
8481 if (_argo1 == Py_None) { _arg1 = NULL; }
8482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8484 return NULL;
8485 }
8486 }
8487{
185d7c3e
RD
8488#if PYTHON_API_VERSION >= 1009
8489 char* tmpPtr; int tmpSize;
8490 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 8491 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8492 return NULL;
8493 }
8494 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8495 return NULL;
8496 _arg3 = new wxString(tmpPtr, tmpSize);
8497#else
f6bcfd97
BP
8498 if (!PyString_Check(_obj3)) {
8499 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8500 return NULL;
8501 }
185d7c3e
RD
8502 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8503#endif
f6bcfd97
BP
8504}
8505 if (_argo6) {
8506 if (_argo6 == Py_None) { _arg6 = NULL; }
8507 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) {
8508 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8509 return NULL;
8510 }
8511 }
8512{
4268f798 8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
8514 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
8515
4268f798 8516 wxPyEndAllowThreads(__tstate);
493f1553 8517 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8518} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8519 _resultobj = Py_BuildValue("s",_ptemp);
8520{
8521 if (_obj3)
8522 delete _arg3;
8523}
8524 return _resultobj;
8525}
8526
d5c9047a 8527#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8528static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8529 PyObject * _resultobj;
d5c9047a 8530 wxTreeItemId * _result;
f6bcfd97 8531 wxPyTreeCtrl * _arg0;
d5c9047a 8532 wxTreeItemId * _arg1;
8ab979d7 8533 wxString * _arg2;
1d99702e
RD
8534 int _arg3 = (int ) -1;
8535 int _arg4 = (int ) -1;
8536 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8537 PyObject * _argo0 = 0;
8538 PyObject * _argo1 = 0;
8ab979d7 8539 PyObject * _obj2 = 0;
1d99702e 8540 PyObject * _argo5 = 0;
efc5f224 8541 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8542 char _ptemp[128];
8ab979d7
RD
8543
8544 self = self;
efc5f224 8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8546 return NULL;
1d99702e
RD
8547 if (_argo0) {
8548 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8551 return NULL;
8552 }
8553 }
1d99702e
RD
8554 if (_argo1) {
8555 if (_argo1 == Py_None) { _arg1 = NULL; }
8556 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8557 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8558 return NULL;
8559 }
8560 }
8561{
185d7c3e
RD
8562#if PYTHON_API_VERSION >= 1009
8563 char* tmpPtr; int tmpSize;
8564 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 8565 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8566 return NULL;
8567 }
8568 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8569 return NULL;
8570 _arg2 = new wxString(tmpPtr, tmpSize);
8571#else
8ab979d7
RD
8572 if (!PyString_Check(_obj2)) {
8573 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8574 return NULL;
8575 }
185d7c3e
RD
8576 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8577#endif
8ab979d7 8578}
1d99702e
RD
8579 if (_argo5) {
8580 if (_argo5 == Py_None) { _arg5 = NULL; }
8581 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8582 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8583 return NULL;
8584 }
8585 }
cf694132 8586{
4268f798 8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8588 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8589
4268f798 8590 wxPyEndAllowThreads(__tstate);
493f1553 8591 if (PyErr_Occurred()) return NULL;
cf694132 8592} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8593 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8594{
8595 if (_obj2)
8596 delete _arg2;
8597}
8598 return _resultobj;
8599}
8600
d5c9047a 8601#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8602static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8603 PyObject * _resultobj;
f6bcfd97 8604 wxPyTreeCtrl * _arg0;
d5c9047a 8605 wxTreeItemId * _arg1;
1d99702e
RD
8606 PyObject * _argo0 = 0;
8607 PyObject * _argo1 = 0;
efc5f224 8608 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8609
8610 self = self;
efc5f224 8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8612 return NULL;
1d99702e
RD
8613 if (_argo0) {
8614 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8617 return NULL;
8618 }
8619 }
1d99702e
RD
8620 if (_argo1) {
8621 if (_argo1 == Py_None) { _arg1 = NULL; }
8622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8624 return NULL;
8625 }
8626 }
cf694132 8627{
4268f798 8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8629 wxTreeCtrl_Delete(_arg0,*_arg1);
8630
4268f798 8631 wxPyEndAllowThreads(__tstate);
493f1553 8632 if (PyErr_Occurred()) return NULL;
cf694132 8633} Py_INCREF(Py_None);
d5c9047a
RD
8634 _resultobj = Py_None;
8635 return _resultobj;
8636}
8637
08127323 8638#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8639static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8640 PyObject * _resultobj;
f6bcfd97 8641 wxPyTreeCtrl * _arg0;
08127323 8642 wxTreeItemId * _arg1;
1d99702e
RD
8643 PyObject * _argo0 = 0;
8644 PyObject * _argo1 = 0;
efc5f224 8645 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8646
8647 self = self;
efc5f224 8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8649 return NULL;
1d99702e
RD
8650 if (_argo0) {
8651 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8654 return NULL;
8655 }
8656 }
1d99702e
RD
8657 if (_argo1) {
8658 if (_argo1 == Py_None) { _arg1 = NULL; }
8659 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8660 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8661 return NULL;
8662 }
8663 }
cf694132 8664{
4268f798 8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8666 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
8667
4268f798 8668 wxPyEndAllowThreads(__tstate);
493f1553 8669 if (PyErr_Occurred()) return NULL;
cf694132 8670} Py_INCREF(Py_None);
08127323
RD
8671 _resultobj = Py_None;
8672 return _resultobj;
8673}
8674
d5c9047a 8675#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8676static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8677 PyObject * _resultobj;
f6bcfd97 8678 wxPyTreeCtrl * _arg0;
1d99702e 8679 PyObject * _argo0 = 0;
efc5f224 8680 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8681
8682 self = self;
efc5f224 8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8684 return NULL;
1d99702e
RD
8685 if (_argo0) {
8686 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8689 return NULL;
8690 }
8691 }
cf694132 8692{
4268f798 8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8694 wxTreeCtrl_DeleteAllItems(_arg0);
8695
4268f798 8696 wxPyEndAllowThreads(__tstate);
493f1553 8697 if (PyErr_Occurred()) return NULL;
cf694132 8698} Py_INCREF(Py_None);
d5c9047a
RD
8699 _resultobj = Py_None;
8700 return _resultobj;
8701}
8702
8703#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8704static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8705 PyObject * _resultobj;
f6bcfd97 8706 wxPyTreeCtrl * _arg0;
d5c9047a 8707 wxTreeItemId * _arg1;
1d99702e
RD
8708 PyObject * _argo0 = 0;
8709 PyObject * _argo1 = 0;
efc5f224 8710 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8711
8712 self = self;
efc5f224 8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8714 return NULL;
1d99702e
RD
8715 if (_argo0) {
8716 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8719 return NULL;
8720 }
8721 }
1d99702e
RD
8722 if (_argo1) {
8723 if (_argo1 == Py_None) { _arg1 = NULL; }
8724 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8725 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8726 return NULL;
8727 }
8728 }
cf694132 8729{
4268f798 8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8731 wxTreeCtrl_Expand(_arg0,*_arg1);
8732
4268f798 8733 wxPyEndAllowThreads(__tstate);
493f1553 8734 if (PyErr_Occurred()) return NULL;
cf694132 8735} Py_INCREF(Py_None);
d5c9047a
RD
8736 _resultobj = Py_None;
8737 return _resultobj;
8738}
8739
8740#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8741static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8742 PyObject * _resultobj;
f6bcfd97 8743 wxPyTreeCtrl * _arg0;
d5c9047a 8744 wxTreeItemId * _arg1;
1d99702e
RD
8745 PyObject * _argo0 = 0;
8746 PyObject * _argo1 = 0;
efc5f224 8747 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8748
8749 self = self;
efc5f224 8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8751 return NULL;
1d99702e
RD
8752 if (_argo0) {
8753 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8756 return NULL;
8757 }
8758 }
1d99702e
RD
8759 if (_argo1) {
8760 if (_argo1 == Py_None) { _arg1 = NULL; }
8761 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8762 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8763 return NULL;
8764 }
8765 }
cf694132 8766{
4268f798 8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8768 wxTreeCtrl_Collapse(_arg0,*_arg1);
8769
4268f798 8770 wxPyEndAllowThreads(__tstate);
493f1553 8771 if (PyErr_Occurred()) return NULL;
cf694132 8772} Py_INCREF(Py_None);
d5c9047a
RD
8773 _resultobj = Py_None;
8774 return _resultobj;
8775}
8776
8777#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8778static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8779 PyObject * _resultobj;
f6bcfd97 8780 wxPyTreeCtrl * _arg0;
d5c9047a 8781 wxTreeItemId * _arg1;
1d99702e
RD
8782 PyObject * _argo0 = 0;
8783 PyObject * _argo1 = 0;
efc5f224 8784 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8785
8786 self = self;
efc5f224 8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8788 return NULL;
1d99702e
RD
8789 if (_argo0) {
8790 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8793 return NULL;
8794 }
8795 }
1d99702e
RD
8796 if (_argo1) {
8797 if (_argo1 == Py_None) { _arg1 = NULL; }
8798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8800 return NULL;
8801 }
8802 }
cf694132 8803{
4268f798 8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8805 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
8806
4268f798 8807 wxPyEndAllowThreads(__tstate);
493f1553 8808 if (PyErr_Occurred()) return NULL;
cf694132 8809} Py_INCREF(Py_None);
d5c9047a
RD
8810 _resultobj = Py_None;
8811 return _resultobj;
8812}
8813
8814#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8815static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8816 PyObject * _resultobj;
f6bcfd97 8817 wxPyTreeCtrl * _arg0;
d5c9047a 8818 wxTreeItemId * _arg1;
1d99702e
RD
8819 PyObject * _argo0 = 0;
8820 PyObject * _argo1 = 0;
efc5f224 8821 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8822
8823 self = self;
efc5f224 8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8825 return NULL;
1d99702e
RD
8826 if (_argo0) {
8827 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8830 return NULL;
8831 }
8832 }
1d99702e
RD
8833 if (_argo1) {
8834 if (_argo1 == Py_None) { _arg1 = NULL; }
8835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8837 return NULL;
8838 }
8839 }
cf694132 8840{
4268f798 8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8842 wxTreeCtrl_Toggle(_arg0,*_arg1);
8843
4268f798 8844 wxPyEndAllowThreads(__tstate);
493f1553 8845 if (PyErr_Occurred()) return NULL;
cf694132 8846} Py_INCREF(Py_None);
d5c9047a
RD
8847 _resultobj = Py_None;
8848 return _resultobj;
8849}
8850
8851#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8852static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8853 PyObject * _resultobj;
f6bcfd97 8854 wxPyTreeCtrl * _arg0;
1d99702e 8855 PyObject * _argo0 = 0;
efc5f224 8856 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8857
8858 self = self;
efc5f224 8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8860 return NULL;
1d99702e
RD
8861 if (_argo0) {
8862 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8865 return NULL;
8866 }
8867 }
cf694132 8868{
4268f798 8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8870 wxTreeCtrl_Unselect(_arg0);
8871
4268f798 8872 wxPyEndAllowThreads(__tstate);
493f1553 8873 if (PyErr_Occurred()) return NULL;
cf694132 8874} Py_INCREF(Py_None);
d5c9047a
RD
8875 _resultobj = Py_None;
8876 return _resultobj;
8877}
8878
8bf5d46e 8879#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8880static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8881 PyObject * _resultobj;
f6bcfd97 8882 wxPyTreeCtrl * _arg0;
1d99702e 8883 PyObject * _argo0 = 0;
efc5f224 8884 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8885
8886 self = self;
efc5f224 8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8888 return NULL;
1d99702e
RD
8889 if (_argo0) {
8890 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8893 return NULL;
8894 }
8895 }
8896{
4268f798 8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8bf5d46e
RD
8898 wxTreeCtrl_UnselectAll(_arg0);
8899
4268f798 8900 wxPyEndAllowThreads(__tstate);
493f1553 8901 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8902} Py_INCREF(Py_None);
8903 _resultobj = Py_None;
8904 return _resultobj;
8905}
8906
d5c9047a 8907#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8908static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8909 PyObject * _resultobj;
f6bcfd97 8910 wxPyTreeCtrl * _arg0;
d5c9047a 8911 wxTreeItemId * _arg1;
1d99702e
RD
8912 PyObject * _argo0 = 0;
8913 PyObject * _argo1 = 0;
efc5f224 8914 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8915
8916 self = self;
efc5f224 8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8918 return NULL;
1d99702e
RD
8919 if (_argo0) {
8920 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8923 return NULL;
8924 }
8925 }
1d99702e
RD
8926 if (_argo1) {
8927 if (_argo1 == Py_None) { _arg1 = NULL; }
8928 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8929 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8930 return NULL;
8931 }
8932 }
cf694132 8933{
4268f798 8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8935 wxTreeCtrl_SelectItem(_arg0,*_arg1);
8936
4268f798 8937 wxPyEndAllowThreads(__tstate);
493f1553 8938 if (PyErr_Occurred()) return NULL;
cf694132 8939} Py_INCREF(Py_None);
d5c9047a
RD
8940 _resultobj = Py_None;
8941 return _resultobj;
8942}
8943
8944#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8945static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8946 PyObject * _resultobj;
f6bcfd97 8947 wxPyTreeCtrl * _arg0;
d5c9047a 8948 wxTreeItemId * _arg1;
1d99702e
RD
8949 PyObject * _argo0 = 0;
8950 PyObject * _argo1 = 0;
efc5f224 8951 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8952
8953 self = self;
efc5f224 8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8955 return NULL;
1d99702e
RD
8956 if (_argo0) {
8957 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8960 return NULL;
8961 }
8962 }
1d99702e
RD
8963 if (_argo1) {
8964 if (_argo1 == Py_None) { _arg1 = NULL; }
8965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8967 return NULL;
8968 }
8969 }
cf694132 8970{
4268f798 8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8972 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
8973
4268f798 8974 wxPyEndAllowThreads(__tstate);
493f1553 8975 if (PyErr_Occurred()) return NULL;
cf694132 8976} Py_INCREF(Py_None);
d5c9047a
RD
8977 _resultobj = Py_None;
8978 return _resultobj;
8979}
8980
8981#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8982static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8983 PyObject * _resultobj;
f6bcfd97 8984 wxPyTreeCtrl * _arg0;
d5c9047a 8985 wxTreeItemId * _arg1;
1d99702e
RD
8986 PyObject * _argo0 = 0;
8987 PyObject * _argo1 = 0;
efc5f224 8988 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8989
8990 self = self;
efc5f224 8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8992 return NULL;
1d99702e
RD
8993 if (_argo0) {
8994 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8997 return NULL;
8998 }
8999 }
1d99702e
RD
9000 if (_argo1) {
9001 if (_argo1 == Py_None) { _arg1 = NULL; }
9002 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9003 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9004 return NULL;
9005 }
9006 }
cf694132 9007{
4268f798 9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9009 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
9010
4268f798 9011 wxPyEndAllowThreads(__tstate);
493f1553 9012 if (PyErr_Occurred()) return NULL;
cf694132 9013} Py_INCREF(Py_None);
d5c9047a
RD
9014 _resultobj = Py_None;
9015 return _resultobj;
9016}
9017
9018#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 9019static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
9020 PyObject * _resultobj;
9021 wxTextCtrl * _result;
f6bcfd97 9022 wxPyTreeCtrl * _arg0;
d5c9047a 9023 wxTreeItemId * _arg1;
1d99702e
RD
9024 PyObject * _argo0 = 0;
9025 PyObject * _argo1 = 0;
efc5f224 9026 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
9027
9028 self = self;
efc5f224 9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 9030 return NULL;
1d99702e
RD
9031 if (_argo0) {
9032 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9035 return NULL;
9036 }
9037 }
1d99702e
RD
9038 if (_argo1) {
9039 if (_argo1 == Py_None) { _arg1 = NULL; }
9040 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9042 return NULL;
9043 }
9044 }
cf694132 9045{
4268f798 9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9047 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
9048
4268f798 9049 wxPyEndAllowThreads(__tstate);
493f1553 9050 if (PyErr_Occurred()) return NULL;
9416aa89 9051}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
9052 return _resultobj;
9053}
9054
9055#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 9056static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
9057 PyObject * _resultobj;
9058 wxTextCtrl * _result;
f6bcfd97 9059 wxPyTreeCtrl * _arg0;
1d99702e 9060 PyObject * _argo0 = 0;
efc5f224 9061 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
9062
9063 self = self;
efc5f224 9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 9065 return NULL;
1d99702e
RD
9066 if (_argo0) {
9067 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9070 return NULL;
9071 }
9072 }
cf694132 9073{
4268f798 9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9075 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
9076
4268f798 9077 wxPyEndAllowThreads(__tstate);
493f1553 9078 if (PyErr_Occurred()) return NULL;
9416aa89 9079}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
9080 return _resultobj;
9081}
9082
9083#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 9084static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 9085 PyObject * _resultobj;
f6bcfd97 9086 wxPyTreeCtrl * _arg0;
d5c9047a 9087 wxTreeItemId * _arg1;
b1462dfa 9088 int _arg2 = (int ) FALSE;
1d99702e
RD
9089 PyObject * _argo0 = 0;
9090 PyObject * _argo1 = 0;
efc5f224 9091 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
9092
9093 self = self;
b1462dfa 9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 9095 return NULL;
1d99702e
RD
9096 if (_argo0) {
9097 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9100 return NULL;
9101 }
9102 }
1d99702e
RD
9103 if (_argo1) {
9104 if (_argo1 == Py_None) { _arg1 = NULL; }
9105 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9106 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9107 return NULL;
9108 }
9109 }
cf694132 9110{
4268f798 9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9112 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
9113
4268f798 9114 wxPyEndAllowThreads(__tstate);
493f1553 9115 if (PyErr_Occurred()) return NULL;
cf694132 9116} Py_INCREF(Py_None);
d5c9047a 9117 _resultobj = Py_None;
8ab979d7
RD
9118 return _resultobj;
9119}
9120
d426c97e
RD
9121#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9122static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject * _resultobj;
f6bcfd97 9124 wxPyTreeCtrl * _arg0;
d426c97e
RD
9125 wxTreeItemId * _arg1;
9126 PyObject * _argo0 = 0;
9127 PyObject * _argo1 = 0;
9128 char *_kwnames[] = { "self","item", NULL };
9129
9130 self = self;
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
9132 return NULL;
9133 if (_argo0) {
9134 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9137 return NULL;
9138 }
9139 }
9140 if (_argo1) {
9141 if (_argo1 == Py_None) { _arg1 = NULL; }
9142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9144 return NULL;
9145 }
9146 }
9147{
4268f798 9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
d426c97e
RD
9149 wxTreeCtrl_SortChildren(_arg0,*_arg1);
9150
4268f798 9151 wxPyEndAllowThreads(__tstate);
493f1553 9152 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9153} Py_INCREF(Py_None);
9154 _resultobj = Py_None;
9155 return _resultobj;
9156}
9157
b8b8dda7 9158#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9159static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9160 PyObject * _resultobj;
f6bcfd97 9161 wxPyTreeCtrl * _arg0;
b8b8dda7 9162 wxTreeItemId * _arg1;
b1462dfa 9163 int _arg2 = (int ) TRUE;
1d99702e
RD
9164 PyObject * _argo0 = 0;
9165 PyObject * _argo1 = 0;
efc5f224 9166 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9167
9168 self = self;
b1462dfa 9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9170 return NULL;
1d99702e
RD
9171 if (_argo0) {
9172 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9175 return NULL;
9176 }
9177 }
1d99702e
RD
9178 if (_argo1) {
9179 if (_argo1 == Py_None) { _arg1 = NULL; }
9180 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9182 return NULL;
9183 }
9184 }
cf694132 9185{
4268f798 9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9187 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
9188
4268f798 9189 wxPyEndAllowThreads(__tstate);
493f1553 9190 if (PyErr_Occurred()) return NULL;
cf694132 9191} Py_INCREF(Py_None);
b8b8dda7
RD
9192 _resultobj = Py_None;
9193 return _resultobj;
9194}
9195
9196#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9197static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9198 PyObject * _resultobj;
9199 bool _result;
f6bcfd97 9200 wxPyTreeCtrl * _arg0;
b8b8dda7 9201 wxTreeItemId * _arg1;
1d99702e
RD
9202 PyObject * _argo0 = 0;
9203 PyObject * _argo1 = 0;
efc5f224 9204 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9205
9206 self = self;
efc5f224 9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9208 return NULL;
1d99702e
RD
9209 if (_argo0) {
9210 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9213 return NULL;
9214 }
9215 }
1d99702e
RD
9216 if (_argo1) {
9217 if (_argo1 == Py_None) { _arg1 = NULL; }
9218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9220 return NULL;
9221 }
9222 }
cf694132 9223{
4268f798 9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9225 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
9226
4268f798 9227 wxPyEndAllowThreads(__tstate);
493f1553 9228 if (PyErr_Occurred()) return NULL;
cf694132 9229} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9230 return _resultobj;
9231}
9232
164b735b 9233#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9234static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9235 PyObject * _resultobj;
9236 wxTreeItemId * _result;
f6bcfd97 9237 wxPyTreeCtrl * _arg0;
b8b8dda7 9238 wxPoint * _arg1;
164b735b
RD
9239 int * _arg2;
9240 int temp;
1d99702e 9241 PyObject * _argo0 = 0;
164b735b 9242 wxPoint temp0;
2f90df85 9243 PyObject * _obj1 = 0;
efc5f224 9244 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9245 char _ptemp[128];
9246
9247 self = self;
164b735b
RD
9248{
9249 _arg2 = &temp;
9250}
2f90df85 9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9252 return NULL;
1d99702e
RD
9253 if (_argo0) {
9254 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9257 return NULL;
9258 }
9259 }
2f90df85 9260{
164b735b 9261 _arg1 = &temp0;
2f90df85 9262 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9263 return NULL;
2f90df85 9264}
cf694132 9265{
4268f798 9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
164b735b 9267 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9268
4268f798 9269 wxPyEndAllowThreads(__tstate);
493f1553 9270 if (PyErr_Occurred()) return NULL;
cf694132 9271} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9272 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9273{
9274 PyObject *o;
9275 o = PyInt_FromLong((long) (*_arg2));
9276 _resultobj = t_output_helper(_resultobj, o);
9277}
b8b8dda7
RD
9278 return _resultobj;
9279}
9280
b7e72427
RD
9281#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9282static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject * _resultobj;
f6bcfd97 9284 wxPyTreeCtrl * _arg0;
b7e72427
RD
9285 wxTreeItemId * _arg1;
9286 wxColour * _arg2;
9287 PyObject * _argo0 = 0;
9288 PyObject * _argo1 = 0;
f6bcfd97
BP
9289 wxColour temp;
9290 PyObject * _obj2 = 0;
b7e72427
RD
9291 char *_kwnames[] = { "self","item","col", NULL };
9292
9293 self = self;
f6bcfd97 9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
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_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
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_SetItemTextColour. Expected _wxTreeItemId_p.");
9307 return NULL;
9308 }
9309 }
f6bcfd97
BP
9310{
9311 _arg2 = &temp;
9312 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9313 return NULL;
f6bcfd97 9314}
b7e72427 9315{
4268f798 9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
b7e72427
RD
9317 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
9318
4268f798 9319 wxPyEndAllowThreads(__tstate);
493f1553 9320 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9321} Py_INCREF(Py_None);
9322 _resultobj = Py_None;
9323 return _resultobj;
9324}
9325
9326#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9327static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject * _resultobj;
f6bcfd97 9329 wxPyTreeCtrl * _arg0;
b7e72427
RD
9330 wxTreeItemId * _arg1;
9331 wxColour * _arg2;
9332 PyObject * _argo0 = 0;
9333 PyObject * _argo1 = 0;
f6bcfd97
BP
9334 wxColour temp;
9335 PyObject * _obj2 = 0;
b7e72427
RD
9336 char *_kwnames[] = { "self","item","col", NULL };
9337
9338 self = self;
f6bcfd97 9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9340 return NULL;
9341 if (_argo0) {
9342 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9345 return NULL;
9346 }
9347 }
9348 if (_argo1) {
9349 if (_argo1 == Py_None) { _arg1 = NULL; }
9350 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9352 return NULL;
9353 }
9354 }
f6bcfd97
BP
9355{
9356 _arg2 = &temp;
9357 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9358 return NULL;
f6bcfd97 9359}
b7e72427 9360{
4268f798 9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
b7e72427
RD
9362 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
9363
4268f798 9364 wxPyEndAllowThreads(__tstate);
493f1553 9365 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9366} Py_INCREF(Py_None);
9367 _resultobj = Py_None;
9368 return _resultobj;
9369}
9370
9371#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9372static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject * _resultobj;
f6bcfd97 9374 wxPyTreeCtrl * _arg0;
b7e72427
RD
9375 wxTreeItemId * _arg1;
9376 wxFont * _arg2;
9377 PyObject * _argo0 = 0;
9378 PyObject * _argo1 = 0;
9379 PyObject * _argo2 = 0;
9380 char *_kwnames[] = { "self","item","font", NULL };
9381
9382 self = self;
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9384 return NULL;
9385 if (_argo0) {
9386 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9389 return NULL;
9390 }
9391 }
9392 if (_argo1) {
9393 if (_argo1 == Py_None) { _arg1 = NULL; }
9394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9396 return NULL;
9397 }
9398 }
9399 if (_argo2) {
9400 if (_argo2 == Py_None) { _arg2 = NULL; }
9401 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9402 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9403 return NULL;
9404 }
9405 }
9406{
4268f798 9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
b7e72427
RD
9408 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
9409
4268f798 9410 wxPyEndAllowThreads(__tstate);
493f1553 9411 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9412} Py_INCREF(Py_None);
9413 _resultobj = Py_None;
9414 return _resultobj;
9415}
9416
b1462dfa
RD
9417#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9418static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject * _resultobj;
f6bcfd97 9420 wxPyTreeCtrl * _arg0;
b1462dfa
RD
9421 wxTreeItemId * _arg1;
9422 int _arg2 = (int ) TRUE;
9423 PyObject * _argo0 = 0;
9424 PyObject * _argo1 = 0;
9425 char *_kwnames[] = { "self","item","highlight", NULL };
9426
9427 self = self;
9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9429 return NULL;
9430 if (_argo0) {
9431 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
9434 return NULL;
9435 }
9436 }
9437 if (_argo1) {
9438 if (_argo1 == Py_None) { _arg1 = NULL; }
9439 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9441 return NULL;
9442 }
9443 }
9444{
4268f798 9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1462dfa
RD
9446 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
9447
4268f798 9448 wxPyEndAllowThreads(__tstate);
493f1553 9449 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9450} Py_INCREF(Py_None);
9451 _resultobj = Py_None;
9452 return _resultobj;
9453}
9454
f6bcfd97 9455static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
d426c97e 9456 wxRect rect;
164b735b 9457 if (self->GetBoundingRect(item, rect, textOnly)) {
4268f798 9458 wxPyBeginBlockThreads();
164b735b
RD
9459 wxRect* r = new wxRect(rect);
9460 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
4268f798 9461 wxPyEndBlockThreads();
164b735b
RD
9462 return val;
9463 }
d426c97e
RD
9464 else {
9465 Py_INCREF(Py_None);
9466 return Py_None;
9467 }
9468 }
9469static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject * _resultobj;
9471 PyObject * _result;
f6bcfd97 9472 wxPyTreeCtrl * _arg0;
d426c97e
RD
9473 wxTreeItemId * _arg1;
9474 int _arg2 = (int ) FALSE;
9475 PyObject * _argo0 = 0;
9476 PyObject * _argo1 = 0;
9477 char *_kwnames[] = { "self","item","textOnly", NULL };
9478
9479 self = self;
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9481 return NULL;
9482 if (_argo0) {
9483 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9486 return NULL;
9487 }
9488 }
9489 if (_argo1) {
9490 if (_argo1 == Py_None) { _arg1 = NULL; }
9491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9493 return NULL;
9494 }
9495 }
9496{
4268f798 9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 9498 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
d426c97e 9499
4268f798 9500 wxPyEndAllowThreads(__tstate);
493f1553 9501 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9502}{
9503 _resultobj = _result;
9504}
9505 return _resultobj;
9506}
9507
68320e40
RD
9508static void *SwigwxDirItemDataTowxObject(void *ptr) {
9509 wxDirItemData *src;
9510 wxObject *dest;
9511 src = (wxDirItemData *) ptr;
9512 dest = (wxObject *) src;
9513 return (void *) dest;
9514}
9515
9516#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9517static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject * _resultobj;
9519 wxDirItemData * _result;
9520 wxString * _arg0;
9521 wxString * _arg1;
9522 bool _arg2;
9523 PyObject * _obj0 = 0;
9524 PyObject * _obj1 = 0;
9525 int tempbool2;
9526 char *_kwnames[] = { "path","name","isDir", NULL };
9527 char _ptemp[128];
9528
9529 self = self;
9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9531 return NULL;
9532{
9533#if PYTHON_API_VERSION >= 1009
9534 char* tmpPtr; int tmpSize;
9535 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
9536 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9537 return NULL;
9538 }
9539 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
9540 return NULL;
9541 _arg0 = new wxString(tmpPtr, tmpSize);
9542#else
9543 if (!PyString_Check(_obj0)) {
9544 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9545 return NULL;
9546 }
9547 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
9548#endif
9549}
9550{
9551#if PYTHON_API_VERSION >= 1009
9552 char* tmpPtr; int tmpSize;
9553 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9554 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9555 return NULL;
9556 }
9557 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9558 return NULL;
9559 _arg1 = new wxString(tmpPtr, tmpSize);
9560#else
9561 if (!PyString_Check(_obj1)) {
9562 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9563 return NULL;
9564 }
9565 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9566#endif
9567}
9568 _arg2 = (bool ) tempbool2;
9569{
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) return NULL;
9575} if (_result) {
9576 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9577 _resultobj = Py_BuildValue("s",_ptemp);
9578 } else {
9579 Py_INCREF(Py_None);
9580 _resultobj = Py_None;
9581 }
9582{
9583 if (_obj0)
9584 delete _arg0;
9585}
9586{
9587 if (_obj1)
9588 delete _arg1;
9589}
9590 return _resultobj;
9591}
9592
9593#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9594static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject * _resultobj;
9596 wxDirItemData * _arg0;
9597 wxString * _arg1;
9598 PyObject * _argo0 = 0;
9599 PyObject * _obj1 = 0;
9600 char *_kwnames[] = { "self","path", NULL };
9601
9602 self = self;
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9604 return NULL;
9605 if (_argo0) {
9606 if (_argo0 == Py_None) { _arg0 = NULL; }
9607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9609 return NULL;
9610 }
9611 }
9612{
9613#if PYTHON_API_VERSION >= 1009
9614 char* tmpPtr; int tmpSize;
9615 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9616 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9617 return NULL;
9618 }
9619 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9620 return NULL;
9621 _arg1 = new wxString(tmpPtr, tmpSize);
9622#else
9623 if (!PyString_Check(_obj1)) {
9624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9625 return NULL;
9626 }
9627 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9628#endif
9629}
9630{
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 wxDirItemData_SetNewDirName(_arg0,*_arg1);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) return NULL;
9636} Py_INCREF(Py_None);
9637 _resultobj = Py_None;
9638{
9639 if (_obj1)
9640 delete _arg1;
9641}
9642 return _resultobj;
9643}
9644
9645#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9646static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject * _resultobj;
9648 wxString * _result;
9649 wxDirItemData * _arg0;
9650 wxString * _arg1;
9651 PyObject * _argo0 = 0;
9652 PyObject * _obj1 = 0;
9653 char *_kwnames[] = { "self","m_path", NULL };
9654
9655 self = self;
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9657 return NULL;
9658 if (_argo0) {
9659 if (_argo0 == Py_None) { _arg0 = NULL; }
9660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9662 return NULL;
9663 }
9664 }
9665{
9666#if PYTHON_API_VERSION >= 1009
9667 char* tmpPtr; int tmpSize;
9668 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9669 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9670 return NULL;
9671 }
9672 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9673 return NULL;
9674 _arg1 = new wxString(tmpPtr, tmpSize);
9675#else
9676 if (!PyString_Check(_obj1)) {
9677 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9678 return NULL;
9679 }
9680 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9681#endif
9682}
9683{
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) return NULL;
9689}{
9690 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9691}
9692{
9693 if (_obj1)
9694 delete _arg1;
9695}
9696 return _resultobj;
9697}
9698
9699#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9700static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject * _resultobj;
9702 wxString * _result;
9703 wxDirItemData * _arg0;
9704 PyObject * _argo0 = 0;
9705 char *_kwnames[] = { "self", NULL };
9706
9707 self = self;
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9709 return NULL;
9710 if (_argo0) {
9711 if (_argo0 == Py_None) { _arg0 = NULL; }
9712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9714 return NULL;
9715 }
9716 }
9717{
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) return NULL;
9723}{
9724 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9725}
9726 return _resultobj;
9727}
9728
9729#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9730static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9731 PyObject * _resultobj;
9732 wxString * _result;
9733 wxDirItemData * _arg0;
9734 wxString * _arg1;
9735 PyObject * _argo0 = 0;
9736 PyObject * _obj1 = 0;
9737 char *_kwnames[] = { "self","m_name", NULL };
9738
9739 self = self;
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9741 return NULL;
9742 if (_argo0) {
9743 if (_argo0 == Py_None) { _arg0 = NULL; }
9744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9746 return NULL;
9747 }
9748 }
9749{
9750#if PYTHON_API_VERSION >= 1009
9751 char* tmpPtr; int tmpSize;
9752 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9753 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9754 return NULL;
9755 }
9756 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9757 return NULL;
9758 _arg1 = new wxString(tmpPtr, tmpSize);
9759#else
9760 if (!PyString_Check(_obj1)) {
9761 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9762 return NULL;
9763 }
9764 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9765#endif
9766}
9767{
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
9770
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) return NULL;
9773}{
9774 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9775}
9776{
9777 if (_obj1)
9778 delete _arg1;
9779}
9780 return _resultobj;
9781}
9782
9783#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9784static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9785 PyObject * _resultobj;
9786 wxString * _result;
9787 wxDirItemData * _arg0;
9788 PyObject * _argo0 = 0;
9789 char *_kwnames[] = { "self", NULL };
9790
9791 self = self;
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9793 return NULL;
9794 if (_argo0) {
9795 if (_argo0 == Py_None) { _arg0 = NULL; }
9796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9798 return NULL;
9799 }
9800 }
9801{
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) return NULL;
9807}{
9808 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9809}
9810 return _resultobj;
9811}
9812
9813#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9814static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 bool _result;
9817 wxDirItemData * _arg0;
9818 bool _arg1;
9819 PyObject * _argo0 = 0;
9820 int tempbool1;
9821 char *_kwnames[] = { "self","m_isHidden", NULL };
9822
9823 self = self;
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9825 return NULL;
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9830 return NULL;
9831 }
9832 }
9833 _arg1 = (bool ) tempbool1;
9834{
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) return NULL;
9840} _resultobj = Py_BuildValue("i",_result);
9841 return _resultobj;
9842}
9843
9844#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9845static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9846 PyObject * _resultobj;
9847 bool _result;
9848 wxDirItemData * _arg0;
9849 PyObject * _argo0 = 0;
9850 char *_kwnames[] = { "self", NULL };
9851
9852 self = self;
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9854 return NULL;
9855 if (_argo0) {
9856 if (_argo0 == Py_None) { _arg0 = NULL; }
9857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9859 return NULL;
9860 }
9861 }
9862{
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) return NULL;
9868} _resultobj = Py_BuildValue("i",_result);
9869 return _resultobj;
9870}
9871
9872#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9873static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject * _resultobj;
9875 bool _result;
9876 wxDirItemData * _arg0;
9877 bool _arg1;
9878 PyObject * _argo0 = 0;
9879 int tempbool1;
9880 char *_kwnames[] = { "self","m_isExpanded", NULL };
9881
9882 self = self;
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9884 return NULL;
9885 if (_argo0) {
9886 if (_argo0 == Py_None) { _arg0 = NULL; }
9887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9889 return NULL;
9890 }
9891 }
9892 _arg1 = (bool ) tempbool1;
9893{
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
9896
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) return NULL;
9899} _resultobj = Py_BuildValue("i",_result);
9900 return _resultobj;
9901}
9902
9903#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9904static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9905 PyObject * _resultobj;
9906 bool _result;
9907 wxDirItemData * _arg0;
9908 PyObject * _argo0 = 0;
9909 char *_kwnames[] = { "self", NULL };
9910
9911 self = self;
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9913 return NULL;
9914 if (_argo0) {
9915 if (_argo0 == Py_None) { _arg0 = NULL; }
9916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9918 return NULL;
9919 }
9920 }
9921{
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) return NULL;
9927} _resultobj = Py_BuildValue("i",_result);
9928 return _resultobj;
9929}
9930
9931#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9932static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject * _resultobj;
9934 bool _result;
9935 wxDirItemData * _arg0;
9936 bool _arg1;
9937 PyObject * _argo0 = 0;
9938 int tempbool1;
9939 char *_kwnames[] = { "self","m_isDir", NULL };
9940
9941 self = self;
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9943 return NULL;
9944 if (_argo0) {
9945 if (_argo0 == Py_None) { _arg0 = NULL; }
9946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9948 return NULL;
9949 }
9950 }
9951 _arg1 = (bool ) tempbool1;
9952{
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) return NULL;
9958} _resultobj = Py_BuildValue("i",_result);
9959 return _resultobj;
9960}
9961
9962#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9963static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject * _resultobj;
9965 bool _result;
9966 wxDirItemData * _arg0;
9967 PyObject * _argo0 = 0;
9968 char *_kwnames[] = { "self", NULL };
9969
9970 self = self;
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9972 return NULL;
9973 if (_argo0) {
9974 if (_argo0 == Py_None) { _arg0 = NULL; }
9975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9977 return NULL;
9978 }
9979 }
9980{
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) return NULL;
9986} _resultobj = Py_BuildValue("i",_result);
9987 return _resultobj;
9988}
9989
9990static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9991 wxGenericDirCtrl *src;
9992 wxControl *dest;
9993 src = (wxGenericDirCtrl *) ptr;
9994 dest = (wxControl *) src;
9995 return (void *) dest;
9996}
9997
9998static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9999 wxGenericDirCtrl *src;
10000 wxWindow *dest;
10001 src = (wxGenericDirCtrl *) ptr;
10002 dest = (wxWindow *) src;
10003 return (void *) dest;
10004}
10005
10006static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
10007 wxGenericDirCtrl *src;
10008 wxEvtHandler *dest;
10009 src = (wxGenericDirCtrl *) ptr;
10010 dest = (wxEvtHandler *) src;
10011 return (void *) dest;
10012}
10013
10014static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
10015 wxGenericDirCtrl *src;
10016 wxObject *dest;
10017 src = (wxGenericDirCtrl *) ptr;
10018 dest = (wxObject *) src;
10019 return (void *) dest;
10020}
10021
10022#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10023static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject * _resultobj;
10025 wxGenericDirCtrl * _result;
10026 wxWindow * _arg0;
10027 wxWindowID _arg1 = (wxWindowID ) -1;
6c5ae2d2 10028 char * _arg2 = (char *) wxDirDialogDefaultFolderStr;
68320e40
RD
10029 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10030 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10031 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
6c5ae2d2 10032 char * _arg6 = (char *) wxEmptyString;
68320e40 10033 int _arg7 = (int ) 0;
ce914f73 10034 char * _arg8 = (char *) "dirCtrl";
68320e40 10035 PyObject * _argo0 = 0;
68320e40
RD
10036 wxPoint temp;
10037 PyObject * _obj3 = 0;
10038 wxSize temp0;
10039 PyObject * _obj4 = 0;
68320e40
RD
10040 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
10041 char _ptemp[128];
10042
10043 self = self;
6c5ae2d2 10044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOlsis:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8))
68320e40
RD
10045 return NULL;
10046 if (_argo0) {
10047 if (_argo0 == Py_None) { _arg0 = NULL; }
10048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
10050 return NULL;
10051 }
10052 }
68320e40
RD
10053 if (_obj3)
10054{
10055 _arg3 = &temp;
10056 if (! wxPoint_helper(_obj3, &_arg3))
10057 return NULL;
10058}
10059 if (_obj4)
10060{
10061 _arg4 = &temp0;
10062 if (! wxSize_helper(_obj4, &_arg4))
10063 return NULL;
68320e40
RD
10064}
10065{
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c5ae2d2 10067 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8);
68320e40
RD
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) return NULL;
10071} if (_result) {
10072 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
10073 _resultobj = Py_BuildValue("s",_ptemp);
10074 } else {
10075 Py_INCREF(Py_None);
10076 _resultobj = Py_None;
10077 }
68320e40
RD
10078 return _resultobj;
10079}
10080
10081#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
10082static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject * _resultobj;
10084 wxGenericDirCtrl * _result;
10085 char *_kwnames[] = { NULL };
10086 char _ptemp[128];
10087
10088 self = self;
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
10090 return NULL;
10091{
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) return NULL;
10097} if (_result) {
10098 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
10099 _resultobj = Py_BuildValue("s",_ptemp);
10100 } else {
10101 Py_INCREF(Py_None);
10102 _resultobj = Py_None;
10103 }
10104 return _resultobj;
10105}
10106
10107#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10108static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject * _resultobj;
10110 bool _result;
10111 wxGenericDirCtrl * _arg0;
10112 wxWindow * _arg1;
10113 wxWindowID _arg2 = (wxWindowID ) -1;
6c5ae2d2 10114 char * _arg3 = (char *) wxDirDialogDefaultFolderStr;
68320e40
RD
10115 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10116 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10117 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
6c5ae2d2 10118 char * _arg7 = (char *) wxEmptyString;
68320e40 10119 int _arg8 = (int ) 0;
ce914f73 10120 char * _arg9 = (char *) "dirCtrl";
68320e40
RD
10121 PyObject * _argo0 = 0;
10122 PyObject * _argo1 = 0;
68320e40
RD
10123 wxPoint temp;
10124 PyObject * _obj4 = 0;
10125 wxSize temp0;
10126 PyObject * _obj5 = 0;
68320e40
RD
10127 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
10128
10129 self = self;
6c5ae2d2 10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOlsis:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9))
68320e40
RD
10131 return NULL;
10132 if (_argo0) {
10133 if (_argo0 == Py_None) { _arg0 = NULL; }
10134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10136 return NULL;
10137 }
10138 }
10139 if (_argo1) {
10140 if (_argo1 == Py_None) { _arg1 = NULL; }
10141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10143 return NULL;
10144 }
10145 }
68320e40
RD
10146 if (_obj4)
10147{
10148 _arg4 = &temp;
10149 if (! wxPoint_helper(_obj4, &_arg4))
10150 return NULL;
10151}
10152 if (_obj5)
10153{
10154 _arg5 = &temp0;
10155 if (! wxSize_helper(_obj5, &_arg5))
10156 return NULL;
68320e40
RD
10157}
10158{
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c5ae2d2 10160 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9);
68320e40
RD
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) return NULL;
10164} _resultobj = Py_BuildValue("i",_result);
68320e40
RD
10165 return _resultobj;
10166}
10167
10168#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10169static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10170 PyObject * _resultobj;
10171 bool _result;
10172 wxGenericDirCtrl * _arg0;
10173 wxString * _arg1;
10174 PyObject * _argo0 = 0;
10175 PyObject * _obj1 = 0;
10176 char *_kwnames[] = { "self","path", NULL };
10177
10178 self = self;
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
10180 return NULL;
10181 if (_argo0) {
10182 if (_argo0 == Py_None) { _arg0 = NULL; }
10183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10185 return NULL;
10186 }
10187 }
10188{
10189#if PYTHON_API_VERSION >= 1009
10190 char* tmpPtr; int tmpSize;
10191 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10192 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10193 return NULL;
10194 }
10195 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10196 return NULL;
10197 _arg1 = new wxString(tmpPtr, tmpSize);
10198#else
10199 if (!PyString_Check(_obj1)) {
10200 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10201 return NULL;
10202 }
10203 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10204#endif
10205}
10206{
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) return NULL;
10212} _resultobj = Py_BuildValue("i",_result);
10213{
10214 if (_obj1)
10215 delete _arg1;
10216}
10217 return _resultobj;
10218}
10219
10220#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10221static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject * _resultobj;
10223 wxString * _result;
10224 wxGenericDirCtrl * _arg0;
10225 PyObject * _argo0 = 0;
10226 char *_kwnames[] = { "self", NULL };
10227
10228 self = self;
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10230 return NULL;
10231 if (_argo0) {
10232 if (_argo0 == Py_None) { _arg0 = NULL; }
10233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10235 return NULL;
10236 }
10237 }
10238{
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) return NULL;
10244}{
10245 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10246}
10247{
10248 delete _result;
10249}
10250 return _resultobj;
10251}
10252
10253#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10254static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject * _resultobj;
10256 wxGenericDirCtrl * _arg0;
10257 wxString * _arg1;
10258 PyObject * _argo0 = 0;
10259 PyObject * _obj1 = 0;
10260 char *_kwnames[] = { "self","path", NULL };
10261
10262 self = self;
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10264 return NULL;
10265 if (_argo0) {
10266 if (_argo0 == Py_None) { _arg0 = NULL; }
10267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10269 return NULL;
10270 }
10271 }
10272{
10273#if PYTHON_API_VERSION >= 1009
10274 char* tmpPtr; int tmpSize;
10275 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10276 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10277 return NULL;
10278 }
10279 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10280 return NULL;
10281 _arg1 = new wxString(tmpPtr, tmpSize);
10282#else
10283 if (!PyString_Check(_obj1)) {
10284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10285 return NULL;
10286 }
10287 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10288#endif
10289}
10290{
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) return NULL;
10296} Py_INCREF(Py_None);
10297 _resultobj = Py_None;
10298{
10299 if (_obj1)
10300 delete _arg1;
10301}
10302 return _resultobj;
10303}
10304
10305#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10306static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject * _resultobj;
10308 wxString * _result;
10309 wxGenericDirCtrl * _arg0;
10310 PyObject * _argo0 = 0;
10311 char *_kwnames[] = { "self", NULL };
10312
10313 self = self;
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10315 return NULL;
10316 if (_argo0) {
10317 if (_argo0 == Py_None) { _arg0 = NULL; }
10318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10320 return NULL;
10321 }
10322 }
10323{
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) return NULL;
10329}{
10330 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10331}
10332{
10333 delete _result;
10334}
10335 return _resultobj;
10336}
10337
10338#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10339static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject * _resultobj;
10341 wxString * _result;
10342 wxGenericDirCtrl * _arg0;
10343 PyObject * _argo0 = 0;
10344 char *_kwnames[] = { "self", NULL };
10345
10346 self = self;
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10348 return NULL;
10349 if (_argo0) {
10350 if (_argo0 == Py_None) { _arg0 = NULL; }
10351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10353 return NULL;
10354 }
10355 }
10356{
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) return NULL;
10362}{
10363 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10364}
10365{
10366 delete _result;
10367}
10368 return _resultobj;
10369}
10370
10371#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10372static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject * _resultobj;
10374 wxGenericDirCtrl * _arg0;
10375 wxString * _arg1;
10376 PyObject * _argo0 = 0;
10377 PyObject * _obj1 = 0;
10378 char *_kwnames[] = { "self","path", NULL };
10379
10380 self = self;
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10382 return NULL;
10383 if (_argo0) {
10384 if (_argo0 == Py_None) { _arg0 = NULL; }
10385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10387 return NULL;
10388 }
10389 }
10390{
10391#if PYTHON_API_VERSION >= 1009
10392 char* tmpPtr; int tmpSize;
10393 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10394 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10395 return NULL;
10396 }
10397 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10398 return NULL;
10399 _arg1 = new wxString(tmpPtr, tmpSize);
10400#else
10401 if (!PyString_Check(_obj1)) {
10402 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10403 return NULL;
10404 }
10405 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10406#endif
10407}
10408{
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) return NULL;
10414} Py_INCREF(Py_None);
10415 _resultobj = Py_None;
10416{
10417 if (_obj1)
10418 delete _arg1;
10419}
10420 return _resultobj;
10421}
10422
10423#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10424static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10425 PyObject * _resultobj;
10426 wxGenericDirCtrl * _arg0;
10427 bool _arg1;
10428 PyObject * _argo0 = 0;
10429 int tempbool1;
10430 char *_kwnames[] = { "self","show", NULL };
10431
10432 self = self;
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10434 return NULL;
10435 if (_argo0) {
10436 if (_argo0 == Py_None) { _arg0 = NULL; }
10437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10439 return NULL;
10440 }
10441 }
10442 _arg1 = (bool ) tempbool1;
10443{
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) return NULL;
10449} Py_INCREF(Py_None);
10450 _resultobj = Py_None;
10451 return _resultobj;
10452}
10453
10454#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10455static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject * _resultobj;
10457 bool _result;
10458 wxGenericDirCtrl * _arg0;
10459 PyObject * _argo0 = 0;
10460 char *_kwnames[] = { "self", NULL };
10461
10462 self = self;
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10464 return NULL;
10465 if (_argo0) {
10466 if (_argo0 == Py_None) { _arg0 = NULL; }
10467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10469 return NULL;
10470 }
10471 }
10472{
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) return NULL;
10478} _resultobj = Py_BuildValue("i",_result);
10479 return _resultobj;
10480}
10481
10482#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10483static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject * _resultobj;
10485 wxString * _result;
10486 wxGenericDirCtrl * _arg0;
10487 PyObject * _argo0 = 0;
10488 char *_kwnames[] = { "self", NULL };
10489
10490 self = self;
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10492 return NULL;
10493 if (_argo0) {
10494 if (_argo0 == Py_None) { _arg0 = NULL; }
10495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10497 return NULL;
10498 }
10499 }
10500{
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) return NULL;
10506}{
10507 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10508}
10509{
10510 delete _result;
10511}
10512 return _resultobj;
10513}
10514
10515#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10516static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject * _resultobj;
10518 wxGenericDirCtrl * _arg0;
10519 wxString * _arg1;
10520 PyObject * _argo0 = 0;
10521 PyObject * _obj1 = 0;
10522 char *_kwnames[] = { "self","filter", NULL };
10523
10524 self = self;
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10526 return NULL;
10527 if (_argo0) {
10528 if (_argo0 == Py_None) { _arg0 = NULL; }
10529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10531 return NULL;
10532 }
10533 }
10534{
10535#if PYTHON_API_VERSION >= 1009
10536 char* tmpPtr; int tmpSize;
10537 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10538 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10539 return NULL;
10540 }
10541 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10542 return NULL;
10543 _arg1 = new wxString(tmpPtr, tmpSize);
10544#else
10545 if (!PyString_Check(_obj1)) {
10546 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10547 return NULL;
10548 }
10549 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10550#endif
10551}
10552{
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) return NULL;
10558} Py_INCREF(Py_None);
10559 _resultobj = Py_None;
10560{
10561 if (_obj1)
10562 delete _arg1;
10563}
10564 return _resultobj;
10565}
10566
10567#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10568static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10569 PyObject * _resultobj;
10570 int _result;
10571 wxGenericDirCtrl * _arg0;
10572 PyObject * _argo0 = 0;
10573 char *_kwnames[] = { "self", NULL };
10574
10575 self = self;
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10577 return NULL;
10578 if (_argo0) {
10579 if (_argo0 == Py_None) { _arg0 = NULL; }
10580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10582 return NULL;
10583 }
10584 }
10585{
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) return NULL;
10591} _resultobj = Py_BuildValue("i",_result);
10592 return _resultobj;
10593}
10594
10595#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10596static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject * _resultobj;
10598 wxGenericDirCtrl * _arg0;
10599 int _arg1;
10600 PyObject * _argo0 = 0;
10601 char *_kwnames[] = { "self","n", NULL };
10602
10603 self = self;
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10605 return NULL;
10606 if (_argo0) {
10607 if (_argo0 == Py_None) { _arg0 = NULL; }
10608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10610 return NULL;
10611 }
10612 }
10613{
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) return NULL;
10619} Py_INCREF(Py_None);
10620 _resultobj = Py_None;
10621 return _resultobj;
10622}
10623
10624#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10625static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject * _resultobj;
10627 wxTreeItemId * _result;
10628 wxGenericDirCtrl * _arg0;
10629 PyObject * _argo0 = 0;
10630 char *_kwnames[] = { "self", NULL };
10631 char _ptemp[128];
10632
10633 self = self;
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10635 return NULL;
10636 if (_argo0) {
10637 if (_argo0 == Py_None) { _arg0 = NULL; }
10638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10640 return NULL;
10641 }
10642 }
10643{
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) return NULL;
10649} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10650 _resultobj = Py_BuildValue("s",_ptemp);
10651 return _resultobj;
10652}
10653
10654#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10655static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10656 PyObject * _resultobj;
10657 wxTreeCtrl * _result;
10658 wxGenericDirCtrl * _arg0;
10659 PyObject * _argo0 = 0;
10660 char *_kwnames[] = { "self", NULL };
10661 char _ptemp[128];
10662
10663 self = self;
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10665 return NULL;
10666 if (_argo0) {
10667 if (_argo0 == Py_None) { _arg0 = NULL; }
10668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10670 return NULL;
10671 }
10672 }
10673{
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) return NULL;
10679} if (_result) {
10680 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
10681 _resultobj = Py_BuildValue("s",_ptemp);
10682 } else {
10683 Py_INCREF(Py_None);
10684 _resultobj = Py_None;
10685 }
10686 return _resultobj;
10687}
10688
10689#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10690static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject * _resultobj;
10692 wxDirFilterListCtrl * _result;
10693 wxGenericDirCtrl * _arg0;
10694 PyObject * _argo0 = 0;
10695 char *_kwnames[] = { "self", NULL };
10696 char _ptemp[128];
10697
10698 self = self;
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10700 return NULL;
10701 if (_argo0) {
10702 if (_argo0 == Py_None) { _arg0 = NULL; }
10703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10705 return NULL;
10706 }
10707 }
10708{
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) return NULL;
10714} if (_result) {
10715 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10716 _resultobj = Py_BuildValue("s",_ptemp);
10717 } else {
10718 Py_INCREF(Py_None);
10719 _resultobj = Py_None;
10720 }
10721 return _resultobj;
10722}
10723
10724static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10725 wxDirFilterListCtrl *src;
10726 wxChoice *dest;
10727 src = (wxDirFilterListCtrl *) ptr;
10728 dest = (wxChoice *) src;
10729 return (void *) dest;
10730}
10731
10732static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10733 wxDirFilterListCtrl *src;
10734 wxControlWithItems *dest;
10735 src = (wxDirFilterListCtrl *) ptr;
10736 dest = (wxControlWithItems *) src;
10737 return (void *) dest;
10738}
10739
10740static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10741 wxDirFilterListCtrl *src;
10742 wxControl *dest;
10743 src = (wxDirFilterListCtrl *) ptr;
10744 dest = (wxControl *) src;
10745 return (void *) dest;
10746}
10747
10748static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10749 wxDirFilterListCtrl *src;
10750 wxWindow *dest;
10751 src = (wxDirFilterListCtrl *) ptr;
10752 dest = (wxWindow *) src;
10753 return (void *) dest;
10754}
10755
10756static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10757 wxDirFilterListCtrl *src;
10758 wxEvtHandler *dest;
10759 src = (wxDirFilterListCtrl *) ptr;
10760 dest = (wxEvtHandler *) src;
10761 return (void *) dest;
10762}
10763
10764static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10765 wxDirFilterListCtrl *src;
10766 wxObject *dest;
10767 src = (wxDirFilterListCtrl *) ptr;
10768 dest = (wxObject *) src;
10769 return (void *) dest;
10770}
10771
10772#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10773static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10774 PyObject * _resultobj;
10775 wxDirFilterListCtrl * _result;
10776 wxGenericDirCtrl * _arg0;
10777 wxWindowID _arg1 = (wxWindowID ) -1;
10778 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10779 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10780 long _arg4 = (long ) 0;
10781 PyObject * _argo0 = 0;
10782 wxPoint temp;
10783 PyObject * _obj2 = 0;
10784 wxSize temp0;
10785 PyObject * _obj3 = 0;
10786 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10787 char _ptemp[128];
10788
10789 self = self;
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10791 return NULL;
10792 if (_argo0) {
10793 if (_argo0 == Py_None) { _arg0 = NULL; }
10794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10796 return NULL;
10797 }
10798 }
10799 if (_obj2)
10800{
10801 _arg2 = &temp;
10802 if (! wxPoint_helper(_obj2, &_arg2))
10803 return NULL;
10804}
10805 if (_obj3)
10806{
10807 _arg3 = &temp0;
10808 if (! wxSize_helper(_obj3, &_arg3))
10809 return NULL;
10810}
10811{
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) return NULL;
10817} if (_result) {
10818 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10819 _resultobj = Py_BuildValue("s",_ptemp);
10820 } else {
10821 Py_INCREF(Py_None);
10822 _resultobj = Py_None;
10823 }
10824 return _resultobj;
10825}
10826
10827#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10828static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10829 PyObject * _resultobj;
10830 wxDirFilterListCtrl * _result;
10831 char *_kwnames[] = { NULL };
10832 char _ptemp[128];
10833
10834 self = self;
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10836 return NULL;
10837{
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) return NULL;
10843} if (_result) {
10844 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10845 _resultobj = Py_BuildValue("s",_ptemp);
10846 } else {
10847 Py_INCREF(Py_None);
10848 _resultobj = Py_None;
10849 }
10850 return _resultobj;
10851}
10852
10853#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10854static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10855 PyObject * _resultobj;
10856 bool _result;
10857 wxDirFilterListCtrl * _arg0;
10858 wxGenericDirCtrl * _arg1;
10859 wxWindowID _arg2 = (wxWindowID ) -1;
10860 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10861 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10862 long _arg5 = (long ) 0;
10863 PyObject * _argo0 = 0;
10864 PyObject * _argo1 = 0;
10865 wxPoint temp;
10866 PyObject * _obj3 = 0;
10867 wxSize temp0;
10868 PyObject * _obj4 = 0;
10869 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10870
10871 self = self;
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10873 return NULL;
10874 if (_argo0) {
10875 if (_argo0 == Py_None) { _arg0 = NULL; }
10876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10878 return NULL;
10879 }
10880 }
10881 if (_argo1) {
10882 if (_argo1 == Py_None) { _arg1 = NULL; }
10883 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10884 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10885 return NULL;
10886 }
10887 }
10888 if (_obj3)
10889{
10890 _arg3 = &temp;
10891 if (! wxPoint_helper(_obj3, &_arg3))
10892 return NULL;
10893}
10894 if (_obj4)
10895{
10896 _arg4 = &temp0;
10897 if (! wxSize_helper(_obj4, &_arg4))
10898 return NULL;
10899}
10900{
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) return NULL;
10906} _resultobj = Py_BuildValue("i",_result);
10907 return _resultobj;
10908}
10909
10910#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10911static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject * _resultobj;
10913 wxDirFilterListCtrl * _arg0;
10914 wxString * _arg1;
10915 int _arg2;
10916 PyObject * _argo0 = 0;
10917 PyObject * _obj1 = 0;
10918 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10919
10920 self = self;
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10922 return NULL;
10923 if (_argo0) {
10924 if (_argo0 == Py_None) { _arg0 = NULL; }
10925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10927 return NULL;
10928 }
10929 }
10930{
10931#if PYTHON_API_VERSION >= 1009
10932 char* tmpPtr; int tmpSize;
10933 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10934 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10935 return NULL;
10936 }
10937 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10938 return NULL;
10939 _arg1 = new wxString(tmpPtr, tmpSize);
10940#else
10941 if (!PyString_Check(_obj1)) {
10942 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10943 return NULL;
10944 }
10945 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10946#endif
10947}
10948{
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) return NULL;
10954} Py_INCREF(Py_None);
10955 _resultobj = Py_None;
10956{
10957 if (_obj1)
10958 delete _arg1;
10959}
10960 return _resultobj;
10961}
10962
8ab979d7 10963static PyMethodDef controls2cMethods[] = {
68320e40
RD
10964 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10965 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10966 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10967 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10968 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10969 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10970 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10971 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10972 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10973 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10974 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10975 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10976 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10977 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10978 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10979 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10980 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10981 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10982 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10983 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10984 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10985 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10986 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10987 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10988 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10989 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10990 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10991 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10992 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10993 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10994 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10995 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10996 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10997 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
d426c97e 10998 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10999 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
11000 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
11001 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11002 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11003 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
11004 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
11005 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 11006 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11007 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
11008 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
11009 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
11010 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
11011 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
11012 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
11013 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
11014 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
11015 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
11016 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
11017 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
11018 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
11019 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
11020 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
11021 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
11022 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11023 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11024 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
11025 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
11026 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 11027 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11028 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
11029 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
11030 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
11031 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
11032 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
11033 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
11034 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
11035 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 11036 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 11037 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11038 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11039 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
11040 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
11041 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
11042 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
11043 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
11044 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
11045 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
11046 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
11047 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
11048 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
11049 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
11050 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
11051 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
11052 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
11053 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
11054 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11055 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
11056 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
11057 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
11058 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11059 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
11060 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
11061 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
11062 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
11063 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11064 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11065 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11066 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11067 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11068 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11069 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
11070 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
11071 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
ecc08ead 11072 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11073 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
11074 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
11075 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
00b6c4e3 11076 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11077 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
11078 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
11079 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
11080 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
11081 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11082 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11083 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
11084 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
11085 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
11086 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11087 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11088 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11089 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11090 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11091 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11092 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11093 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11094 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11095 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
11096 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
11097 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
11098 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
11099 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
11100 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
11101 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
11102 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
11103 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
11104 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
11105 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
11106 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 11107 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 11108 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
11109 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
11110 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
11111 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11112 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
11113 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
11114 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
11115 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 11116 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11117 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
11118 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
11119 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
11120 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11121 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
11122 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
11123 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11124 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
11125 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
11126 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
11127 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
11128 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
11129 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
11130 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
11131 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
11132 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
11133 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
11134 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
11135 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
11136 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
11137 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
11138 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
11139 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11140 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11141 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
11142 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
11143 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
11144 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
11145 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
11146 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
11147 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
11148 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
11149 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
11150 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
11151 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
11152 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
11153 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
11154 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
11155 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
11156 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
11157 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
11158 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
11159 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
11160 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
11161 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
11162 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
11163 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11164 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11165 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11166 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11167 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11168 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 11169 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
11170 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
11171 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11172 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
11173 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
11174 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
11175 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
11176 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11177 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
11178 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11179 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11180 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
11181 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11182 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
11183 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
11184 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
11185 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11186 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
11187 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11188 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
11189 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
ebf4302c
RD
11190 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
11191 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11192 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
11193 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
6d19860f 11194 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11195 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
11196 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
11197 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
11198 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
11199 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
11200 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
11201 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
11202 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
11203 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
11204 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
11205 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
11206 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
11207 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
11208 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
11209 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
11210 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
11211 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
11212 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
11213 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
11214 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11215 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11216 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11217 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11218 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
11219 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
11220 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
11221 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
11222 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
11223 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
11224 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
11225 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
11226 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
11227 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11228 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11229 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11230 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11231 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11232 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11233 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11234 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11235 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11236 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11237 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11238 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11239 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11240 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11241 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11242 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11243 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11244 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11245 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11246 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11247 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11248 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11249 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11250 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11251 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11252 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11253 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11254 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11255 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11256 { NULL, NULL }
11257};
1d99702e
RD
11258#ifdef __cplusplus
11259}
11260#endif
11261/*
11262 * This table is used by the pointer type-checker
11263 */
11264static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11265 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11266 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11267 { "_signed_long","_long",0},
b1462dfa 11268 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11269 { "_wxPrintQuality","_int",0},
11270 { "_wxPrintQuality","_signed_int",0},
11271 { "_wxPrintQuality","_unsigned_int",0},
11272 { "_wxPrintQuality","_wxWindowID",0},
11273 { "_wxPrintQuality","_uint",0},
11274 { "_wxPrintQuality","_EBool",0},
11275 { "_wxPrintQuality","_size_t",0},
c368d904 11276 { "_wxPrintQuality","_time_t",0},
1d99702e 11277 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11278 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11279 { "_byte","_unsigned_char",0},
68320e40 11280 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11281 { "_long","_unsigned_long",0},
11282 { "_long","_signed_long",0},
b1462dfa 11283 { "_size_t","_wxCoord",0},
1d99702e 11284 { "_size_t","_wxPrintQuality",0},
c368d904 11285 { "_size_t","_time_t",0},
1d99702e
RD
11286 { "_size_t","_unsigned_int",0},
11287 { "_size_t","_int",0},
11288 { "_size_t","_wxWindowID",0},
11289 { "_size_t","_uint",0},
b1462dfa 11290 { "_uint","_wxCoord",0},
1d99702e 11291 { "_uint","_wxPrintQuality",0},
c368d904 11292 { "_uint","_time_t",0},
1d99702e
RD
11293 { "_uint","_size_t",0},
11294 { "_uint","_unsigned_int",0},
11295 { "_uint","_int",0},
11296 { "_uint","_wxWindowID",0},
f6bcfd97 11297 { "_wxChar","_char",0},
1d99702e 11298 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11299 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11300 { "_char","_wxChar",0},
cdf14688 11301 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11302 { "_EBool","_wxCoord",0},
1d99702e
RD
11303 { "_EBool","_wxPrintQuality",0},
11304 { "_EBool","_signed_int",0},
11305 { "_EBool","_int",0},
11306 { "_EBool","_wxWindowID",0},
1d99702e 11307 { "_unsigned_long","_long",0},
cdf14688 11308 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11309 { "_signed_int","_wxCoord",0},
1d99702e
RD
11310 { "_signed_int","_wxPrintQuality",0},
11311 { "_signed_int","_EBool",0},
11312 { "_signed_int","_wxWindowID",0},
11313 { "_signed_int","_int",0},
1d99702e
RD
11314 { "_WXTYPE","_short",0},
11315 { "_WXTYPE","_signed_short",0},
11316 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11317 { "_unsigned_short","_WXTYPE",0},
11318 { "_unsigned_short","_short",0},
68320e40
RD
11319 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11320 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11321 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9416aa89 11322 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9416aa89 11323 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9416aa89 11324 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
6d19860f 11325 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
c7e7022c 11326 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9416aa89 11327 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9416aa89 11328 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11329 { "_signed_short","_WXTYPE",0},
11330 { "_signed_short","_short",0},
1d99702e 11331 { "_unsigned_char","_byte",0},
68320e40
RD
11332 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11333 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11334 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
6d19860f 11335 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
c7e7022c 11336 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11337 { "_unsigned_int","_wxCoord",0},
1d99702e 11338 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11339 { "_unsigned_int","_time_t",0},
1d99702e
RD
11340 { "_unsigned_int","_size_t",0},
11341 { "_unsigned_int","_uint",0},
11342 { "_unsigned_int","_wxWindowID",0},
11343 { "_unsigned_int","_int",0},
1d99702e
RD
11344 { "_short","_WXTYPE",0},
11345 { "_short","_unsigned_short",0},
11346 { "_short","_signed_short",0},
68320e40 11347 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11348 { "_wxWindowID","_wxCoord",0},
1d99702e 11349 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11350 { "_wxWindowID","_time_t",0},
1d99702e
RD
11351 { "_wxWindowID","_size_t",0},
11352 { "_wxWindowID","_EBool",0},
11353 { "_wxWindowID","_uint",0},
11354 { "_wxWindowID","_int",0},
11355 { "_wxWindowID","_signed_int",0},
11356 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11357 { "_int","_wxCoord",0},
1d99702e 11358 { "_int","_wxPrintQuality",0},
c368d904 11359 { "_int","_time_t",0},
1d99702e
RD
11360 { "_int","_size_t",0},
11361 { "_int","_EBool",0},
11362 { "_int","_uint",0},
11363 { "_int","_wxWindowID",0},
11364 { "_int","_unsigned_int",0},
11365 { "_int","_signed_int",0},
c368d904
RD
11366 { "_time_t","_wxCoord",0},
11367 { "_time_t","_wxPrintQuality",0},
11368 { "_time_t","_unsigned_int",0},
11369 { "_time_t","_int",0},
11370 { "_time_t","_wxWindowID",0},
11371 { "_time_t","_uint",0},
11372 { "_time_t","_size_t",0},
b1462dfa
RD
11373 { "_wxCoord","_int",0},
11374 { "_wxCoord","_signed_int",0},
11375 { "_wxCoord","_unsigned_int",0},
11376 { "_wxCoord","_wxWindowID",0},
11377 { "_wxCoord","_uint",0},
11378 { "_wxCoord","_EBool",0},
11379 { "_wxCoord","_size_t",0},
c368d904 11380 { "_wxCoord","_time_t",0},
b1462dfa 11381 { "_wxCoord","_wxPrintQuality",0},
6d19860f 11382 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
68320e40
RD
11383 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11384 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11385 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
6d19860f 11386 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
c7e7022c 11387 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
68320e40
RD
11388 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11389 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11390 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
6d19860f 11391 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
c7e7022c 11392 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11393{0,0,0}};
11394
8ab979d7
RD
11395static PyObject *SWIG_globals;
11396#ifdef __cplusplus
11397extern "C"
11398#endif
1d99702e 11399SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11400 PyObject *m, *d;
11401 SWIG_globals = SWIG_newvarlink();
11402 m = Py_InitModule("controls2c", controls2cMethods);
11403 d = PyModule_GetDict(m);
c7e7022c
RD
11404 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11405 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11406 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11407 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11408 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11409 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11410 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11411 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11412 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11413 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11414 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11415 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11416 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11417 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11418 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11419 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11420 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
6d19860f
RD
11421 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11422 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11423 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11424 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
d8200036 11425 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
c7e7022c
RD
11426 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11427 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11428 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11429 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11430 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11431 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11432 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11433 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11434 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11435 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11436 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11437 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11438 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11439 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11440 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11441 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11442 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11443 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11444 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
6d19860f 11445 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
c7e7022c 11446 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11447 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11448 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11449 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
c7e7022c 11450 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11451 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11452 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11453 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11454 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11455 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11456 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11457 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11458 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11459 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11460 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11461 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11462 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11463 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11464 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11465 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11466 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11467 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11468 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11469 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11470 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11471 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11472 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11473 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11474 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11475 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11476 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11477 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11478 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11479 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11480 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11481 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11482 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11483 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11484 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11485 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11486 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11487 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11488 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11489 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
00b6c4e3
RD
11490 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11491 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11492 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11493 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11494 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
b5a5d647 11495 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
00b6c4e3
RD
11496 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11497 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11498 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
b5a5d647 11499 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
00b6c4e3
RD
11500 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11501 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11502 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11503 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11504 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11505 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11506 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11507 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11508 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11509 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11510 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11511 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11512 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11513 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11514 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11515 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11516 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11517 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11518 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11519 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11520 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11521 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11522 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11523 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11524 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1b62f00d
RD
11525 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11526 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11527 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11528 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11529 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11530 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11531 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11532 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11533 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11534 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11535 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11536 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11537 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11538 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11539 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11540 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11541 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
d1679124 11542 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
68320e40
RD
11543 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11544 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11545 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11546 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
9416aa89 11547
a3fbed81 11548 // Map renamed classes back to their common name for OOR
9416aa89
RD
11549 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11550 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
a3fbed81 11551 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11552{
11553 int i;
11554 for (i = 0; _swig_mapping[i].n1; i++)
11555 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11556}
8ab979d7 11557}