]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.cpp
Added Python wrappers for wxRTTI for the wxVScrolledWindow,
[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
7e50db3f
RD
22#include "Python.h"
23
8ab979d7
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
8ab979d7 33# else
c368d904 34# define SWIGEXPORT(a) a
8ab979d7
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
8ab979d7
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
8ab979d7
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
8ab979d7
RD
53#define SWIG_init initcontrols2c
54
55#define SWIG_name "controls2c"
56
57#include "helpers.h"
2f90df85
RD
58#ifdef __WXMSW__
59#include <windows.h>
60#endif
8ab979d7
RD
61#include <wx/listctrl.h>
62#include <wx/treectrl.h>
9416aa89 63#include <wx/imaglist.h>
68320e40 64#include <wx/dirctrl.h>
8ab979d7 65
5a2a9da2
RD
66#include "pytree.h"
67
8ab979d7
RD
68
69static PyObject* t_output_helper(PyObject* target, PyObject* o) {
70 PyObject* o2;
71 PyObject* o3;
72
e0672e2f 73 if (!target) {
8ab979d7 74 target = o;
e0672e2f 75 } else if (target == Py_None) {
8ab979d7
RD
76 Py_DECREF(Py_None);
77 target = o;
e0672e2f 78 } else {
8ab979d7
RD
79 if (!PyTuple_Check(target)) {
80 o2 = target;
81 target = PyTuple_New(1);
82 PyTuple_SetItem(target, 0, o2);
83 }
e0672e2f
RD
84 o3 = PyTuple_New(1);
85 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
86
87 o2 = target;
e0672e2f
RD
88 target = PySequence_Concat(o2, o3);
89 Py_DECREF(o2);
8ab979d7
RD
90 Py_DECREF(o3);
91 }
92 return target;
93}
137b5242
RD
94
95 // Put some wx default wxChar* values into wxStrings.
96 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
97 DECLARE_DEF_STRING(ListCtrlNameStr);
98
3413be75 99 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
137b5242
RD
100 DECLARE_DEF_STRING(_TreeCtrlNameStr);
101 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
102
103 static const wxString wxPyEmptyString(wxT(""));
0815db26
RD
104
105 static const long longzero = 0;
09f3d4e6 106 // C++ Version of a Python aware class
c7e7022c
RD
107class wxPyListCtrl : public wxListCtrl {
108 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
109public:
09f3d4e6 110 wxPyListCtrl() : wxListCtrl() {}
c7e7022c
RD
111 wxPyListCtrl(wxWindow* parent, wxWindowID id,
112 const wxPoint& pos,
113 const wxSize& size,
114 long style,
115 const wxValidator& validator,
137b5242 116 const wxString& name) :
c7e7022c
RD
117 wxListCtrl(parent, id, pos, size, style, validator, name) {}
118
09f3d4e6
RD
119 bool Create(wxWindow* parent, wxWindowID id,
120 const wxPoint& pos,
121 const wxSize& size,
122 long style,
123 const wxValidator& validator,
137b5242 124 const wxString& name) {
09f3d4e6
RD
125 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
126 }
127
c7e7022c
RD
128 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
129 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
130 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
131
132 PYPRIVATE;
133};
134
135IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
136
137IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
138IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
139IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
6d19860f 140 // Python aware sorting function for wxPyListCtrl
f6bcfd97 141 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
142 int retval = 0;
143 PyObject* func = (PyObject*)funcPtr;
4268f798 144 wxPyBeginBlockThreads();
dcd38683
RD
145
146 PyObject* args = Py_BuildValue("(ii)", item1, item2);
147 PyObject* result = PyEval_CallObject(func, args);
148 Py_DECREF(args);
149 if (result) {
150 retval = PyInt_AsLong(result);
151 Py_DECREF(result);
152 }
153
4268f798 154 wxPyEndBlockThreads();
dcd38683
RD
155 return retval;
156 }
157
09f3d4e6 158 // C++ version of Python aware wxTreeCtrl
f6bcfd97 159class wxPyTreeCtrl : public wxTreeCtrl {
3b36695d 160 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 161public:
09f3d4e6 162 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
163 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
164 const wxPoint& pos,
165 const wxSize& size,
166 long style,
167 const wxValidator& validator,
137b5242 168 const wxString& name) :
f6bcfd97
BP
169 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
170
09f3d4e6
RD
171 bool Create(wxWindow *parent, wxWindowID id,
172 const wxPoint& pos,
173 const wxSize& size,
174 long style,
175 const wxValidator& validator,
137b5242 176 const wxString& name) {
09f3d4e6
RD
177 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
178 }
179
180
f6bcfd97
BP
181 int OnCompareItems(const wxTreeItemId& item1,
182 const wxTreeItemId& item2) {
183 int rval = 0;
19a97bd6 184 bool found;
4268f798 185 wxPyBeginBlockThreads();
a66212dc 186 if ((found = m_myInst.findCallback("OnCompareItems"))) {
7e50db3f
RD
187 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"));
188 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"));
a66212dc
RD
189 rval = m_myInst.callCallback(Py_BuildValue("(OO)",o1,o2));
190 Py_DECREF(o1);
191 Py_DECREF(o2);
192 }
4268f798 193 wxPyEndBlockThreads();
19a97bd6 194 if (! found)
f6bcfd97 195 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
196 return rval;
197 }
198 PYPRIVATE;
199};
200
3b36695d
RD
201IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
202
1d99702e
RD
203#ifdef __cplusplus
204extern "C" {
205#endif
c7e7022c 206#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97 207static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 208 PyObject * _resultobj;
f6bcfd97 209 wxListItemAttr * _result;
c7e7022c
RD
210 wxColour * _arg0 = (wxColour *) &wxNullColour;
211 wxColour * _arg1 = (wxColour *) &wxNullColour;
212 wxFont * _arg2 = (wxFont *) &wxNullFont;
213 wxColour temp;
214 PyObject * _obj0 = 0;
215 wxColour temp0;
216 PyObject * _obj1 = 0;
217 PyObject * _argo2 = 0;
218 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97 219 char _ptemp[128];
af309447
RD
220
221 self = self;
c7e7022c
RD
222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
223 return NULL;
224 if (_obj0)
225{
226 _arg0 = &temp;
227 if (! wxColour_helper(_obj0, &_arg0))
228 return NULL;
229}
230 if (_obj1)
231{
232 _arg1 = &temp0;
233 if (! wxColour_helper(_obj1, &_arg1))
234 return NULL;
235}
236 if (_argo2) {
7e50db3f 237 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
c7e7022c 238 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
af309447 239 return NULL;
c7e7022c
RD
240 }
241 }
cf694132 242{
4268f798 243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 244 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 245
4268f798 246 wxPyEndAllowThreads(__tstate);
493f1553 247 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
248} if (_result) {
249 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
250 _resultobj = Py_BuildValue("s",_ptemp);
251 } else {
252 Py_INCREF(Py_None);
253 _resultobj = Py_None;
254 }
af309447
RD
255 return _resultobj;
256}
257
f6bcfd97
BP
258#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
259static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 260 PyObject * _resultobj;
f6bcfd97
BP
261 wxListItemAttr * _arg0;
262 wxColour * _arg1;
1d99702e 263 PyObject * _argo0 = 0;
f6bcfd97
BP
264 wxColour temp;
265 PyObject * _obj1 = 0;
266 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
267
268 self = self;
f6bcfd97 269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 270 return NULL;
1d99702e
RD
271 if (_argo0) {
272 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
275 return NULL;
276 }
277 }
f6bcfd97
BP
278{
279 _arg1 = &temp;
280 if (! wxColour_helper(_obj1, &_arg1))
281 return NULL;
282}
cf694132 283{
4268f798 284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 285 wxListItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 286
4268f798 287 wxPyEndAllowThreads(__tstate);
493f1553 288 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
289} Py_INCREF(Py_None);
290 _resultobj = Py_None;
8ab979d7
RD
291 return _resultobj;
292}
293
f6bcfd97
BP
294#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
295static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 296 PyObject * _resultobj;
f6bcfd97
BP
297 wxListItemAttr * _arg0;
298 wxColour * _arg1;
1d99702e 299 PyObject * _argo0 = 0;
f6bcfd97
BP
300 wxColour temp;
301 PyObject * _obj1 = 0;
302 char *_kwnames[] = { "self","colBack", NULL };
af309447
RD
303
304 self = self;
f6bcfd97 305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
af309447 306 return NULL;
1d99702e
RD
307 if (_argo0) {
308 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
311 return NULL;
312 }
313 }
f6bcfd97
BP
314{
315 _arg1 = &temp;
316 if (! wxColour_helper(_obj1, &_arg1))
317 return NULL;
318}
cf694132 319{
4268f798 320 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 321 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 322
4268f798 323 wxPyEndAllowThreads(__tstate);
493f1553 324 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
325} Py_INCREF(Py_None);
326 _resultobj = Py_None;
af309447
RD
327 return _resultobj;
328}
329
f6bcfd97
BP
330#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
331static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 332 PyObject * _resultobj;
f6bcfd97
BP
333 wxListItemAttr * _arg0;
334 wxFont * _arg1;
1d99702e 335 PyObject * _argo0 = 0;
f6bcfd97
BP
336 PyObject * _argo1 = 0;
337 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
338
339 self = self;
f6bcfd97 340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 341 return NULL;
1d99702e
RD
342 if (_argo0) {
343 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
346 return NULL;
347 }
348 }
349 if (_argo1) {
7e50db3f 350 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
f6bcfd97 351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
8ab979d7
RD
352 return NULL;
353 }
354 }
cf694132 355{
4268f798 356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 357 wxListItemAttr_SetFont(_arg0,*_arg1);
cf694132 358
4268f798 359 wxPyEndAllowThreads(__tstate);
493f1553 360 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
361} Py_INCREF(Py_None);
362 _resultobj = Py_None;
8ab979d7
RD
363 return _resultobj;
364}
365
f6bcfd97
BP
366#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
367static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 368 PyObject * _resultobj;
f6bcfd97
BP
369 bool _result;
370 wxListItemAttr * _arg0;
1d99702e 371 PyObject * _argo0 = 0;
f6bcfd97 372 char *_kwnames[] = { "self", NULL };
af309447
RD
373
374 self = self;
f6bcfd97 375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
af309447 376 return NULL;
1d99702e
RD
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
af309447
RD
381 return NULL;
382 }
383 }
cf694132 384{
4268f798 385 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 386 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
cf694132 387
4268f798 388 wxPyEndAllowThreads(__tstate);
493f1553 389 if (PyErr_Occurred()) return NULL;
cf694132 390} _resultobj = Py_BuildValue("i",_result);
af309447
RD
391 return _resultobj;
392}
393
f6bcfd97
BP
394#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
395static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 396 PyObject * _resultobj;
f6bcfd97
BP
397 bool _result;
398 wxListItemAttr * _arg0;
1d99702e 399 PyObject * _argo0 = 0;
efc5f224 400 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
401
402 self = self;
f6bcfd97 403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
8ab979d7 404 return NULL;
1d99702e
RD
405 if (_argo0) {
406 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
409 return NULL;
410 }
411 }
cf694132 412{
4268f798 413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 414 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
cf694132 415
4268f798 416 wxPyEndAllowThreads(__tstate);
493f1553 417 if (PyErr_Occurred()) return NULL;
cf694132 418} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
419 return _resultobj;
420}
421
f6bcfd97
BP
422#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
423static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 424 PyObject * _resultobj;
f6bcfd97
BP
425 bool _result;
426 wxListItemAttr * _arg0;
1d99702e 427 PyObject * _argo0 = 0;
f6bcfd97 428 char *_kwnames[] = { "self", NULL };
af309447
RD
429
430 self = self;
f6bcfd97 431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
af309447 432 return NULL;
1d99702e
RD
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
af309447
RD
437 return NULL;
438 }
439 }
cf694132 440{
4268f798 441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 442 _result = (bool )wxListItemAttr_HasFont(_arg0);
cf694132 443
4268f798 444 wxPyEndAllowThreads(__tstate);
493f1553 445 if (PyErr_Occurred()) return NULL;
f6bcfd97 446} _resultobj = Py_BuildValue("i",_result);
af309447
RD
447 return _resultobj;
448}
449
f6bcfd97
BP
450#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
451static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 452 PyObject * _resultobj;
f6bcfd97
BP
453 wxColour * _result;
454 wxListItemAttr * _arg0;
1d99702e 455 PyObject * _argo0 = 0;
efc5f224 456 char *_kwnames[] = { "self", NULL };
f6bcfd97 457 char _ptemp[128];
8ab979d7
RD
458
459 self = self;
f6bcfd97 460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 461 return NULL;
1d99702e
RD
462 if (_argo0) {
463 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
466 return NULL;
467 }
468 }
cf694132 469{
4268f798 470 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 471 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
cf694132 472
4268f798 473 wxPyEndAllowThreads(__tstate);
493f1553 474 if (PyErr_Occurred()) return NULL;
c5943253
RD
475} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
476 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
477 return _resultobj;
478}
479
f6bcfd97
BP
480#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
481static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 482 PyObject * _resultobj;
f6bcfd97
BP
483 wxColour * _result;
484 wxListItemAttr * _arg0;
1d99702e 485 PyObject * _argo0 = 0;
f6bcfd97
BP
486 char *_kwnames[] = { "self", NULL };
487 char _ptemp[128];
af309447
RD
488
489 self = self;
f6bcfd97 490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
af309447 491 return NULL;
1d99702e
RD
492 if (_argo0) {
493 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
496 return NULL;
497 }
498 }
cf694132 499{
4268f798 500 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 501 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
cf694132 502
4268f798 503 wxPyEndAllowThreads(__tstate);
493f1553 504 if (PyErr_Occurred()) return NULL;
c5943253
RD
505} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
506 _resultobj = Py_BuildValue("s",_ptemp);
af309447
RD
507 return _resultobj;
508}
509
f6bcfd97
BP
510#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
511static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 512 PyObject * _resultobj;
f6bcfd97
BP
513 wxFont * _result;
514 wxListItemAttr * _arg0;
1d99702e 515 PyObject * _argo0 = 0;
efc5f224 516 char *_kwnames[] = { "self", NULL };
f6bcfd97 517 char _ptemp[128];
8ab979d7
RD
518
519 self = self;
f6bcfd97 520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
8ab979d7 521 return NULL;
1d99702e
RD
522 if (_argo0) {
523 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
8ab979d7
RD
526 return NULL;
527 }
528 }
cf694132 529{
4268f798 530 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 531 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
cf694132 532
4268f798 533 wxPyEndAllowThreads(__tstate);
493f1553 534 if (PyErr_Occurred()) return NULL;
c5943253
RD
535} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
536 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
537 return _resultobj;
538}
539
9416aa89
RD
540static void *SwigwxListItemTowxObject(void *ptr) {
541 wxListItem *src;
542 wxObject *dest;
543 src = (wxListItem *) ptr;
544 dest = (wxObject *) src;
545 return (void *) dest;
546}
547
f6bcfd97
BP
548#define new_wxListItem() (new wxListItem())
549static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 550 PyObject * _resultobj;
f6bcfd97
BP
551 wxListItem * _result;
552 char *_kwnames[] = { NULL };
553 char _ptemp[128];
af309447
RD
554
555 self = self;
f6bcfd97 556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
af309447 557 return NULL;
af309447 558{
4268f798 559 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 560 _result = (wxListItem *)new_wxListItem();
cf694132 561
4268f798 562 wxPyEndAllowThreads(__tstate);
493f1553 563 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
564} if (_result) {
565 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
566 _resultobj = Py_BuildValue("s",_ptemp);
567 } else {
568 Py_INCREF(Py_None);
569 _resultobj = Py_None;
570 }
af309447
RD
571 return _resultobj;
572}
573
f6bcfd97
BP
574#define delete_wxListItem(_swigobj) (delete _swigobj)
575static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 576 PyObject * _resultobj;
8ab979d7 577 wxListItem * _arg0;
1d99702e 578 PyObject * _argo0 = 0;
efc5f224 579 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
580
581 self = self;
f6bcfd97 582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 583 return NULL;
1d99702e
RD
584 if (_argo0) {
585 if (_argo0 == Py_None) { _arg0 = NULL; }
586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
8ab979d7
RD
588 return NULL;
589 }
590 }
8ab979d7 591{
4268f798 592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 593 delete_wxListItem(_arg0);
cf694132 594
4268f798 595 wxPyEndAllowThreads(__tstate);
493f1553 596 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
597} Py_INCREF(Py_None);
598 _resultobj = Py_None;
8ab979d7
RD
599 return _resultobj;
600}
601
f6bcfd97
BP
602#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
603static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 604 PyObject * _resultobj;
af309447 605 wxListItem * _arg0;
1d99702e 606 PyObject * _argo0 = 0;
f6bcfd97 607 char *_kwnames[] = { "self", NULL };
af309447
RD
608
609 self = self;
f6bcfd97 610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
af309447 611 return NULL;
1d99702e
RD
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
af309447
RD
616 return NULL;
617 }
618 }
cf694132 619{
4268f798 620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 621 wxListItem_Clear(_arg0);
cf694132 622
4268f798 623 wxPyEndAllowThreads(__tstate);
493f1553 624 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
625} Py_INCREF(Py_None);
626 _resultobj = Py_None;
af309447
RD
627 return _resultobj;
628}
629
f6bcfd97
BP
630#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
631static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 632 PyObject * _resultobj;
8ab979d7 633 wxListItem * _arg0;
1d99702e 634 PyObject * _argo0 = 0;
efc5f224 635 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
636
637 self = self;
f6bcfd97 638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
8ab979d7 639 return NULL;
1d99702e
RD
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
8ab979d7
RD
644 return NULL;
645 }
646 }
cf694132 647{
4268f798 648 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 649 wxListItem_ClearAttributes(_arg0);
cf694132 650
4268f798 651 wxPyEndAllowThreads(__tstate);
493f1553 652 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
653} Py_INCREF(Py_None);
654 _resultobj = Py_None;
655 return _resultobj;
656}
657
658#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
659static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
660 PyObject * _resultobj;
661 wxListItem * _arg0;
662 long _arg1;
663 PyObject * _argo0 = 0;
664 char *_kwnames[] = { "self","mask", NULL };
665
666 self = self;
667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
668 return NULL;
669 if (_argo0) {
670 if (_argo0 == Py_None) { _arg0 = NULL; }
671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
673 return NULL;
674 }
675 }
676{
4268f798 677 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 678 wxListItem_SetMask(_arg0,_arg1);
f6bcfd97 679
4268f798 680 wxPyEndAllowThreads(__tstate);
493f1553 681 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
682} Py_INCREF(Py_None);
683 _resultobj = Py_None;
684 return _resultobj;
685}
686
687#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
688static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
689 PyObject * _resultobj;
690 wxListItem * _arg0;
691 long _arg1;
692 PyObject * _argo0 = 0;
693 char *_kwnames[] = { "self","id", NULL };
694
695 self = self;
696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
697 return NULL;
698 if (_argo0) {
699 if (_argo0 == Py_None) { _arg0 = NULL; }
700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
702 return NULL;
703 }
704 }
705{
4268f798 706 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 707 wxListItem_SetId(_arg0,_arg1);
f6bcfd97 708
4268f798 709 wxPyEndAllowThreads(__tstate);
493f1553 710 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
711} Py_INCREF(Py_None);
712 _resultobj = Py_None;
713 return _resultobj;
714}
715
716#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
717static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
718 PyObject * _resultobj;
719 wxListItem * _arg0;
720 int _arg1;
721 PyObject * _argo0 = 0;
722 char *_kwnames[] = { "self","col", NULL };
723
724 self = self;
725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
726 return NULL;
727 if (_argo0) {
728 if (_argo0 == Py_None) { _arg0 = NULL; }
729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
731 return NULL;
732 }
733 }
734{
4268f798 735 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 736 wxListItem_SetColumn(_arg0,_arg1);
f6bcfd97 737
4268f798 738 wxPyEndAllowThreads(__tstate);
493f1553 739 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
740} Py_INCREF(Py_None);
741 _resultobj = Py_None;
742 return _resultobj;
743}
744
745#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
746static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
747 PyObject * _resultobj;
748 wxListItem * _arg0;
749 long _arg1;
750 PyObject * _argo0 = 0;
751 char *_kwnames[] = { "self","state", NULL };
752
753 self = self;
754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
755 return NULL;
756 if (_argo0) {
757 if (_argo0 == Py_None) { _arg0 = NULL; }
758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
760 return NULL;
761 }
762 }
763{
4268f798 764 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 765 wxListItem_SetState(_arg0,_arg1);
f6bcfd97 766
4268f798 767 wxPyEndAllowThreads(__tstate);
493f1553 768 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
769} Py_INCREF(Py_None);
770 _resultobj = Py_None;
771 return _resultobj;
772}
773
774#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
775static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject * _resultobj;
777 wxListItem * _arg0;
778 long _arg1;
779 PyObject * _argo0 = 0;
780 char *_kwnames[] = { "self","stateMask", NULL };
781
782 self = self;
783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
784 return NULL;
785 if (_argo0) {
786 if (_argo0 == Py_None) { _arg0 = NULL; }
787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
789 return NULL;
790 }
791 }
792{
4268f798 793 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 794 wxListItem_SetStateMask(_arg0,_arg1);
f6bcfd97 795
4268f798 796 wxPyEndAllowThreads(__tstate);
493f1553 797 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
798} Py_INCREF(Py_None);
799 _resultobj = Py_None;
800 return _resultobj;
801}
802
803#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
804static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
805 PyObject * _resultobj;
806 wxListItem * _arg0;
807 wxString * _arg1;
808 PyObject * _argo0 = 0;
809 PyObject * _obj1 = 0;
810 char *_kwnames[] = { "self","text", NULL };
811
812 self = self;
813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
814 return NULL;
815 if (_argo0) {
816 if (_argo0 == Py_None) { _arg0 = NULL; }
817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
819 return NULL;
820 }
821 }
822{
c8bc7bb8
RD
823 _arg1 = wxString_in_helper(_obj1);
824 if (_arg1 == NULL)
f6bcfd97 825 return NULL;
f6bcfd97
BP
826}
827{
4268f798 828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 829 wxListItem_SetText(_arg0,*_arg1);
f6bcfd97 830
4268f798 831 wxPyEndAllowThreads(__tstate);
493f1553 832 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
833} Py_INCREF(Py_None);
834 _resultobj = Py_None;
835{
836 if (_obj1)
837 delete _arg1;
838}
839 return _resultobj;
840}
841
842#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
843static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
844 PyObject * _resultobj;
845 wxListItem * _arg0;
846 int _arg1;
847 PyObject * _argo0 = 0;
848 char *_kwnames[] = { "self","image", NULL };
849
850 self = self;
851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
852 return NULL;
853 if (_argo0) {
854 if (_argo0 == Py_None) { _arg0 = NULL; }
855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
857 return NULL;
858 }
859 }
860{
4268f798 861 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 862 wxListItem_SetImage(_arg0,_arg1);
f6bcfd97 863
4268f798 864 wxPyEndAllowThreads(__tstate);
493f1553 865 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
866} Py_INCREF(Py_None);
867 _resultobj = Py_None;
868 return _resultobj;
869}
870
871#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
872static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
873 PyObject * _resultobj;
874 wxListItem * _arg0;
875 long _arg1;
876 PyObject * _argo0 = 0;
877 char *_kwnames[] = { "self","data", NULL };
878
879 self = self;
880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
881 return NULL;
882 if (_argo0) {
883 if (_argo0 == Py_None) { _arg0 = NULL; }
884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
886 return NULL;
887 }
888 }
889{
4268f798 890 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 891 wxListItem_SetData(_arg0,_arg1);
f6bcfd97 892
4268f798 893 wxPyEndAllowThreads(__tstate);
493f1553 894 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
895} Py_INCREF(Py_None);
896 _resultobj = Py_None;
897 return _resultobj;
898}
899
900#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
901static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
902 PyObject * _resultobj;
903 wxListItem * _arg0;
904 int _arg1;
905 PyObject * _argo0 = 0;
906 char *_kwnames[] = { "self","width", NULL };
907
908 self = self;
909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
910 return NULL;
911 if (_argo0) {
912 if (_argo0 == Py_None) { _arg0 = NULL; }
913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
915 return NULL;
916 }
917 }
918{
4268f798 919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 920 wxListItem_SetWidth(_arg0,_arg1);
f6bcfd97 921
4268f798 922 wxPyEndAllowThreads(__tstate);
493f1553 923 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
924} Py_INCREF(Py_None);
925 _resultobj = Py_None;
926 return _resultobj;
927}
928
929#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
930static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 wxListItem * _arg0;
933 wxListColumnFormat _arg1;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self","align", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
944 return NULL;
945 }
946 }
947{
4268f798 948 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 949 wxListItem_SetAlign(_arg0,_arg1);
f6bcfd97 950
4268f798 951 wxPyEndAllowThreads(__tstate);
493f1553 952 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
953} Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 return _resultobj;
956}
957
958#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
959static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject * _resultobj;
961 wxListItem * _arg0;
962 wxColour * _arg1;
963 PyObject * _argo0 = 0;
964 wxColour temp;
965 PyObject * _obj1 = 0;
966 char *_kwnames[] = { "self","colText", NULL };
967
968 self = self;
969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
970 return NULL;
971 if (_argo0) {
972 if (_argo0 == Py_None) { _arg0 = NULL; }
973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
975 return NULL;
976 }
977 }
978{
979 _arg1 = &temp;
980 if (! wxColour_helper(_obj1, &_arg1))
981 return NULL;
982}
983{
4268f798 984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 985 wxListItem_SetTextColour(_arg0,*_arg1);
f6bcfd97 986
4268f798 987 wxPyEndAllowThreads(__tstate);
493f1553 988 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
989} Py_INCREF(Py_None);
990 _resultobj = Py_None;
991 return _resultobj;
992}
993
994#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
995static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
996 PyObject * _resultobj;
997 wxListItem * _arg0;
998 wxColour * _arg1;
999 PyObject * _argo0 = 0;
1000 wxColour temp;
1001 PyObject * _obj1 = 0;
1002 char *_kwnames[] = { "self","colBack", NULL };
1003
1004 self = self;
1005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1006 return NULL;
1007 if (_argo0) {
1008 if (_argo0 == Py_None) { _arg0 = NULL; }
1009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1011 return NULL;
1012 }
1013 }
1014{
1015 _arg1 = &temp;
1016 if (! wxColour_helper(_obj1, &_arg1))
1017 return NULL;
1018}
1019{
4268f798 1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1021 wxListItem_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 1022
4268f798 1023 wxPyEndAllowThreads(__tstate);
493f1553 1024 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1025} Py_INCREF(Py_None);
1026 _resultobj = Py_None;
1027 return _resultobj;
1028}
1029
1030#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1031static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject * _resultobj;
1033 wxListItem * _arg0;
1034 wxFont * _arg1;
1035 PyObject * _argo0 = 0;
1036 PyObject * _argo1 = 0;
1037 char *_kwnames[] = { "self","font", NULL };
1038
1039 self = self;
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1041 return NULL;
1042 if (_argo0) {
1043 if (_argo0 == Py_None) { _arg0 = NULL; }
1044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1046 return NULL;
1047 }
1048 }
1049 if (_argo1) {
7e50db3f 1050 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
f6bcfd97
BP
1051 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1052 return NULL;
1053 }
1054 }
1055{
4268f798 1056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1057 wxListItem_SetFont(_arg0,*_arg1);
f6bcfd97 1058
4268f798 1059 wxPyEndAllowThreads(__tstate);
493f1553 1060 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1061} Py_INCREF(Py_None);
1062 _resultobj = Py_None;
1063 return _resultobj;
1064}
1065
1066#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1067static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1068 PyObject * _resultobj;
1069 long _result;
1070 wxListItem * _arg0;
1071 PyObject * _argo0 = 0;
1072 char *_kwnames[] = { "self", NULL };
1073
1074 self = self;
1075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1076 return NULL;
1077 if (_argo0) {
1078 if (_argo0 == Py_None) { _arg0 = NULL; }
1079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1081 return NULL;
1082 }
1083 }
1084{
4268f798 1085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1086 _result = (long )wxListItem_GetMask(_arg0);
f6bcfd97 1087
4268f798 1088 wxPyEndAllowThreads(__tstate);
493f1553 1089 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1090} _resultobj = Py_BuildValue("l",_result);
1091 return _resultobj;
1092}
1093
1094#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1095static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1096 PyObject * _resultobj;
1097 long _result;
1098 wxListItem * _arg0;
1099 PyObject * _argo0 = 0;
1100 char *_kwnames[] = { "self", NULL };
1101
1102 self = self;
1103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1104 return NULL;
1105 if (_argo0) {
1106 if (_argo0 == Py_None) { _arg0 = NULL; }
1107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1109 return NULL;
1110 }
1111 }
1112{
4268f798 1113 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1114 _result = (long )wxListItem_GetId(_arg0);
f6bcfd97 1115
4268f798 1116 wxPyEndAllowThreads(__tstate);
493f1553 1117 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1118} _resultobj = Py_BuildValue("l",_result);
1119 return _resultobj;
1120}
1121
1122#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1123static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1124 PyObject * _resultobj;
1125 int _result;
1126 wxListItem * _arg0;
1127 PyObject * _argo0 = 0;
1128 char *_kwnames[] = { "self", NULL };
1129
1130 self = self;
1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1132 return NULL;
1133 if (_argo0) {
1134 if (_argo0 == Py_None) { _arg0 = NULL; }
1135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1137 return NULL;
1138 }
1139 }
1140{
4268f798 1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1142 _result = (int )wxListItem_GetColumn(_arg0);
f6bcfd97 1143
4268f798 1144 wxPyEndAllowThreads(__tstate);
493f1553 1145 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1146} _resultobj = Py_BuildValue("i",_result);
1147 return _resultobj;
1148}
1149
1150#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1151static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject * _resultobj;
1153 long _result;
1154 wxListItem * _arg0;
1155 PyObject * _argo0 = 0;
1156 char *_kwnames[] = { "self", NULL };
1157
1158 self = self;
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1160 return NULL;
1161 if (_argo0) {
1162 if (_argo0 == Py_None) { _arg0 = NULL; }
1163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1165 return NULL;
1166 }
1167 }
1168{
4268f798 1169 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1170 _result = (long )wxListItem_GetState(_arg0);
f6bcfd97 1171
4268f798 1172 wxPyEndAllowThreads(__tstate);
493f1553 1173 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1174} _resultobj = Py_BuildValue("l",_result);
1175 return _resultobj;
1176}
1177
1178#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1179static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject * _resultobj;
1181 wxString * _result;
1182 wxListItem * _arg0;
1183 PyObject * _argo0 = 0;
1184 char *_kwnames[] = { "self", NULL };
1185
1186 self = self;
1187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1188 return NULL;
1189 if (_argo0) {
1190 if (_argo0 == Py_None) { _arg0 = NULL; }
1191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1193 return NULL;
1194 }
1195 }
1196{
4268f798 1197 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1198 const wxString & _result_ref = wxListItem_GetText(_arg0);
f6bcfd97
BP
1199 _result = (wxString *) &_result_ref;
1200
4268f798 1201 wxPyEndAllowThreads(__tstate);
493f1553 1202 if (PyErr_Occurred()) return NULL;
f6bcfd97 1203}{
c8bc7bb8 1204#if wxUSE_UNICODE
7e50db3f 1205 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 1206#else
f6bcfd97 1207 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1208#endif
f6bcfd97
BP
1209}
1210 return _resultobj;
1211}
1212
1213#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1214static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject * _resultobj;
1216 int _result;
1217 wxListItem * _arg0;
1218 PyObject * _argo0 = 0;
1219 char *_kwnames[] = { "self", NULL };
1220
1221 self = self;
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1223 return NULL;
1224 if (_argo0) {
1225 if (_argo0 == Py_None) { _arg0 = NULL; }
1226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1228 return NULL;
1229 }
1230 }
1231{
4268f798 1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1233 _result = (int )wxListItem_GetImage(_arg0);
f6bcfd97 1234
4268f798 1235 wxPyEndAllowThreads(__tstate);
493f1553 1236 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1237} _resultobj = Py_BuildValue("i",_result);
1238 return _resultobj;
1239}
1240
1241#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1242static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1243 PyObject * _resultobj;
1244 long _result;
1245 wxListItem * _arg0;
1246 PyObject * _argo0 = 0;
1247 char *_kwnames[] = { "self", NULL };
1248
1249 self = self;
1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1251 return NULL;
1252 if (_argo0) {
1253 if (_argo0 == Py_None) { _arg0 = NULL; }
1254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1256 return NULL;
1257 }
1258 }
1259{
4268f798 1260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1261 _result = (long )wxListItem_GetData(_arg0);
f6bcfd97 1262
4268f798 1263 wxPyEndAllowThreads(__tstate);
493f1553 1264 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1265} _resultobj = Py_BuildValue("l",_result);
1266 return _resultobj;
1267}
1268
1269#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1270static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject * _resultobj;
1272 int _result;
1273 wxListItem * _arg0;
1274 PyObject * _argo0 = 0;
1275 char *_kwnames[] = { "self", NULL };
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1279 return NULL;
1280 if (_argo0) {
1281 if (_argo0 == Py_None) { _arg0 = NULL; }
1282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1284 return NULL;
1285 }
1286 }
1287{
4268f798 1288 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1289 _result = (int )wxListItem_GetWidth(_arg0);
f6bcfd97 1290
4268f798 1291 wxPyEndAllowThreads(__tstate);
493f1553 1292 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1293} _resultobj = Py_BuildValue("i",_result);
1294 return _resultobj;
1295}
1296
1297#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1298static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject * _resultobj;
1300 wxListColumnFormat _result;
1301 wxListItem * _arg0;
1302 PyObject * _argo0 = 0;
1303 char *_kwnames[] = { "self", NULL };
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1307 return NULL;
1308 if (_argo0) {
1309 if (_argo0 == Py_None) { _arg0 = NULL; }
1310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1312 return NULL;
1313 }
1314 }
1315{
4268f798 1316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1317 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
f6bcfd97 1318
4268f798 1319 wxPyEndAllowThreads(__tstate);
493f1553 1320 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1321} _resultobj = Py_BuildValue("i",_result);
1322 return _resultobj;
1323}
1324
1325#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1326static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject * _resultobj;
1328 wxListItemAttr * _result;
1329 wxListItem * _arg0;
1330 PyObject * _argo0 = 0;
1331 char *_kwnames[] = { "self", NULL };
1332 char _ptemp[128];
1333
1334 self = self;
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1336 return NULL;
1337 if (_argo0) {
1338 if (_argo0 == Py_None) { _arg0 = NULL; }
1339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1341 return NULL;
1342 }
1343 }
1344{
4268f798 1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1346 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
f6bcfd97 1347
4268f798 1348 wxPyEndAllowThreads(__tstate);
493f1553 1349 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1350} if (_result) {
1351 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1352 _resultobj = Py_BuildValue("s",_ptemp);
1353 } else {
1354 Py_INCREF(Py_None);
1355 _resultobj = Py_None;
1356 }
1357 return _resultobj;
1358}
1359
1360#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1361static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1362 PyObject * _resultobj;
1363 bool _result;
1364 wxListItem * _arg0;
1365 PyObject * _argo0 = 0;
1366 char *_kwnames[] = { "self", NULL };
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_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_HasAttributes. Expected _wxListItem_p.");
1375 return NULL;
1376 }
1377 }
1378{
4268f798 1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1380 _result = (bool )wxListItem_HasAttributes(_arg0);
f6bcfd97 1381
4268f798 1382 wxPyEndAllowThreads(__tstate);
493f1553 1383 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1384} _resultobj = Py_BuildValue("i",_result);
1385 return _resultobj;
1386}
1387
1388#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1389static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject * _resultobj;
1391 wxColour * _result;
1392 wxListItem * _arg0;
1393 PyObject * _argo0 = 0;
1394 char *_kwnames[] = { "self", NULL };
1395 char _ptemp[128];
1396
1397 self = self;
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1399 return NULL;
1400 if (_argo0) {
1401 if (_argo0 == Py_None) { _arg0 = NULL; }
1402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1404 return NULL;
1405 }
1406 }
1407{
4268f798 1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1409 _result = new wxColour (wxListItem_GetTextColour(_arg0));
f6bcfd97 1410
4268f798 1411 wxPyEndAllowThreads(__tstate);
493f1553 1412 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1413} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1414 _resultobj = Py_BuildValue("s",_ptemp);
1415 return _resultobj;
1416}
1417
1418#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1419static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject * _resultobj;
1421 wxColour * _result;
1422 wxListItem * _arg0;
1423 PyObject * _argo0 = 0;
1424 char *_kwnames[] = { "self", NULL };
1425 char _ptemp[128];
1426
1427 self = self;
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1429 return NULL;
1430 if (_argo0) {
1431 if (_argo0 == Py_None) { _arg0 = NULL; }
1432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1434 return NULL;
1435 }
1436 }
1437{
4268f798 1438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1439 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
f6bcfd97 1440
4268f798 1441 wxPyEndAllowThreads(__tstate);
493f1553 1442 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1444 _resultobj = Py_BuildValue("s",_ptemp);
1445 return _resultobj;
1446}
1447
1448#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1449static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject * _resultobj;
1451 wxFont * _result;
1452 wxListItem * _arg0;
1453 PyObject * _argo0 = 0;
1454 char *_kwnames[] = { "self", NULL };
1455 char _ptemp[128];
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1459 return NULL;
1460 if (_argo0) {
1461 if (_argo0 == Py_None) { _arg0 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1464 return NULL;
1465 }
1466 }
1467{
4268f798 1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1469 _result = new wxFont (wxListItem_GetFont(_arg0));
f6bcfd97 1470
4268f798 1471 wxPyEndAllowThreads(__tstate);
493f1553 1472 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1473} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1474 _resultobj = Py_BuildValue("s",_ptemp);
1475 return _resultobj;
1476}
1477
1478#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1479static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject * _resultobj;
1481 long _result;
1482 wxListItem * _arg0;
1483 long _arg1;
1484 PyObject * _argo0 = 0;
1485 char *_kwnames[] = { "self","m_mask", NULL };
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1489 return NULL;
1490 if (_argo0) {
1491 if (_argo0 == Py_None) { _arg0 = NULL; }
1492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1494 return NULL;
1495 }
1496 }
1497{
4268f798 1498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1499 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
f6bcfd97 1500
4268f798 1501 wxPyEndAllowThreads(__tstate);
493f1553 1502 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1503} _resultobj = Py_BuildValue("l",_result);
1504 return _resultobj;
1505}
1506
1507#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1508static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject * _resultobj;
1510 long _result;
1511 wxListItem * _arg0;
1512 PyObject * _argo0 = 0;
1513 char *_kwnames[] = { "self", NULL };
1514
1515 self = self;
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1517 return NULL;
1518 if (_argo0) {
1519 if (_argo0 == Py_None) { _arg0 = NULL; }
1520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1522 return NULL;
1523 }
1524 }
1525{
4268f798 1526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1527 _result = (long )wxListItem_m_mask_get(_arg0);
f6bcfd97 1528
4268f798 1529 wxPyEndAllowThreads(__tstate);
493f1553 1530 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1531} _resultobj = Py_BuildValue("l",_result);
1532 return _resultobj;
1533}
1534
1535#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1536static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1537 PyObject * _resultobj;
1538 long _result;
1539 wxListItem * _arg0;
1540 long _arg1;
1541 PyObject * _argo0 = 0;
1542 char *_kwnames[] = { "self","m_itemId", NULL };
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1546 return NULL;
1547 if (_argo0) {
1548 if (_argo0 == Py_None) { _arg0 = NULL; }
1549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1551 return NULL;
1552 }
1553 }
1554{
4268f798 1555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1556 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
f6bcfd97 1557
4268f798 1558 wxPyEndAllowThreads(__tstate);
493f1553 1559 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1560} _resultobj = Py_BuildValue("l",_result);
1561 return _resultobj;
1562}
1563
1564#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1565static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject * _resultobj;
1567 long _result;
1568 wxListItem * _arg0;
1569 PyObject * _argo0 = 0;
1570 char *_kwnames[] = { "self", NULL };
1571
1572 self = self;
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1574 return NULL;
1575 if (_argo0) {
1576 if (_argo0 == Py_None) { _arg0 = NULL; }
1577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1579 return NULL;
1580 }
1581 }
1582{
4268f798 1583 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1584 _result = (long )wxListItem_m_itemId_get(_arg0);
f6bcfd97 1585
4268f798 1586 wxPyEndAllowThreads(__tstate);
493f1553 1587 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1588} _resultobj = Py_BuildValue("l",_result);
1589 return _resultobj;
1590}
1591
1592#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1593static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1594 PyObject * _resultobj;
1595 int _result;
1596 wxListItem * _arg0;
1597 int _arg1;
1598 PyObject * _argo0 = 0;
1599 char *_kwnames[] = { "self","m_col", NULL };
1600
1601 self = self;
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1603 return NULL;
1604 if (_argo0) {
1605 if (_argo0 == Py_None) { _arg0 = NULL; }
1606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1608 return NULL;
1609 }
1610 }
1611{
4268f798 1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1613 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
f6bcfd97 1614
4268f798 1615 wxPyEndAllowThreads(__tstate);
493f1553 1616 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1617} _resultobj = Py_BuildValue("i",_result);
1618 return _resultobj;
1619}
1620
1621#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1622static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 int _result;
1625 wxListItem * _arg0;
1626 PyObject * _argo0 = 0;
1627 char *_kwnames[] = { "self", NULL };
1628
1629 self = self;
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1631 return NULL;
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1636 return NULL;
1637 }
1638 }
1639{
4268f798 1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1641 _result = (int )wxListItem_m_col_get(_arg0);
f6bcfd97 1642
4268f798 1643 wxPyEndAllowThreads(__tstate);
493f1553 1644 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1645} _resultobj = Py_BuildValue("i",_result);
1646 return _resultobj;
1647}
1648
1649#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1650static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject * _resultobj;
1652 long _result;
1653 wxListItem * _arg0;
1654 long _arg1;
1655 PyObject * _argo0 = 0;
1656 char *_kwnames[] = { "self","m_state", NULL };
1657
1658 self = self;
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1665 return NULL;
1666 }
1667 }
1668{
4268f798 1669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1670 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
f6bcfd97 1671
4268f798 1672 wxPyEndAllowThreads(__tstate);
493f1553 1673 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1674} _resultobj = Py_BuildValue("l",_result);
1675 return _resultobj;
1676}
1677
1678#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1679static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject * _resultobj;
1681 long _result;
1682 wxListItem * _arg0;
1683 PyObject * _argo0 = 0;
1684 char *_kwnames[] = { "self", NULL };
1685
1686 self = self;
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1688 return NULL;
1689 if (_argo0) {
1690 if (_argo0 == Py_None) { _arg0 = NULL; }
1691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1693 return NULL;
1694 }
1695 }
1696{
4268f798 1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1698 _result = (long )wxListItem_m_state_get(_arg0);
f6bcfd97 1699
4268f798 1700 wxPyEndAllowThreads(__tstate);
493f1553 1701 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1702} _resultobj = Py_BuildValue("l",_result);
1703 return _resultobj;
1704}
1705
1706#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1707static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject * _resultobj;
1709 long _result;
1710 wxListItem * _arg0;
1711 long _arg1;
1712 PyObject * _argo0 = 0;
1713 char *_kwnames[] = { "self","m_stateMask", NULL };
1714
1715 self = self;
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1717 return NULL;
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1722 return NULL;
1723 }
1724 }
1725{
4268f798 1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1727 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
f6bcfd97 1728
4268f798 1729 wxPyEndAllowThreads(__tstate);
493f1553 1730 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1731} _resultobj = Py_BuildValue("l",_result);
1732 return _resultobj;
1733}
1734
1735#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1736static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 long _result;
1739 wxListItem * _arg0;
1740 PyObject * _argo0 = 0;
1741 char *_kwnames[] = { "self", NULL };
1742
1743 self = self;
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1745 return NULL;
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1750 return NULL;
1751 }
1752 }
1753{
4268f798 1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1755 _result = (long )wxListItem_m_stateMask_get(_arg0);
f6bcfd97 1756
4268f798 1757 wxPyEndAllowThreads(__tstate);
493f1553 1758 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1759} _resultobj = Py_BuildValue("l",_result);
1760 return _resultobj;
1761}
1762
1763#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1764static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject * _resultobj;
1766 wxString * _result;
1767 wxListItem * _arg0;
1768 wxString * _arg1;
1769 PyObject * _argo0 = 0;
1770 PyObject * _obj1 = 0;
1771 char *_kwnames[] = { "self","m_text", NULL };
1772
1773 self = self;
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1775 return NULL;
1776 if (_argo0) {
1777 if (_argo0 == Py_None) { _arg0 = NULL; }
1778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1780 return NULL;
1781 }
1782 }
1783{
c8bc7bb8
RD
1784 _arg1 = wxString_in_helper(_obj1);
1785 if (_arg1 == NULL)
f6bcfd97 1786 return NULL;
f6bcfd97
BP
1787}
1788{
4268f798 1789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1790 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
f6bcfd97 1791
4268f798 1792 wxPyEndAllowThreads(__tstate);
493f1553 1793 if (PyErr_Occurred()) return NULL;
f6bcfd97 1794}{
c8bc7bb8 1795#if wxUSE_UNICODE
7e50db3f 1796 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 1797#else
f6bcfd97 1798 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1799#endif
f6bcfd97
BP
1800}
1801{
1802 if (_obj1)
1803 delete _arg1;
1804}
1805 return _resultobj;
1806}
1807
1808#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1809static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject * _resultobj;
1811 wxString * _result;
1812 wxListItem * _arg0;
1813 PyObject * _argo0 = 0;
1814 char *_kwnames[] = { "self", NULL };
1815
1816 self = self;
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1818 return NULL;
1819 if (_argo0) {
1820 if (_argo0 == Py_None) { _arg0 = NULL; }
1821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1823 return NULL;
1824 }
1825 }
1826{
4268f798 1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1828 _result = (wxString *)wxListItem_m_text_get(_arg0);
f6bcfd97 1829
4268f798 1830 wxPyEndAllowThreads(__tstate);
493f1553 1831 if (PyErr_Occurred()) return NULL;
f6bcfd97 1832}{
c8bc7bb8 1833#if wxUSE_UNICODE
7e50db3f 1834 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 1835#else
f6bcfd97 1836 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1837#endif
f6bcfd97
BP
1838}
1839 return _resultobj;
1840}
1841
1842#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1843static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 int _result;
1846 wxListItem * _arg0;
1847 int _arg1;
1848 PyObject * _argo0 = 0;
1849 char *_kwnames[] = { "self","m_image", NULL };
1850
1851 self = self;
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1853 return NULL;
1854 if (_argo0) {
1855 if (_argo0 == Py_None) { _arg0 = NULL; }
1856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1858 return NULL;
1859 }
1860 }
1861{
4268f798 1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1863 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
f6bcfd97 1864
4268f798 1865 wxPyEndAllowThreads(__tstate);
493f1553 1866 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1867} _resultobj = Py_BuildValue("i",_result);
1868 return _resultobj;
1869}
1870
1871#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1872static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject * _resultobj;
1874 int _result;
1875 wxListItem * _arg0;
1876 PyObject * _argo0 = 0;
1877 char *_kwnames[] = { "self", NULL };
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1881 return NULL;
1882 if (_argo0) {
1883 if (_argo0 == Py_None) { _arg0 = NULL; }
1884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1886 return NULL;
1887 }
1888 }
1889{
4268f798 1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1891 _result = (int )wxListItem_m_image_get(_arg0);
f6bcfd97 1892
4268f798 1893 wxPyEndAllowThreads(__tstate);
493f1553 1894 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1895} _resultobj = Py_BuildValue("i",_result);
1896 return _resultobj;
1897}
1898
1899#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1900static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject * _resultobj;
1902 long _result;
1903 wxListItem * _arg0;
1904 long _arg1;
1905 PyObject * _argo0 = 0;
1906 char *_kwnames[] = { "self","m_data", NULL };
1907
1908 self = self;
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1910 return NULL;
1911 if (_argo0) {
1912 if (_argo0 == Py_None) { _arg0 = NULL; }
1913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1915 return NULL;
1916 }
1917 }
1918{
4268f798 1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1920 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
f6bcfd97 1921
4268f798 1922 wxPyEndAllowThreads(__tstate);
493f1553 1923 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1924} _resultobj = Py_BuildValue("l",_result);
1925 return _resultobj;
1926}
1927
1928#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1929static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject * _resultobj;
1931 long _result;
1932 wxListItem * _arg0;
1933 PyObject * _argo0 = 0;
1934 char *_kwnames[] = { "self", NULL };
1935
1936 self = self;
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1938 return NULL;
1939 if (_argo0) {
1940 if (_argo0 == Py_None) { _arg0 = NULL; }
1941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1943 return NULL;
1944 }
1945 }
1946{
4268f798 1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1948 _result = (long )wxListItem_m_data_get(_arg0);
f6bcfd97 1949
4268f798 1950 wxPyEndAllowThreads(__tstate);
493f1553 1951 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1952} _resultobj = Py_BuildValue("l",_result);
1953 return _resultobj;
1954}
1955
1956#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1957static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject * _resultobj;
1959 int _result;
1960 wxListItem * _arg0;
1961 int _arg1;
1962 PyObject * _argo0 = 0;
1963 char *_kwnames[] = { "self","m_format", NULL };
1964
1965 self = self;
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
1967 return NULL;
1968 if (_argo0) {
1969 if (_argo0 == Py_None) { _arg0 = NULL; }
1970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1972 return NULL;
1973 }
1974 }
1975{
4268f798 1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1977 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
f6bcfd97 1978
4268f798 1979 wxPyEndAllowThreads(__tstate);
493f1553 1980 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1981} _resultobj = Py_BuildValue("i",_result);
1982 return _resultobj;
1983}
1984
1985#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1986static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject * _resultobj;
1988 int _result;
1989 wxListItem * _arg0;
1990 PyObject * _argo0 = 0;
1991 char *_kwnames[] = { "self", NULL };
1992
1993 self = self;
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
1995 return NULL;
1996 if (_argo0) {
1997 if (_argo0 == Py_None) { _arg0 = NULL; }
1998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2000 return NULL;
2001 }
2002 }
2003{
4268f798 2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2005 _result = (int )wxListItem_m_format_get(_arg0);
f6bcfd97 2006
4268f798 2007 wxPyEndAllowThreads(__tstate);
493f1553 2008 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2009} _resultobj = Py_BuildValue("i",_result);
2010 return _resultobj;
8ab979d7
RD
2011}
2012
f6bcfd97
BP
2013#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2014static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2015 PyObject * _resultobj;
f6bcfd97 2016 int _result;
af309447 2017 wxListItem * _arg0;
f6bcfd97 2018 int _arg1;
1d99702e 2019 PyObject * _argo0 = 0;
f6bcfd97 2020 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2021
2022 self = self;
f6bcfd97 2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2024 return NULL;
1d99702e
RD
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2029 return NULL;
2030 }
2031 }
cf694132 2032{
4268f798 2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2034 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2035
4268f798 2036 wxPyEndAllowThreads(__tstate);
493f1553 2037 if (PyErr_Occurred()) return NULL;
f6bcfd97 2038} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2039 return _resultobj;
2040}
2041
f6bcfd97
BP
2042#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2043static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2044 PyObject * _resultobj;
f6bcfd97 2045 int _result;
8ab979d7 2046 wxListItem * _arg0;
1d99702e 2047 PyObject * _argo0 = 0;
efc5f224 2048 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2049
2050 self = self;
f6bcfd97 2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2052 return NULL;
1d99702e
RD
2053 if (_argo0) {
2054 if (_argo0 == Py_None) { _arg0 = NULL; }
2055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97
BP
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2057 return NULL;
2058 }
2059 }
2060{
4268f798 2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2062 _result = (int )wxListItem_m_width_get(_arg0);
f6bcfd97 2063
4268f798 2064 wxPyEndAllowThreads(__tstate);
493f1553 2065 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2066} _resultobj = Py_BuildValue("i",_result);
2067 return _resultobj;
2068}
2069
c368d904
RD
2070static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2071 wxListEvent *src;
2072 wxNotifyEvent *dest;
2073 src = (wxListEvent *) ptr;
2074 dest = (wxNotifyEvent *) src;
2075 return (void *) dest;
2076}
2077
f6bcfd97
BP
2078static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2079 wxListEvent *src;
2080 wxCommandEvent *dest;
2081 src = (wxListEvent *) ptr;
2082 dest = (wxCommandEvent *) src;
2083 return (void *) dest;
2084}
2085
2086static void *SwigwxListEventTowxEvent(void *ptr) {
2087 wxListEvent *src;
2088 wxEvent *dest;
2089 src = (wxListEvent *) ptr;
2090 dest = (wxEvent *) src;
2091 return (void *) dest;
2092}
2093
9416aa89
RD
2094static void *SwigwxListEventTowxObject(void *ptr) {
2095 wxListEvent *src;
2096 wxObject *dest;
2097 src = (wxListEvent *) ptr;
2098 dest = (wxObject *) src;
2099 return (void *) dest;
2100}
2101
6d19860f
RD
2102#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2103static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject * _resultobj;
2105 wxListEvent * _result;
2106 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2107 int _arg1 = (int ) 0;
2108 char *_kwnames[] = { "commandType","id", NULL };
2109 char _ptemp[128];
2110
2111 self = self;
2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2113 return NULL;
2114{
4268f798 2115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2116 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
6d19860f 2117
4268f798 2118 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2119 if (PyErr_Occurred()) return NULL;
2120} if (_result) {
2121 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2122 _resultobj = Py_BuildValue("s",_ptemp);
2123 } else {
2124 Py_INCREF(Py_None);
2125 _resultobj = Py_None;
2126 }
2127 return _resultobj;
2128}
2129
f6bcfd97
BP
2130#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2131static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2132 PyObject * _resultobj;
2133 int _result;
2134 wxListEvent * _arg0;
2135 PyObject * _argo0 = 0;
2136 char *_kwnames[] = { "self", NULL };
2137
2138 self = self;
2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2140 return NULL;
2141 if (_argo0) {
2142 if (_argo0 == Py_None) { _arg0 = NULL; }
2143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2145 return NULL;
2146 }
2147 }
2148{
4268f798 2149 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2150 _result = (int )wxListEvent_m_code_get(_arg0);
f6bcfd97 2151
4268f798 2152 wxPyEndAllowThreads(__tstate);
493f1553 2153 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2154} _resultobj = Py_BuildValue("i",_result);
2155 return _resultobj;
2156}
2157
ebf4302c
RD
2158#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2159static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2160 PyObject * _resultobj;
2161 long _result;
2162 wxListEvent * _arg0;
2163 PyObject * _argo0 = 0;
2164 char *_kwnames[] = { "self", NULL };
2165
2166 self = self;
ebf4302c 2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
f6bcfd97
BP
2168 return NULL;
2169 if (_argo0) {
2170 if (_argo0 == Py_None) { _arg0 = NULL; }
2171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
f6bcfd97
BP
2173 return NULL;
2174 }
2175 }
2176{
4268f798 2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2178 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
f6bcfd97 2179
4268f798 2180 wxPyEndAllowThreads(__tstate);
493f1553 2181 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2182} _resultobj = Py_BuildValue("l",_result);
2183 return _resultobj;
2184}
2185
ebf4302c
RD
2186#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2187static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2188 PyObject * _resultobj;
ebf4302c 2189 long _result;
f6bcfd97 2190 wxListEvent * _arg0;
1d99702e 2191 PyObject * _argo0 = 0;
f6bcfd97 2192 char *_kwnames[] = { "self", NULL };
af309447
RD
2193
2194 self = self;
ebf4302c 2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
af309447 2196 return NULL;
1d99702e
RD
2197 if (_argo0) {
2198 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
af309447
RD
2201 return NULL;
2202 }
2203 }
cf694132 2204{
4268f798 2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2206 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2207
4268f798 2208 wxPyEndAllowThreads(__tstate);
493f1553 2209 if (PyErr_Occurred()) return NULL;
ebf4302c 2210} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2211 return _resultobj;
2212}
2213
ebf4302c
RD
2214#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2215static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2216 PyObject * _resultobj;
ebf4302c 2217 int _result;
f6bcfd97 2218 wxListEvent * _arg0;
1d99702e 2219 PyObject * _argo0 = 0;
f6bcfd97 2220 char *_kwnames[] = { "self", NULL };
af309447
RD
2221
2222 self = self;
ebf4302c 2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
af309447 2224 return NULL;
1d99702e
RD
2225 if (_argo0) {
2226 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
af309447
RD
2229 return NULL;
2230 }
2231 }
cf694132 2232{
4268f798 2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2234 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2235
4268f798 2236 wxPyEndAllowThreads(__tstate);
493f1553 2237 if (PyErr_Occurred()) return NULL;
cf694132 2238} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2239 return _resultobj;
2240}
2241
f6bcfd97
BP
2242#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2243static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2244 PyObject * _resultobj;
f6bcfd97
BP
2245 wxPoint * _result;
2246 wxListEvent * _arg0;
2247 PyObject * _argo0 = 0;
2248 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2249 char _ptemp[128];
2250
2251 self = self;
f6bcfd97
BP
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2253 return NULL;
2254 if (_argo0) {
2255 if (_argo0 == Py_None) { _arg0 = NULL; }
2256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7 2258 return NULL;
f6bcfd97
BP
2259 }
2260 }
cf694132 2261{
4268f798 2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2263 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2264
4268f798 2265 wxPyEndAllowThreads(__tstate);
493f1553 2266 if (PyErr_Occurred()) return NULL;
1d99702e 2267} if (_result) {
f6bcfd97 2268 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2269 _resultobj = Py_BuildValue("s",_ptemp);
2270 } else {
2271 Py_INCREF(Py_None);
2272 _resultobj = Py_None;
2273 }
8ab979d7
RD
2274 return _resultobj;
2275}
2276
f6bcfd97
BP
2277#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2278static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2279 PyObject * _resultobj;
f6bcfd97 2280 wxListItem * _result;
af309447 2281 wxListEvent * _arg0;
1d99702e 2282 PyObject * _argo0 = 0;
f6bcfd97 2283 char *_kwnames[] = { "self", NULL };
af309447
RD
2284
2285 self = self;
f6bcfd97 2286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2287 return NULL;
1d99702e
RD
2288 if (_argo0) {
2289 if (_argo0 == Py_None) { _arg0 = NULL; }
2290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2292 return NULL;
2293 }
2294 }
cf694132 2295{
4268f798 2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2297 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2298
4268f798 2299 wxPyEndAllowThreads(__tstate);
493f1553 2300 if (PyErr_Occurred()) return NULL;
9416aa89 2301}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2302 return _resultobj;
2303}
2304
64c06a50
RD
2305#define wxListEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2306static PyObject *_wrap_wxListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2307 PyObject * _resultobj;
2308 int _result;
2309 wxListEvent * _arg0;
1d99702e 2310 PyObject * _argo0 = 0;
efc5f224 2311 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2312
2313 self = self;
64c06a50 2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetKeyCode",_kwnames,&_argo0))
8ab979d7 2315 return NULL;
1d99702e
RD
2316 if (_argo0) {
2317 if (_argo0 == Py_None) { _arg0 = NULL; }
2318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
64c06a50 2319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetKeyCode. Expected _wxListEvent_p.");
8ab979d7
RD
2320 return NULL;
2321 }
2322 }
cf694132 2323{
4268f798 2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
64c06a50 2325 _result = (int )wxListEvent_GetKeyCode(_arg0);
cf694132 2326
4268f798 2327 wxPyEndAllowThreads(__tstate);
493f1553 2328 if (PyErr_Occurred()) return NULL;
cf694132 2329} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2330 return _resultobj;
2331}
2332
f6bcfd97
BP
2333#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2334static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2335 PyObject * _resultobj;
2336 long _result;
2337 wxListEvent * _arg0;
1d99702e 2338 PyObject * _argo0 = 0;
f6bcfd97 2339 char *_kwnames[] = { "self", NULL };
af309447
RD
2340
2341 self = self;
f6bcfd97 2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2343 return NULL;
1d99702e
RD
2344 if (_argo0) {
2345 if (_argo0 == Py_None) { _arg0 = NULL; }
2346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2348 return NULL;
2349 }
2350 }
cf694132 2351{
4268f798 2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2353 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2354
4268f798 2355 wxPyEndAllowThreads(__tstate);
493f1553 2356 if (PyErr_Occurred()) return NULL;
cf694132 2357} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2358 return _resultobj;
2359}
2360
f6bcfd97
BP
2361#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2362static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2363 PyObject * _resultobj;
f6bcfd97 2364 int _result;
8ab979d7 2365 wxListEvent * _arg0;
1d99702e 2366 PyObject * _argo0 = 0;
efc5f224 2367 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2368
2369 self = self;
f6bcfd97 2370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2371 return NULL;
1d99702e
RD
2372 if (_argo0) {
2373 if (_argo0 == Py_None) { _arg0 = NULL; }
2374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2376 return NULL;
2377 }
2378 }
cf694132 2379{
4268f798 2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2381 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2382
4268f798 2383 wxPyEndAllowThreads(__tstate);
493f1553 2384 if (PyErr_Occurred()) return NULL;
f6bcfd97 2385} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2386 return _resultobj;
2387}
2388
f6bcfd97
BP
2389#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2390static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2391 PyObject * _resultobj;
f6bcfd97 2392 wxPoint * _result;
8ab979d7 2393 wxListEvent * _arg0;
1d99702e 2394 PyObject * _argo0 = 0;
efc5f224 2395 char *_kwnames[] = { "self", NULL };
f6bcfd97 2396 char _ptemp[128];
8ab979d7
RD
2397
2398 self = self;
f6bcfd97 2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2400 return NULL;
1d99702e
RD
2401 if (_argo0) {
2402 if (_argo0 == Py_None) { _arg0 = NULL; }
2403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2405 return NULL;
2406 }
2407 }
cf694132 2408{
4268f798 2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2410 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2411
4268f798 2412 wxPyEndAllowThreads(__tstate);
493f1553 2413 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2414} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2415 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2416 return _resultobj;
2417}
2418
f6bcfd97
BP
2419#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2420static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2421 PyObject * _resultobj;
f6bcfd97 2422 wxString * _result;
af309447 2423 wxListEvent * _arg0;
1d99702e 2424 PyObject * _argo0 = 0;
f6bcfd97 2425 char *_kwnames[] = { "self", NULL };
af309447
RD
2426
2427 self = self;
f6bcfd97 2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2429 return NULL;
1d99702e
RD
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2434 return NULL;
2435 }
2436 }
cf694132 2437{
4268f798 2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2439 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2440 _result = (wxString *) &_result_ref;
cf694132 2441
4268f798 2442 wxPyEndAllowThreads(__tstate);
493f1553 2443 if (PyErr_Occurred()) return NULL;
f6bcfd97 2444}{
c8bc7bb8 2445#if wxUSE_UNICODE
7e50db3f 2446 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 2447#else
f6bcfd97 2448 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2449#endif
f6bcfd97 2450}
af309447
RD
2451 return _resultobj;
2452}
2453
f6bcfd97
BP
2454#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2455static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2456 PyObject * _resultobj;
f6bcfd97 2457 wxString * _result;
8ab979d7 2458 wxListEvent * _arg0;
1d99702e 2459 PyObject * _argo0 = 0;
efc5f224 2460 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2461
2462 self = self;
f6bcfd97 2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2464 return NULL;
1d99702e
RD
2465 if (_argo0) {
2466 if (_argo0 == Py_None) { _arg0 = NULL; }
2467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2469 return NULL;
2470 }
2471 }
cf694132 2472{
4268f798 2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2474 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2475 _result = (wxString *) &_result_ref;
cf694132 2476
4268f798 2477 wxPyEndAllowThreads(__tstate);
493f1553 2478 if (PyErr_Occurred()) return NULL;
f6bcfd97 2479}{
c8bc7bb8 2480#if wxUSE_UNICODE
7e50db3f 2481 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 2482#else
f6bcfd97 2483 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2484#endif
f6bcfd97 2485}
8ab979d7
RD
2486 return _resultobj;
2487}
2488
f6bcfd97
BP
2489#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2490static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2491 PyObject * _resultobj;
f6bcfd97 2492 int _result;
af309447 2493 wxListEvent * _arg0;
1d99702e 2494 PyObject * _argo0 = 0;
f6bcfd97 2495 char *_kwnames[] = { "self", NULL };
af309447
RD
2496
2497 self = self;
f6bcfd97 2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2499 return NULL;
1d99702e
RD
2500 if (_argo0) {
2501 if (_argo0 == Py_None) { _arg0 = NULL; }
2502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2504 return NULL;
2505 }
2506 }
cf694132 2507{
4268f798 2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2509 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2510
4268f798 2511 wxPyEndAllowThreads(__tstate);
493f1553 2512 if (PyErr_Occurred()) return NULL;
f6bcfd97 2513} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2514 return _resultobj;
2515}
2516
f6bcfd97
BP
2517#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2518static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2519 PyObject * _resultobj;
f6bcfd97 2520 long _result;
8ab979d7 2521 wxListEvent * _arg0;
1d99702e 2522 PyObject * _argo0 = 0;
efc5f224 2523 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2524
2525 self = self;
f6bcfd97 2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2527 return NULL;
1d99702e
RD
2528 if (_argo0) {
2529 if (_argo0 == Py_None) { _arg0 = NULL; }
2530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2532 return NULL;
2533 }
2534 }
cf694132 2535{
4268f798 2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2537 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2538
4268f798 2539 wxPyEndAllowThreads(__tstate);
493f1553 2540 if (PyErr_Occurred()) return NULL;
f6bcfd97 2541} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2542 return _resultobj;
2543}
2544
f6bcfd97
BP
2545#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2546static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2547 PyObject * _resultobj;
f6bcfd97 2548 long _result;
af309447 2549 wxListEvent * _arg0;
1d99702e 2550 PyObject * _argo0 = 0;
f6bcfd97 2551 char *_kwnames[] = { "self", NULL };
af309447
RD
2552
2553 self = self;
f6bcfd97 2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2555 return NULL;
1d99702e
RD
2556 if (_argo0) {
2557 if (_argo0 == Py_None) { _arg0 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2560 return NULL;
2561 }
2562 }
cf694132 2563{
4268f798 2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2565 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2566
4268f798 2567 wxPyEndAllowThreads(__tstate);
493f1553 2568 if (PyErr_Occurred()) return NULL;
f6bcfd97 2569} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2570 return _resultobj;
2571}
2572
f6bcfd97
BP
2573#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2574static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2575 PyObject * _resultobj;
2576 wxListItem * _result;
2577 wxListEvent * _arg0;
1d99702e 2578 PyObject * _argo0 = 0;
efc5f224 2579 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2580
2581 self = self;
f6bcfd97 2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2583 return NULL;
1d99702e
RD
2584 if (_argo0) {
2585 if (_argo0 == Py_None) { _arg0 = NULL; }
2586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2588 return NULL;
2589 }
2590 }
cf694132 2591{
4268f798 2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2593 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2594 _result = (wxListItem *) &_result_ref;
cf694132 2595
4268f798 2596 wxPyEndAllowThreads(__tstate);
493f1553 2597 if (PyErr_Occurred()) return NULL;
9416aa89 2598}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2599 return _resultobj;
2600}
2601
6d19860f
RD
2602#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2603static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject * _resultobj;
2605 long _result;
2606 wxListEvent * _arg0;
2607 PyObject * _argo0 = 0;
2608 char *_kwnames[] = { "self", NULL };
2609
2610 self = self;
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2612 return NULL;
2613 if (_argo0) {
2614 if (_argo0 == Py_None) { _arg0 = NULL; }
2615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2617 return NULL;
2618 }
2619 }
2620{
4268f798 2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2622 _result = (long )wxListEvent_GetCacheFrom(_arg0);
6d19860f 2623
4268f798 2624 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2625 if (PyErr_Occurred()) return NULL;
2626} _resultobj = Py_BuildValue("l",_result);
2627 return _resultobj;
2628}
2629
2630#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2631static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject * _resultobj;
2633 long _result;
2634 wxListEvent * _arg0;
2635 PyObject * _argo0 = 0;
2636 char *_kwnames[] = { "self", NULL };
2637
2638 self = self;
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2640 return NULL;
2641 if (_argo0) {
2642 if (_argo0 == Py_None) { _arg0 = NULL; }
2643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2645 return NULL;
2646 }
2647 }
2648{
4268f798 2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2650 _result = (long )wxListEvent_GetCacheTo(_arg0);
6d19860f 2651
4268f798 2652 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2653 if (PyErr_Occurred()) return NULL;
2654} _resultobj = Py_BuildValue("l",_result);
2655 return _resultobj;
2656}
2657
c7e7022c
RD
2658static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2659 wxPyListCtrl *src;
8ab979d7 2660 wxControl *dest;
c7e7022c 2661 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2662 dest = (wxControl *) src;
2663 return (void *) dest;
2664}
2665
c7e7022c
RD
2666static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2667 wxPyListCtrl *src;
8ab979d7 2668 wxWindow *dest;
c7e7022c 2669 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2670 dest = (wxWindow *) src;
2671 return (void *) dest;
2672}
2673
c7e7022c
RD
2674static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2675 wxPyListCtrl *src;
8ab979d7 2676 wxEvtHandler *dest;
c7e7022c 2677 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2678 dest = (wxEvtHandler *) src;
2679 return (void *) dest;
2680}
2681
c7e7022c
RD
2682static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2683 wxPyListCtrl *src;
9416aa89 2684 wxObject *dest;
c7e7022c 2685 src = (wxPyListCtrl *) ptr;
9416aa89
RD
2686 dest = (wxObject *) src;
2687 return (void *) dest;
2688}
2689
c7e7022c 2690#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2691static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2692 PyObject * _resultobj;
c7e7022c 2693 wxPyListCtrl * _result;
8ab979d7 2694 wxWindow * _arg0;
c7e7022c 2695 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
2696 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2697 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
0adbc166 2698 long _arg4 = (long ) (wxLC_ICON);
e508a2b6 2699 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 2700 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
1d99702e 2701 PyObject * _argo0 = 0;
2f90df85
RD
2702 wxPoint temp;
2703 PyObject * _obj2 = 0;
2704 wxSize temp0;
2705 PyObject * _obj3 = 0;
1d99702e 2706 PyObject * _argo5 = 0;
137b5242 2707 PyObject * _obj6 = 0;
efc5f224 2708 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2709 char _ptemp[128];
2710
2711 self = self;
137b5242 2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 2713 return NULL;
1d99702e
RD
2714 if (_argo0) {
2715 if (_argo0 == Py_None) { _arg0 = NULL; }
2716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2718 return NULL;
2719 }
2720 }
2f90df85
RD
2721 if (_obj2)
2722{
2723 _arg2 = &temp;
2724 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2725 return NULL;
2f90df85
RD
2726}
2727 if (_obj3)
2728{
2729 _arg3 = &temp0;
2730 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2731 return NULL;
2f90df85 2732}
1d99702e 2733 if (_argo5) {
7e50db3f 2734 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2735 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2736 return NULL;
2737 }
2738 }
137b5242
RD
2739 if (_obj6)
2740{
2741 _arg6 = wxString_in_helper(_obj6);
2742 if (_arg6 == NULL)
2743 return NULL;
2744}
cf694132 2745{
4268f798 2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2747 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 2748
4268f798 2749 wxPyEndAllowThreads(__tstate);
493f1553 2750 if (PyErr_Occurred()) return NULL;
1d99702e 2751} if (_result) {
c7e7022c 2752 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2753 _resultobj = Py_BuildValue("s",_ptemp);
2754 } else {
2755 Py_INCREF(Py_None);
2756 _resultobj = Py_None;
2757 }
137b5242
RD
2758{
2759 if (_obj6)
2760 delete _arg6;
2761}
8ab979d7
RD
2762 return _resultobj;
2763}
2764
09f3d4e6
RD
2765#define new_wxPreListCtrl() (new wxPyListCtrl())
2766static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject * _resultobj;
2768 wxPyListCtrl * _result;
2769 char *_kwnames[] = { NULL };
2770 char _ptemp[128];
2771
2772 self = self;
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2774 return NULL;
2775{
4268f798 2776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2777 _result = (wxPyListCtrl *)new_wxPreListCtrl();
09f3d4e6 2778
4268f798 2779 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2780 if (PyErr_Occurred()) return NULL;
2781} if (_result) {
2782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
2783 _resultobj = Py_BuildValue("s",_ptemp);
2784 } else {
2785 Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 }
2788 return _resultobj;
2789}
2790
2791#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2792static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject * _resultobj;
2794 bool _result;
2795 wxPyListCtrl * _arg0;
2796 wxWindow * _arg1;
2797 wxWindowID _arg2 = (wxWindowID ) -1;
2798 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2799 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2800 long _arg5 = (long ) (wxLC_ICON);
2801 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 2802 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
09f3d4e6
RD
2803 PyObject * _argo0 = 0;
2804 PyObject * _argo1 = 0;
2805 wxPoint temp;
2806 PyObject * _obj3 = 0;
2807 wxSize temp0;
2808 PyObject * _obj4 = 0;
2809 PyObject * _argo6 = 0;
137b5242 2810 PyObject * _obj7 = 0;
09f3d4e6
RD
2811 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
2812
2813 self = self;
137b5242 2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
2815 return NULL;
2816 if (_argo0) {
2817 if (_argo0 == Py_None) { _arg0 = NULL; }
2818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2820 return NULL;
2821 }
2822 }
2823 if (_argo1) {
2824 if (_argo1 == Py_None) { _arg1 = NULL; }
2825 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2826 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2827 return NULL;
2828 }
2829 }
2830 if (_obj3)
2831{
2832 _arg3 = &temp;
2833 if (! wxPoint_helper(_obj3, &_arg3))
2834 return NULL;
2835}
2836 if (_obj4)
2837{
2838 _arg4 = &temp0;
2839 if (! wxSize_helper(_obj4, &_arg4))
2840 return NULL;
2841}
2842 if (_argo6) {
7e50db3f 2843 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
09f3d4e6
RD
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2845 return NULL;
2846 }
2847 }
137b5242
RD
2848 if (_obj7)
2849{
2850 _arg7 = wxString_in_helper(_obj7);
2851 if (_arg7 == NULL)
2852 return NULL;
2853}
09f3d4e6 2854{
4268f798 2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2856 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 2857
4268f798 2858 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2859 if (PyErr_Occurred()) return NULL;
2860} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
2861{
2862 if (_obj7)
2863 delete _arg7;
2864}
09f3d4e6
RD
2865 return _resultobj;
2866}
2867
0122b7e3
RD
2868#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2869static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2870 PyObject * _resultobj;
c7e7022c
RD
2871 wxPyListCtrl * _arg0;
2872 PyObject * _arg1;
2873 PyObject * _arg2;
1d99702e 2874 PyObject * _argo0 = 0;
c7e7022c
RD
2875 PyObject * _obj1 = 0;
2876 PyObject * _obj2 = 0;
2877 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
2878
2879 self = self;
0122b7e3 2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 2881 return NULL;
1d99702e
RD
2882 if (_argo0) {
2883 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c 2884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0122b7e3 2885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2886 return NULL;
2887 }
2888 }
c7e7022c
RD
2889{
2890 _arg1 = _obj1;
2891}
2892{
2893 _arg2 = _obj2;
2894}
cf694132 2895{
4268f798 2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2897 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 2898
4268f798 2899 wxPyEndAllowThreads(__tstate);
493f1553 2900 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
2901} Py_INCREF(Py_None);
2902 _resultobj = Py_None;
8ab979d7
RD
2903 return _resultobj;
2904}
2905
c7e7022c
RD
2906#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2907static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1b62f00d 2908 PyObject * _resultobj;
c7e7022c
RD
2909 bool _result;
2910 wxPyListCtrl * _arg0;
2911 wxColour * _arg1;
1b62f00d 2912 PyObject * _argo0 = 0;
c7e7022c
RD
2913 wxColour temp;
2914 PyObject * _obj1 = 0;
2915 char *_kwnames[] = { "self","col", NULL };
1b62f00d
RD
2916
2917 self = self;
c7e7022c 2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1b62f00d
RD
2919 return NULL;
2920 if (_argo0) {
2921 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
1b62f00d
RD
2924 return NULL;
2925 }
2926 }
c7e7022c
RD
2927{
2928 _arg1 = &temp;
2929 if (! wxColour_helper(_obj1, &_arg1))
1b62f00d 2930 return NULL;
c7e7022c 2931}
1b62f00d 2932{
4268f798 2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2934 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
1b62f00d 2935
4268f798 2936 wxPyEndAllowThreads(__tstate);
493f1553 2937 if (PyErr_Occurred()) return NULL;
c7e7022c 2938} _resultobj = Py_BuildValue("i",_result);
1b62f00d
RD
2939 return _resultobj;
2940}
2941
c7e7022c
RD
2942#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2943static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2944 PyObject * _resultobj;
2945 bool _result;
c7e7022c
RD
2946 wxPyListCtrl * _arg0;
2947 wxColour * _arg1;
1d99702e 2948 PyObject * _argo0 = 0;
c7e7022c
RD
2949 wxColour temp;
2950 PyObject * _obj1 = 0;
2951 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
2952
2953 self = self;
c7e7022c 2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 2955 return NULL;
1d99702e
RD
2956 if (_argo0) {
2957 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2960 return NULL;
2961 }
2962 }
c7e7022c
RD
2963{
2964 _arg1 = &temp;
2965 if (! wxColour_helper(_obj1, &_arg1))
2966 return NULL;
2967}
cf694132 2968{
4268f798 2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2970 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
cf694132 2971
4268f798 2972 wxPyEndAllowThreads(__tstate);
493f1553 2973 if (PyErr_Occurred()) return NULL;
cf694132 2974} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2975 return _resultobj;
2976}
2977
14afa2cb
RD
2978static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
2979 wxListItem item;
be13a6af 2980 item.SetMask(0xFFFF);
14afa2cb
RD
2981 if (self->GetColumn(col, item))
2982 return new wxListItem(item);
2983 else
2984 return NULL;
2985 }
c7e7022c 2986static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2987 PyObject * _resultobj;
14afa2cb 2988 wxListItem * _result;
c7e7022c
RD
2989 wxPyListCtrl * _arg0;
2990 int _arg1;
1d99702e 2991 PyObject * _argo0 = 0;
14afa2cb 2992 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
2993
2994 self = self;
14afa2cb 2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 2996 return NULL;
1d99702e
RD
2997 if (_argo0) {
2998 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3001 return NULL;
3002 }
3003 }
cf694132 3004{
4268f798 3005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3006 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3007
4268f798 3008 wxPyEndAllowThreads(__tstate);
493f1553 3009 if (PyErr_Occurred()) return NULL;
14afa2cb 3010}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3011 return _resultobj;
3012}
3013
c7e7022c
RD
3014#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3015static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3016 PyObject * _resultobj;
3017 bool _result;
c7e7022c 3018 wxPyListCtrl * _arg0;
8ab979d7 3019 int _arg1;
c7e7022c 3020 wxListItem * _arg2;
1d99702e 3021 PyObject * _argo0 = 0;
c7e7022c
RD
3022 PyObject * _argo2 = 0;
3023 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3024
3025 self = self;
c7e7022c 3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3027 return NULL;
1d99702e
RD
3028 if (_argo0) {
3029 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3032 return NULL;
3033 }
3034 }
3035 if (_argo2) {
7e50db3f 3036 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
c7e7022c 3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3038 return NULL;
3039 }
3040 }
cf694132 3041{
4268f798 3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3043 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3044
4268f798 3045 wxPyEndAllowThreads(__tstate);
493f1553 3046 if (PyErr_Occurred()) return NULL;
cf694132 3047} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3048 return _resultobj;
3049}
3050
c7e7022c
RD
3051#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3052static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3053 PyObject * _resultobj;
c7e7022c
RD
3054 int _result;
3055 wxPyListCtrl * _arg0;
3056 int _arg1;
1d99702e 3057 PyObject * _argo0 = 0;
c7e7022c 3058 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3059
3060 self = self;
c7e7022c 3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3062 return NULL;
1d99702e
RD
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3067 return NULL;
3068 }
3069 }
cf694132 3070{
4268f798 3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3072 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3073
4268f798 3074 wxPyEndAllowThreads(__tstate);
493f1553 3075 if (PyErr_Occurred()) return NULL;
cf694132 3076} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3077 return _resultobj;
3078}
3079
c7e7022c
RD
3080#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3081static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3082 PyObject * _resultobj;
c7e7022c
RD
3083 bool _result;
3084 wxPyListCtrl * _arg0;
3085 int _arg1;
3086 int _arg2;
1d99702e 3087 PyObject * _argo0 = 0;
c7e7022c 3088 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3089
3090 self = self;
c7e7022c 3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3092 return NULL;
1d99702e
RD
3093 if (_argo0) {
3094 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3097 return NULL;
3098 }
3099 }
cf694132 3100{
4268f798 3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3102 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3103
4268f798 3104 wxPyEndAllowThreads(__tstate);
493f1553 3105 if (PyErr_Occurred()) return NULL;
c7e7022c 3106} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3107 return _resultobj;
3108}
3109
c7e7022c
RD
3110#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3111static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3112 PyObject * _resultobj;
c7e7022c
RD
3113 int _result;
3114 wxPyListCtrl * _arg0;
1d99702e 3115 PyObject * _argo0 = 0;
c7e7022c 3116 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3117
3118 self = self;
c7e7022c 3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3120 return NULL;
1d99702e
RD
3121 if (_argo0) {
3122 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3125 return NULL;
3126 }
3127 }
cf694132 3128{
4268f798 3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3130 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3131
4268f798 3132 wxPyEndAllowThreads(__tstate);
493f1553 3133 if (PyErr_Occurred()) return NULL;
c7e7022c 3134} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3135 return _resultobj;
3136}
3137
c7e7022c
RD
3138#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3139static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3140 PyObject * _resultobj;
c7e7022c
RD
3141 wxTextCtrl * _result;
3142 wxPyListCtrl * _arg0;
1d99702e 3143 PyObject * _argo0 = 0;
c7e7022c 3144 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3145
3146 self = self;
c7e7022c 3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
8ab979d7 3148 return NULL;
1d99702e
RD
3149 if (_argo0) {
3150 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3153 return NULL;
3154 }
3155 }
cf694132 3156{
4268f798 3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3158 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
cf694132 3159
4268f798 3160 wxPyEndAllowThreads(__tstate);
493f1553 3161 if (PyErr_Occurred()) return NULL;
c7e7022c 3162}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3163 return _resultobj;
3164}
3165
c7e7022c
RD
3166static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3167 wxListItem* info = new wxListItem;
3168 info->m_itemId = itemId;
3169 info->m_col = col;
3170 info->m_mask = 0xFFFF;
3171 self->GetItem(*info);
3172 return info;
3173 }
3174static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3175 PyObject * _resultobj;
c7e7022c
RD
3176 wxListItem * _result;
3177 wxPyListCtrl * _arg0;
3178 long _arg1;
3179 int _arg2 = (int ) 0;
1d99702e 3180 PyObject * _argo0 = 0;
c7e7022c 3181 char *_kwnames[] = { "self","itemId","col", NULL };
be4d9c1f
RD
3182
3183 self = self;
c7e7022c 3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
be4d9c1f 3185 return NULL;
1d99702e
RD
3186 if (_argo0) {
3187 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3190 return NULL;
3191 }
3192 }
cf694132 3193{
4268f798 3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3195 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3196
4268f798 3197 wxPyEndAllowThreads(__tstate);
493f1553 3198 if (PyErr_Occurred()) return NULL;
9416aa89 3199}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3200 return _resultobj;
3201}
3202
c7e7022c
RD
3203#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3204static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3205 PyObject * _resultobj;
3206 bool _result;
c7e7022c
RD
3207 wxPyListCtrl * _arg0;
3208 wxListItem * _arg1;
1d99702e 3209 PyObject * _argo0 = 0;
c7e7022c
RD
3210 PyObject * _argo1 = 0;
3211 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3212
3213 self = self;
c7e7022c 3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3215 return NULL;
1d99702e
RD
3216 if (_argo0) {
3217 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3220 return NULL;
3221 }
3222 }
3223 if (_argo1) {
7e50db3f 3224 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
c7e7022c 3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3226 return NULL;
3227 }
3228 }
cf694132 3229{
4268f798 3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3231 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3232
4268f798 3233 wxPyEndAllowThreads(__tstate);
493f1553 3234 if (PyErr_Occurred()) return NULL;
cf694132 3235} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3236 return _resultobj;
3237}
3238
c7e7022c
RD
3239#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3240static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3241 PyObject * _resultobj;
3242 long _result;
c7e7022c 3243 wxPyListCtrl * _arg0;
8ab979d7 3244 long _arg1;
c7e7022c
RD
3245 int _arg2;
3246 wxString * _arg3;
3247 int _arg4 = (int ) -1;
1d99702e 3248 PyObject * _argo0 = 0;
c7e7022c
RD
3249 PyObject * _obj3 = 0;
3250 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3251
3252 self = self;
c7e7022c 3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3254 return NULL;
1d99702e
RD
3255 if (_argo0) {
3256 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3259 return NULL;
3260 }
3261 }
3262{
c8bc7bb8
RD
3263 _arg3 = wxString_in_helper(_obj3);
3264 if (_arg3 == NULL)
185d7c3e 3265 return NULL;
8ab979d7 3266}
cf694132 3267{
4268f798 3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3269 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3270
4268f798 3271 wxPyEndAllowThreads(__tstate);
493f1553 3272 if (PyErr_Occurred()) return NULL;
cf694132 3273} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3274{
c7e7022c
RD
3275 if (_obj3)
3276 delete _arg3;
8ab979d7
RD
3277}
3278 return _resultobj;
3279}
3280
c7e7022c
RD
3281#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3282static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3283 PyObject * _resultobj;
c7e7022c
RD
3284 int _result;
3285 wxPyListCtrl * _arg0;
8ab979d7
RD
3286 long _arg1;
3287 long _arg2;
1d99702e 3288 PyObject * _argo0 = 0;
c7e7022c 3289 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3290
3291 self = self;
c7e7022c 3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3293 return NULL;
1d99702e
RD
3294 if (_argo0) {
3295 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3298 return NULL;
3299 }
3300 }
cf694132 3301{
4268f798 3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3303 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3304
4268f798 3305 wxPyEndAllowThreads(__tstate);
493f1553 3306 if (PyErr_Occurred()) return NULL;
c7e7022c 3307} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3308 return _resultobj;
3309}
3310
c7e7022c
RD
3311#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3312static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3313 PyObject * _resultobj;
c7e7022c
RD
3314 bool _result;
3315 wxPyListCtrl * _arg0;
8ab979d7 3316 long _arg1;
c7e7022c
RD
3317 long _arg2;
3318 long _arg3;
1d99702e 3319 PyObject * _argo0 = 0;
c7e7022c 3320 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3321
3322 self = self;
c7e7022c 3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3324 return NULL;
1d99702e
RD
3325 if (_argo0) {
3326 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3329 return NULL;
3330 }
3331 }
cf694132 3332{
4268f798 3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3334 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3335
4268f798 3336 wxPyEndAllowThreads(__tstate);
493f1553 3337 if (PyErr_Occurred()) return NULL;
c7e7022c 3338} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3339 return _resultobj;
3340}
3341
c7e7022c
RD
3342#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3343static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3344 PyObject * _resultobj;
3345 bool _result;
c7e7022c
RD
3346 wxPyListCtrl * _arg0;
3347 long _arg1;
3348 int _arg2;
3349 int _arg3;
1d99702e 3350 PyObject * _argo0 = 0;
c7e7022c 3351 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3352
3353 self = self;
c7e7022c 3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3355 return NULL;
1d99702e
RD
3356 if (_argo0) {
3357 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3360 return NULL;
3361 }
3362 }
cf694132 3363{
4268f798 3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3365 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3366
4268f798 3367 wxPyEndAllowThreads(__tstate);
493f1553 3368 if (PyErr_Occurred()) return NULL;
cf694132 3369} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3370 return _resultobj;
3371}
3372
c7e7022c
RD
3373#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3374static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3375 PyObject * _resultobj;
c7e7022c
RD
3376 wxString * _result;
3377 wxPyListCtrl * _arg0;
3378 long _arg1;
1d99702e 3379 PyObject * _argo0 = 0;
c7e7022c 3380 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3381
3382 self = self;
c7e7022c 3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3384 return NULL;
1d99702e
RD
3385 if (_argo0) {
3386 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3389 return NULL;
3390 }
3391 }
cf694132 3392{
4268f798 3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3394 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3395
4268f798 3396 wxPyEndAllowThreads(__tstate);
493f1553 3397 if (PyErr_Occurred()) return NULL;
c7e7022c 3398}{
c8bc7bb8 3399#if wxUSE_UNICODE
7e50db3f 3400 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3401#else
c7e7022c 3402 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3403#endif
c7e7022c
RD
3404}
3405{
3406 delete _result;
3407}
8ab979d7
RD
3408 return _resultobj;
3409}
3410
c7e7022c
RD
3411#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3412static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3413 PyObject * _resultobj;
c7e7022c
RD
3414 wxPyListCtrl * _arg0;
3415 long _arg1;
3416 wxString * _arg2;
1d99702e 3417 PyObject * _argo0 = 0;
c7e7022c
RD
3418 PyObject * _obj2 = 0;
3419 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3420
3421 self = self;
c7e7022c 3422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3423 return NULL;
1d99702e
RD
3424 if (_argo0) {
3425 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3428 return NULL;
3429 }
3430 }
cf694132 3431{
c8bc7bb8
RD
3432 _arg2 = wxString_in_helper(_obj2);
3433 if (_arg2 == NULL)
8ab979d7 3434 return NULL;
c7e7022c 3435}
cf694132 3436{
4268f798 3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3438 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3439
4268f798 3440 wxPyEndAllowThreads(__tstate);
493f1553 3441 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3442} Py_INCREF(Py_None);
3443 _resultobj = Py_None;
3444{
3445 if (_obj2)
3446 delete _arg2;
3447}
8ab979d7
RD
3448 return _resultobj;
3449}
3450
3451#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3452static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3453 PyObject * _resultobj;
3454 long _result;
c7e7022c 3455 wxPyListCtrl * _arg0;
8ab979d7 3456 long _arg1;
1d99702e 3457 PyObject * _argo0 = 0;
efc5f224 3458 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3459
3460 self = self;
efc5f224 3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3462 return NULL;
1d99702e
RD
3463 if (_argo0) {
3464 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3467 return NULL;
3468 }
3469 }
cf694132 3470{
4268f798 3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3472 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3473
4268f798 3474 wxPyEndAllowThreads(__tstate);
493f1553 3475 if (PyErr_Occurred()) return NULL;
cf694132 3476} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3477 return _resultobj;
3478}
3479
c7e7022c
RD
3480#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3481static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3482 PyObject * _resultobj;
c7e7022c
RD
3483 bool _result;
3484 wxPyListCtrl * _arg0;
0699c864 3485 long _arg1;
c7e7022c 3486 long _arg2;
1d99702e 3487 PyObject * _argo0 = 0;
c7e7022c 3488 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3489
3490 self = self;
c7e7022c 3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3492 return NULL;
1d99702e
RD
3493 if (_argo0) {
3494 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3497 return NULL;
3498 }
3499 }
cf694132 3500{
4268f798 3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3502 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3503
4268f798 3504 wxPyEndAllowThreads(__tstate);
493f1553 3505 if (PyErr_Occurred()) return NULL;
c7e7022c 3506} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3507 return _resultobj;
3508}
3509
c7e7022c 3510static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3511 wxPoint* pos = new wxPoint;
3512 self->GetItemPosition(item, *pos);
3513 return pos;
3514 }
efc5f224 3515static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3516 PyObject * _resultobj;
3517 wxPoint * _result;
c7e7022c 3518 wxPyListCtrl * _arg0;
8ab979d7 3519 long _arg1;
1d99702e 3520 PyObject * _argo0 = 0;
efc5f224 3521 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3522 char _ptemp[128];
3523
3524 self = self;
efc5f224 3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3526 return NULL;
1d99702e
RD
3527 if (_argo0) {
3528 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3531 return NULL;
3532 }
3533 }
cf694132 3534{
4268f798 3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3536 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3537
4268f798 3538 wxPyEndAllowThreads(__tstate);
493f1553 3539 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3540} if (_result) {
3541 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3542 _resultobj = Py_BuildValue("s",_ptemp);
3543 } else {
3544 Py_INCREF(Py_None);
3545 _resultobj = Py_None;
3546 }
8ab979d7
RD
3547 return _resultobj;
3548}
3549
c7e7022c 3550static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3551 wxRect* rect= new wxRect;
3552 self->GetItemRect(item, *rect, code);
3553 return rect;
3554 }
efc5f224 3555static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3556 PyObject * _resultobj;
3557 wxRect * _result;
c7e7022c 3558 wxPyListCtrl * _arg0;
8ab979d7 3559 long _arg1;
1d99702e
RD
3560 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3561 PyObject * _argo0 = 0;
efc5f224 3562 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3563 char _ptemp[128];
3564
3565 self = self;
efc5f224 3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3567 return NULL;
1d99702e
RD
3568 if (_argo0) {
3569 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3572 return NULL;
3573 }
3574 }
cf694132 3575{
4268f798 3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3577 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3578
4268f798 3579 wxPyEndAllowThreads(__tstate);
493f1553 3580 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3581} if (_result) {
3582 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3583 _resultobj = Py_BuildValue("s",_ptemp);
3584 } else {
3585 Py_INCREF(Py_None);
3586 _resultobj = Py_None;
3587 }
8ab979d7
RD
3588 return _resultobj;
3589}
3590
c7e7022c
RD
3591#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3592static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3593 PyObject * _resultobj;
c7e7022c
RD
3594 bool _result;
3595 wxPyListCtrl * _arg0;
8ab979d7 3596 long _arg1;
c7e7022c 3597 wxPoint * _arg2;
1d99702e 3598 PyObject * _argo0 = 0;
c7e7022c
RD
3599 wxPoint temp;
3600 PyObject * _obj2 = 0;
3601 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3602
3603 self = self;
c7e7022c 3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3605 return NULL;
1d99702e
RD
3606 if (_argo0) {
3607 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3610 return NULL;
3611 }
3612 }
c7e7022c
RD
3613{
3614 _arg2 = &temp;
3615 if (! wxPoint_helper(_obj2, &_arg2))
3616 return NULL;
3617}
cf694132 3618{
4268f798 3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3620 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3621
4268f798 3622 wxPyEndAllowThreads(__tstate);
493f1553 3623 if (PyErr_Occurred()) return NULL;
cf694132 3624} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3625 return _resultobj;
3626}
3627
3628#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3629static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3630 PyObject * _resultobj;
3631 int _result;
c7e7022c 3632 wxPyListCtrl * _arg0;
1d99702e 3633 PyObject * _argo0 = 0;
efc5f224 3634 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3635
3636 self = self;
efc5f224 3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3638 return NULL;
1d99702e
RD
3639 if (_argo0) {
3640 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3643 return NULL;
3644 }
3645 }
cf694132 3646{
4268f798 3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3648 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3649
4268f798 3650 wxPyEndAllowThreads(__tstate);
493f1553 3651 if (PyErr_Occurred()) return NULL;
cf694132 3652} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3653 return _resultobj;
3654}
3655
c7e7022c
RD
3656#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3657static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3658 PyObject * _resultobj;
3659 int _result;
c7e7022c 3660 wxPyListCtrl * _arg0;
1d99702e 3661 PyObject * _argo0 = 0;
c7e7022c 3662 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3663
3664 self = self;
c7e7022c 3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
8ab979d7 3666 return NULL;
1d99702e
RD
3667 if (_argo0) {
3668 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3671 return NULL;
3672 }
3673 }
cf694132 3674{
4268f798 3675 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3676 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cf694132 3677
4268f798 3678 wxPyEndAllowThreads(__tstate);
493f1553 3679 if (PyErr_Occurred()) return NULL;
cf694132 3680} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3681 return _resultobj;
3682}
3683
c7e7022c
RD
3684#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3685static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3686 PyObject * _resultobj;
c7e7022c
RD
3687 int _result;
3688 wxPyListCtrl * _arg0;
3689 bool _arg1;
1d99702e 3690 PyObject * _argo0 = 0;
c7e7022c
RD
3691 int tempbool1;
3692 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3693
3694 self = self;
c7e7022c 3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3696 return NULL;
1d99702e
RD
3697 if (_argo0) {
3698 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3701 return NULL;
3702 }
3703 }
c7e7022c 3704 _arg1 = (bool ) tempbool1;
8ab979d7 3705{
4268f798 3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3707 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3708
4268f798 3709 wxPyEndAllowThreads(__tstate);
493f1553 3710 if (PyErr_Occurred()) return NULL;
c7e7022c 3711} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3712 return _resultobj;
3713}
3714
c7e7022c
RD
3715#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3716static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3717 PyObject * _resultobj;
c7e7022c
RD
3718 int _result;
3719 wxPyListCtrl * _arg0;
1d99702e 3720 PyObject * _argo0 = 0;
c7e7022c 3721 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3722
3723 self = self;
c7e7022c 3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
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_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3730 return NULL;
3731 }
3732 }
cf694132 3733{
4268f798 3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3735 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
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
RD
3743#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3744static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3745 PyObject * _resultobj;
c7e7022c
RD
3746 wxColour * _result;
3747 wxPyListCtrl * _arg0;
1d99702e 3748 PyObject * _argo0 = 0;
efc5f224 3749 char *_kwnames[] = { "self", NULL };
c7e7022c 3750 char _ptemp[128];
8ab979d7
RD
3751
3752 self = self;
c7e7022c 3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3754 return NULL;
1d99702e
RD
3755 if (_argo0) {
3756 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3759 return NULL;
3760 }
3761 }
cf694132 3762{
4268f798 3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3764 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3765
4268f798 3766 wxPyEndAllowThreads(__tstate);
493f1553 3767 if (PyErr_Occurred()) return NULL;
cf694132 3768} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
3769 _resultobj = Py_BuildValue("s",_ptemp);
3770 return _resultobj;
3771}
3772
be4d9c1f 3773#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 3774static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3775 PyObject * _resultobj;
c7e7022c 3776 wxPyListCtrl * _arg0;
be4d9c1f 3777 wxColour * _arg1;
1d99702e 3778 PyObject * _argo0 = 0;
f6bcfd97
BP
3779 wxColour temp;
3780 PyObject * _obj1 = 0;
efc5f224 3781 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
3782
3783 self = self;
f6bcfd97 3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
be4d9c1f 3785 return NULL;
1d99702e
RD
3786 if (_argo0) {
3787 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3790 return NULL;
3791 }
3792 }
f6bcfd97
BP
3793{
3794 _arg1 = &temp;
3795 if (! wxColour_helper(_obj1, &_arg1))
be4d9c1f 3796 return NULL;
f6bcfd97 3797}
cf694132 3798{
4268f798 3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3800 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 3801
4268f798 3802 wxPyEndAllowThreads(__tstate);
493f1553 3803 if (PyErr_Occurred()) return NULL;
cf694132 3804} Py_INCREF(Py_None);
be4d9c1f
RD
3805 _resultobj = Py_None;
3806 return _resultobj;
3807}
3808
8ab979d7 3809#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 3810static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3811 PyObject * _resultobj;
3812 long _result;
c7e7022c 3813 wxPyListCtrl * _arg0;
1d99702e 3814 PyObject * _argo0 = 0;
efc5f224 3815 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3816
3817 self = self;
efc5f224 3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 3819 return NULL;
1d99702e
RD
3820 if (_argo0) {
3821 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3824 return NULL;
3825 }
3826 }
cf694132 3827{
4268f798 3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3829 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 3830
4268f798 3831 wxPyEndAllowThreads(__tstate);
493f1553 3832 if (PyErr_Occurred()) return NULL;
cf694132 3833} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3834 return _resultobj;
3835}
3836
c7e7022c
RD
3837#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3838static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3839 PyObject * _resultobj;
c7e7022c
RD
3840 wxPyListCtrl * _arg0;
3841 long _arg1;
3842 bool _arg2 = (bool ) TRUE;
1d99702e 3843 PyObject * _argo0 = 0;
c7e7022c
RD
3844 int tempbool2 = (int) TRUE;
3845 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
3846
3847 self = self;
c7e7022c 3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 3849 return NULL;
1d99702e
RD
3850 if (_argo0) {
3851 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3854 return NULL;
3855 }
3856 }
c7e7022c 3857 _arg2 = (bool ) tempbool2;
cf694132 3858{
4268f798 3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3860 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cf694132 3861
4268f798 3862 wxPyEndAllowThreads(__tstate);
493f1553 3863 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3864} Py_INCREF(Py_None);
3865 _resultobj = Py_None;
8ab979d7
RD
3866 return _resultobj;
3867}
3868
c7e7022c
RD
3869#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3870static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3871 PyObject * _resultobj;
c7e7022c 3872 wxPyListCtrl * _arg0;
8ab979d7 3873 long _arg1;
1d99702e 3874 PyObject * _argo0 = 0;
c7e7022c 3875 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
3876
3877 self = self;
c7e7022c 3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 3879 return NULL;
1d99702e
RD
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3884 return NULL;
3885 }
3886 }
cf694132 3887{
4268f798 3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3889 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cf694132 3890
4268f798 3891 wxPyEndAllowThreads(__tstate);
493f1553 3892 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3893} Py_INCREF(Py_None);
3894 _resultobj = Py_None;
8ab979d7
RD
3895 return _resultobj;
3896}
3897
c7e7022c
RD
3898#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3899static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3900 PyObject * _resultobj;
3901 long _result;
c7e7022c 3902 wxPyListCtrl * _arg0;
8ab979d7 3903 long _arg1;
c7e7022c
RD
3904 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3905 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
1d99702e 3906 PyObject * _argo0 = 0;
c7e7022c 3907 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
3908
3909 self = self;
c7e7022c 3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3911 return NULL;
1d99702e
RD
3912 if (_argo0) {
3913 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3916 return NULL;
3917 }
3918 }
3919{
4268f798 3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3921 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
c7e7022c 3922
4268f798 3923 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
3924 if (PyErr_Occurred()) return NULL;
3925} _resultobj = Py_BuildValue("l",_result);
3926 return _resultobj;
3927}
3928
3929#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3930static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject * _resultobj;
3932 wxImageList * _result;
3933 wxPyListCtrl * _arg0;
3934 int _arg1;
3935 PyObject * _argo0 = 0;
3936 char *_kwnames[] = { "self","which", NULL };
3937
3938 self = self;
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
185d7c3e 3940 return NULL;
c7e7022c
RD
3941 if (_argo0) {
3942 if (_argo0 == Py_None) { _arg0 = NULL; }
3943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
8ab979d7 3945 return NULL;
c7e7022c 3946 }
8ab979d7 3947 }
cf694132 3948{
4268f798 3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3950 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cf694132 3951
4268f798 3952 wxPyEndAllowThreads(__tstate);
493f1553 3953 if (PyErr_Occurred()) return NULL;
c7e7022c 3954}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3955 return _resultobj;
3956}
3957
c7e7022c
RD
3958#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3959static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3960 PyObject * _resultobj;
c7e7022c
RD
3961 wxPyListCtrl * _arg0;
3962 wxImageList * _arg1;
3963 int _arg2;
1d99702e
RD
3964 PyObject * _argo0 = 0;
3965 PyObject * _argo1 = 0;
c7e7022c 3966 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
3967
3968 self = self;
c7e7022c 3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 3970 return NULL;
1d99702e
RD
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3975 return NULL;
3976 }
3977 }
1d99702e
RD
3978 if (_argo1) {
3979 if (_argo1 == Py_None) { _arg1 = NULL; }
c7e7022c
RD
3980 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3981 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
3982 return NULL;
3983 }
3984 }
cf694132 3985{
4268f798 3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3987 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 3988
4268f798 3989 wxPyEndAllowThreads(__tstate);
493f1553 3990 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3991} Py_INCREF(Py_None);
3992 _resultobj = Py_None;
8ab979d7
RD
3993 return _resultobj;
3994}
3995
c7e7022c
RD
3996#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
3997static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3998 PyObject * _resultobj;
c7e7022c
RD
3999 wxPyListCtrl * _arg0;
4000 wxImageList * _arg1;
4001 int _arg2;
1d99702e 4002 PyObject * _argo0 = 0;
c7e7022c
RD
4003 PyObject * _argo1 = 0;
4004 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4005
4006 self = self;
c7e7022c 4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4008 return NULL;
1d99702e
RD
4009 if (_argo0) {
4010 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4013 return NULL;
4014 }
4015 }
c7e7022c
RD
4016 if (_argo1) {
4017 if (_argo1 == Py_None) { _arg1 = NULL; }
4018 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4019 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
8ab979d7 4020 return NULL;
c7e7022c 4021 }
8ab979d7 4022 }
cf694132 4023{
4268f798 4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4025 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cf694132 4026
4268f798 4027 wxPyEndAllowThreads(__tstate);
493f1553 4028 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4029} Py_INCREF(Py_None);
4030 _resultobj = Py_None;
8ab979d7
RD
4031 return _resultobj;
4032}
4033
c7e7022c
RD
4034#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4035static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4036 PyObject * _resultobj;
c7e7022c
RD
4037 bool _result;
4038 wxPyListCtrl * _arg0;
1d99702e 4039 PyObject * _argo0 = 0;
c7e7022c 4040 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4041
4042 self = self;
c7e7022c 4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
8ab979d7 4044 return NULL;
1d99702e
RD
4045 if (_argo0) {
4046 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4049 return NULL;
4050 }
4051 }
cf694132 4052{
4268f798 4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4054 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4055
4268f798 4056 wxPyEndAllowThreads(__tstate);
493f1553 4057 if (PyErr_Occurred()) return NULL;
c7e7022c 4058} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4059 return _resultobj;
4060}
4061
c7e7022c
RD
4062#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4063static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4064 PyObject * _resultobj;
c7e7022c 4065 wxPyListCtrl * _arg0;
8ab979d7 4066 long _arg1;
1d99702e 4067 PyObject * _argo0 = 0;
c7e7022c 4068 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4069
4070 self = self;
c7e7022c 4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4072 return NULL;
1d99702e
RD
4073 if (_argo0) {
4074 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4077 return NULL;
4078 }
4079 }
cf694132 4080{
4268f798 4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4082 wxListCtrl_RefreshItem(_arg0,_arg1);
cf694132 4083
4268f798 4084 wxPyEndAllowThreads(__tstate);
493f1553 4085 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4086} Py_INCREF(Py_None);
4087 _resultobj = Py_None;
8ab979d7
RD
4088 return _resultobj;
4089}
4090
c7e7022c
RD
4091#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4092static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4093 PyObject * _resultobj;
c7e7022c
RD
4094 wxPyListCtrl * _arg0;
4095 long _arg1;
4096 long _arg2;
1d99702e 4097 PyObject * _argo0 = 0;
c7e7022c 4098 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4099
4100 self = self;
c7e7022c 4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4102 return NULL;
1d99702e
RD
4103 if (_argo0) {
4104 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4107 return NULL;
4108 }
4109 }
cf694132 4110{
4268f798 4111 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4112 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cf694132 4113
4268f798 4114 wxPyEndAllowThreads(__tstate);
493f1553 4115 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4116} Py_INCREF(Py_None);
4117 _resultobj = Py_None;
8ab979d7
RD
4118 return _resultobj;
4119}
4120
c7e7022c
RD
4121#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4122static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4123 PyObject * _resultobj;
c7e7022c
RD
4124 bool _result;
4125 wxPyListCtrl * _arg0;
4126 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1d99702e 4127 PyObject * _argo0 = 0;
c7e7022c 4128 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
4129
4130 self = self;
c7e7022c 4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 4132 return NULL;
1d99702e
RD
4133 if (_argo0) {
4134 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4137 return NULL;
4138 }
4139 }
cf694132 4140{
4268f798 4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4142 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4143
4268f798 4144 wxPyEndAllowThreads(__tstate);
493f1553 4145 if (PyErr_Occurred()) return NULL;
c7e7022c 4146} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4147 return _resultobj;
4148}
4149
c7e7022c
RD
4150#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4151static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4152 PyObject * _resultobj;
4153 bool _result;
c7e7022c
RD
4154 wxPyListCtrl * _arg0;
4155 long _arg1;
1d99702e 4156 PyObject * _argo0 = 0;
c7e7022c 4157 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4158
4159 self = self;
c7e7022c 4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4161 return NULL;
1d99702e
RD
4162 if (_argo0) {
4163 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4166 return NULL;
4167 }
4168 }
c7e7022c 4169{
4268f798 4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4171 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
c7e7022c 4172
4268f798 4173 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4174 if (PyErr_Occurred()) return NULL;
4175} _resultobj = Py_BuildValue("i",_result);
4176 return _resultobj;
4177}
4178
4179#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4180static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject * _resultobj;
4182 bool _result;
4183 wxPyListCtrl * _arg0;
4184 PyObject * _argo0 = 0;
4185 char *_kwnames[] = { "self", NULL };
4186
4187 self = self;
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4189 return NULL;
4190 if (_argo0) {
4191 if (_argo0 == Py_None) { _arg0 = NULL; }
4192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4194 return NULL;
4195 }
4196 }
cf694132 4197{
4268f798 4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4199 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cf694132 4200
4268f798 4201 wxPyEndAllowThreads(__tstate);
493f1553 4202 if (PyErr_Occurred()) return NULL;
cf694132 4203} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4204 return _resultobj;
4205}
4206
c7e7022c
RD
4207#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4208static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4209 PyObject * _resultobj;
4210 bool _result;
c7e7022c 4211 wxPyListCtrl * _arg0;
8ab979d7 4212 int _arg1;
1d99702e 4213 PyObject * _argo0 = 0;
c7e7022c 4214 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4215
4216 self = self;
c7e7022c 4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 4218 return NULL;
1d99702e
RD
4219 if (_argo0) {
4220 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4223 return NULL;
4224 }
4225 }
cf694132 4226{
4268f798 4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4228 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cf694132 4229
4268f798 4230 wxPyEndAllowThreads(__tstate);
493f1553 4231 if (PyErr_Occurred()) return NULL;
cf694132 4232} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4233 return _resultobj;
4234}
4235
c7e7022c
RD
4236#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4237static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4238 PyObject * _resultobj;
c7e7022c
RD
4239 bool _result;
4240 wxPyListCtrl * _arg0;
1d99702e 4241 PyObject * _argo0 = 0;
c7e7022c 4242 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4243
4244 self = self;
c7e7022c 4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 4246 return NULL;
1d99702e
RD
4247 if (_argo0) {
4248 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4251 return NULL;
4252 }
4253 }
c7e7022c 4254{
4268f798 4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4256 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
c7e7022c 4257
4268f798 4258 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4259 if (PyErr_Occurred()) return NULL;
4260} _resultobj = Py_BuildValue("i",_result);
4261 return _resultobj;
4262}
4263
4264#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4265static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4266 PyObject * _resultobj;
4267 wxPyListCtrl * _arg0;
4268 PyObject * _argo0 = 0;
4269 char *_kwnames[] = { "self", NULL };
4270
4271 self = self;
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
4273 return NULL;
4274 if (_argo0) {
4275 if (_argo0 == Py_None) { _arg0 = NULL; }
4276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4278 return NULL;
4279 }
4280 }
cf694132 4281{
4268f798 4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4283 wxListCtrl_ClearAll(_arg0);
cf694132 4284
4268f798 4285 wxPyEndAllowThreads(__tstate);
493f1553 4286 if (PyErr_Occurred()) return NULL;
cf694132 4287} Py_INCREF(Py_None);
8ab979d7
RD
4288 _resultobj = Py_None;
4289 return _resultobj;
4290}
4291
c7e7022c
RD
4292#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4293static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject * _resultobj;
4295 wxTextCtrl * _result;
4296 wxPyListCtrl * _arg0;
4297 long _arg1;
4298 PyObject * _argo0 = 0;
4299 char *_kwnames[] = { "self","item", NULL };
4300
4301 self = self;
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4303 return NULL;
4304 if (_argo0) {
4305 if (_argo0 == Py_None) { _arg0 = NULL; }
4306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4308 return NULL;
4309 }
4310 }
4311{
4268f798 4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4313 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
c7e7022c 4314
4268f798 4315 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4316 if (PyErr_Occurred()) return NULL;
4317}{ _resultobj = wxPyMake_wxObject(_result); }
4318 return _resultobj;
4319}
4320
4321#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4322static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4323 PyObject * _resultobj;
4324 bool _result;
c7e7022c
RD
4325 wxPyListCtrl * _arg0;
4326 bool _arg1;
1d99702e 4327 PyObject * _argo0 = 0;
c7e7022c
RD
4328 int tempbool1;
4329 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
4330
4331 self = self;
c7e7022c 4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 4333 return NULL;
1d99702e
RD
4334 if (_argo0) {
4335 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4338 return NULL;
4339 }
4340 }
c7e7022c
RD
4341 _arg1 = (bool ) tempbool1;
4342{
4268f798 4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4344 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
c7e7022c 4345
4268f798 4346 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4347 if (PyErr_Occurred()) return NULL;
4348} _resultobj = Py_BuildValue("i",_result);
4349 return _resultobj;
4350}
4351
4352#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4353static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4354 PyObject * _resultobj;
4355 bool _result;
4356 wxPyListCtrl * _arg0;
4357 long _arg1;
4358 PyObject * _argo0 = 0;
4359 char *_kwnames[] = { "self","item", NULL };
4360
4361 self = self;
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4363 return NULL;
4364 if (_argo0) {
4365 if (_argo0 == Py_None) { _arg0 = NULL; }
4366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4368 return NULL;
4369 }
4370 }
cf694132 4371{
4268f798 4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4373 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4374
4268f798 4375 wxPyEndAllowThreads(__tstate);
493f1553 4376 if (PyErr_Occurred()) return NULL;
cf694132 4377} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4378 return _resultobj;
4379}
4380
c7e7022c
RD
4381#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4382static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4383 PyObject * _resultobj;
4384 long _result;
c7e7022c 4385 wxPyListCtrl * _arg0;
8ab979d7 4386 long _arg1;
c7e7022c
RD
4387 wxString * _arg2;
4388 bool _arg3 = (bool ) FALSE;
1d99702e 4389 PyObject * _argo0 = 0;
c7e7022c
RD
4390 PyObject * _obj2 = 0;
4391 int tempbool3 = (int) FALSE;
4392 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4393
4394 self = self;
c7e7022c 4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4396 return NULL;
1d99702e
RD
4397 if (_argo0) {
4398 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4401 return NULL;
4402 }
4403 }
4404{
c8bc7bb8
RD
4405 _arg2 = wxString_in_helper(_obj2);
4406 if (_arg2 == NULL)
8ab979d7 4407 return NULL;
8ab979d7 4408}
c7e7022c 4409 _arg3 = (bool ) tempbool3;
cf694132 4410{
4268f798 4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4412 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4413
4268f798 4414 wxPyEndAllowThreads(__tstate);
493f1553 4415 if (PyErr_Occurred()) return NULL;
cf694132 4416} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4417{
c7e7022c
RD
4418 if (_obj2)
4419 delete _arg2;
8ab979d7
RD
4420}
4421 return _resultobj;
4422}
4423
c7e7022c
RD
4424#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4425static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4426 PyObject * _resultobj;
c7e7022c
RD
4427 long _result;
4428 wxPyListCtrl * _arg0;
8ab979d7
RD
4429 long _arg1;
4430 long _arg2;
1d99702e 4431 PyObject * _argo0 = 0;
c7e7022c 4432 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4433
4434 self = self;
c7e7022c 4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4436 return NULL;
1d99702e
RD
4437 if (_argo0) {
4438 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4441 return NULL;
4442 }
4443 }
cf694132 4444{
4268f798 4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4446 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4447
4268f798 4448 wxPyEndAllowThreads(__tstate);
493f1553 4449 if (PyErr_Occurred()) return NULL;
c7e7022c 4450} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4451 return _resultobj;
4452}
4453
c7e7022c
RD
4454#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4455static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4456 PyObject * _resultobj;
c7e7022c
RD
4457 long _result;
4458 wxPyListCtrl * _arg0;
4459 long _arg1;
4460 wxPoint * _arg2;
4461 int _arg3;
4462 PyObject * _argo0 = 0;
4463 wxPoint temp;
4464 PyObject * _obj2 = 0;
4465 char *_kwnames[] = { "self","start","pt","direction", NULL };
4466
4467 self = self;
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4469 return NULL;
4470 if (_argo0) {
4471 if (_argo0 == Py_None) { _arg0 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4474 return NULL;
4475 }
4476 }
4477{
4478 _arg2 = &temp;
4479 if (! wxPoint_helper(_obj2, &_arg2))
4480 return NULL;
4481}
4482{
4268f798 4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4484 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
c7e7022c 4485
4268f798 4486 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4487 if (PyErr_Occurred()) return NULL;
4488} _resultobj = Py_BuildValue("l",_result);
4489 return _resultobj;
4490}
4491
4492#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4493static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject * _resultobj;
4495 long _result;
4496 wxPyListCtrl * _arg0;
4497 wxPoint * _arg1;
4498 int * _arg2;
4499 int temp;
4500 PyObject * _argo0 = 0;
4501 wxPoint temp0;
4502 PyObject * _obj1 = 0;
4503 char *_kwnames[] = { "self","point", NULL };
4504
4505 self = self;
4506{
4507 _arg2 = &temp;
4508}
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4510 return NULL;
4511 if (_argo0) {
4512 if (_argo0 == Py_None) { _arg0 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4515 return NULL;
4516 }
4517 }
4518{
4519 _arg1 = &temp0;
4520 if (! wxPoint_helper(_obj1, &_arg1))
4521 return NULL;
4522}
4523{
4268f798 4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4525 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
c7e7022c 4526
4268f798 4527 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4528 if (PyErr_Occurred()) return NULL;
4529} _resultobj = Py_BuildValue("l",_result);
4530{
4531 PyObject *o;
4532 o = PyInt_FromLong((long) (*_arg2));
4533 _resultobj = t_output_helper(_resultobj, o);
4534}
4535 return _resultobj;
4536}
4537
4538#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4539static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject * _resultobj;
4541 long _result;
4542 wxPyListCtrl * _arg0;
4543 wxListItem * _arg1;
4544 PyObject * _argo0 = 0;
4545 PyObject * _argo1 = 0;
4546 char *_kwnames[] = { "self","info", NULL };
4547
4548 self = self;
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4550 return NULL;
4551 if (_argo0) {
4552 if (_argo0 == Py_None) { _arg0 = NULL; }
4553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4555 return NULL;
4556 }
4557 }
4558 if (_argo1) {
7e50db3f 4559 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
c7e7022c
RD
4560 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4561 return NULL;
4562 }
4563 }
4564{
4268f798 4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4566 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
c7e7022c 4567
4268f798 4568 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4569 if (PyErr_Occurred()) return NULL;
4570} _resultobj = Py_BuildValue("l",_result);
4571 return _resultobj;
4572}
4573
4574#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4575static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject * _resultobj;
4577 long _result;
4578 wxPyListCtrl * _arg0;
4579 long _arg1;
4580 wxString * _arg2;
4581 PyObject * _argo0 = 0;
4582 PyObject * _obj2 = 0;
4583 char *_kwnames[] = { "self","index","label", NULL };
4584
4585 self = self;
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4587 return NULL;
4588 if (_argo0) {
4589 if (_argo0 == Py_None) { _arg0 = NULL; }
4590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4592 return NULL;
4593 }
4594 }
4595{
c8bc7bb8
RD
4596 _arg2 = wxString_in_helper(_obj2);
4597 if (_arg2 == NULL)
c7e7022c 4598 return NULL;
c7e7022c
RD
4599}
4600{
4268f798 4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4602 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
c7e7022c 4603
4268f798 4604 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4605 if (PyErr_Occurred()) return NULL;
4606} _resultobj = Py_BuildValue("l",_result);
4607{
4608 if (_obj2)
4609 delete _arg2;
4610}
4611 return _resultobj;
4612}
4613
4614#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4615static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject * _resultobj;
4617 long _result;
4618 wxPyListCtrl * _arg0;
8ab979d7
RD
4619 long _arg1;
4620 int _arg2;
1d99702e 4621 PyObject * _argo0 = 0;
c7e7022c 4622 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4623
4624 self = self;
c7e7022c 4625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4626 return NULL;
1d99702e
RD
4627 if (_argo0) {
4628 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4631 return NULL;
4632 }
4633 }
cf694132 4634{
4268f798 4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4636 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4637
4268f798 4638 wxPyEndAllowThreads(__tstate);
493f1553 4639 if (PyErr_Occurred()) return NULL;
c7e7022c 4640} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4641 return _resultobj;
4642}
4643
c7e7022c
RD
4644#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4645static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4646 PyObject * _resultobj;
c7e7022c
RD
4647 long _result;
4648 wxPyListCtrl * _arg0;
8ab979d7 4649 long _arg1;
c7e7022c
RD
4650 wxString * _arg2;
4651 int _arg3;
1d99702e 4652 PyObject * _argo0 = 0;
2f90df85 4653 PyObject * _obj2 = 0;
c7e7022c 4654 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4655
4656 self = self;
c7e7022c 4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4658 return NULL;
1d99702e
RD
4659 if (_argo0) {
4660 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4663 return NULL;
4664 }
4665 }
2f90df85 4666{
c8bc7bb8
RD
4667 _arg2 = wxString_in_helper(_obj2);
4668 if (_arg2 == NULL)
8ab979d7 4669 return NULL;
2f90df85 4670}
cf694132 4671{
4268f798 4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4673 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4674
4268f798 4675 wxPyEndAllowThreads(__tstate);
493f1553 4676 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4677} _resultobj = Py_BuildValue("l",_result);
4678{
4679 if (_obj2)
4680 delete _arg2;
4681}
8ab979d7
RD
4682 return _resultobj;
4683}
4684
c7e7022c
RD
4685#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4686static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4687 PyObject * _resultobj;
c7e7022c
RD
4688 long _result;
4689 wxPyListCtrl * _arg0;
8ab979d7 4690 long _arg1;
c7e7022c 4691 wxListItem * _arg2;
1d99702e 4692 PyObject * _argo0 = 0;
c7e7022c
RD
4693 PyObject * _argo2 = 0;
4694 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4695
4696 self = self;
c7e7022c 4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4698 return NULL;
1d99702e
RD
4699 if (_argo0) {
4700 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4703 return NULL;
4704 }
4705 }
4706 if (_argo2) {
7e50db3f 4707 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
c7e7022c 4708 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4709 return NULL;
4710 }
4711 }
cf694132 4712{
4268f798 4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4714 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4715
4268f798 4716 wxPyEndAllowThreads(__tstate);
493f1553 4717 if (PyErr_Occurred()) return NULL;
c7e7022c 4718} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4719 return _resultobj;
4720}
4721
c7e7022c
RD
4722#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4723static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4724 PyObject * _resultobj;
c7e7022c
RD
4725 long _result;
4726 wxPyListCtrl * _arg0;
8ab979d7
RD
4727 long _arg1;
4728 wxString * _arg2;
c7e7022c
RD
4729 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4730 int _arg4 = (int ) -1;
1d99702e 4731 PyObject * _argo0 = 0;
8ab979d7 4732 PyObject * _obj2 = 0;
c7e7022c 4733 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4734
4735 self = self;
c7e7022c 4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4737 return NULL;
1d99702e
RD
4738 if (_argo0) {
4739 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4742 return NULL;
4743 }
4744 }
4745{
c8bc7bb8
RD
4746 _arg2 = wxString_in_helper(_obj2);
4747 if (_arg2 == NULL)
8ab979d7 4748 return NULL;
8ab979d7 4749}
cf694132 4750{
4268f798 4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4752 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4753
4268f798 4754 wxPyEndAllowThreads(__tstate);
493f1553 4755 if (PyErr_Occurred()) return NULL;
c7e7022c 4756} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4757{
4758 if (_obj2)
4759 delete _arg2;
4760}
4761 return _resultobj;
4762}
4763
c7e7022c
RD
4764#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4765static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4766 PyObject * _resultobj;
c7e7022c 4767 wxPyListCtrl * _arg0;
8ab979d7 4768 long _arg1;
1d99702e 4769 PyObject * _argo0 = 0;
c7e7022c 4770 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4771
4772 self = self;
c7e7022c 4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4774 return NULL;
1d99702e
RD
4775 if (_argo0) {
4776 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4779 return NULL;
4780 }
4781 }
cf694132 4782{
4268f798 4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4784 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4785
4268f798 4786 wxPyEndAllowThreads(__tstate);
493f1553 4787 if (PyErr_Occurred()) return NULL;
cf694132 4788} Py_INCREF(Py_None);
8ab979d7
RD
4789 _resultobj = Py_None;
4790 return _resultobj;
4791}
4792
c7e7022c
RD
4793#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4794static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4795 PyObject * _resultobj;
c7e7022c
RD
4796 bool _result;
4797 wxPyListCtrl * _arg0;
4798 int _arg1;
4799 int _arg2;
1d99702e 4800 PyObject * _argo0 = 0;
c7e7022c 4801 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4802
4803 self = self;
c7e7022c 4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4805 return NULL;
1d99702e
RD
4806 if (_argo0) {
4807 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4810 return NULL;
4811 }
4812 }
cf694132 4813{
4268f798 4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4815 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 4816
4268f798 4817 wxPyEndAllowThreads(__tstate);
493f1553 4818 if (PyErr_Occurred()) return NULL;
c7e7022c 4819} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4820 return _resultobj;
4821}
4822
3bd1e033
RD
4823#define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4824static PyObject *_wrap_wxListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject * _resultobj;
4826 wxPyListCtrl * _arg0;
4827 long _arg1;
4828 wxColour * _arg2;
4829 PyObject * _argo0 = 0;
4830 wxColour temp;
4831 PyObject * _obj2 = 0;
4832 char *_kwnames[] = { "self","item","col", NULL };
4833
4834 self = self;
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemTextColour",_kwnames,&_argo0,&_arg1,&_obj2))
4836 return NULL;
4837 if (_argo0) {
4838 if (_argo0 == Py_None) { _arg0 = NULL; }
4839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4841 return NULL;
4842 }
4843 }
4844{
4845 _arg2 = &temp;
4846 if (! wxColour_helper(_obj2, &_arg2))
4847 return NULL;
4848}
4849{
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 wxListCtrl_SetItemTextColour(_arg0,_arg1,*_arg2);
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) return NULL;
4855} Py_INCREF(Py_None);
4856 _resultobj = Py_None;
4857 return _resultobj;
4858}
4859
4860#define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4861static PyObject *_wrap_wxListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject * _resultobj;
4863 wxColour * _result;
4864 wxPyListCtrl * _arg0;
4865 long _arg1;
4866 PyObject * _argo0 = 0;
4867 char *_kwnames[] = { "self","item", NULL };
4868 char _ptemp[128];
4869
4870 self = self;
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemTextColour",_kwnames,&_argo0,&_arg1))
4872 return NULL;
4873 if (_argo0) {
4874 if (_argo0 == Py_None) { _arg0 = NULL; }
4875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4877 return NULL;
4878 }
4879 }
4880{
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 _result = new wxColour (wxListCtrl_GetItemTextColour(_arg0,_arg1));
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) return NULL;
4886} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4887 _resultobj = Py_BuildValue("s",_ptemp);
4888 return _resultobj;
4889}
4890
4891#define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4892static PyObject *_wrap_wxListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject * _resultobj;
4894 wxPyListCtrl * _arg0;
4895 long _arg1;
4896 wxColour * _arg2;
4897 PyObject * _argo0 = 0;
4898 wxColour temp;
4899 PyObject * _obj2 = 0;
4900 char *_kwnames[] = { "self","item","col", NULL };
4901
4902 self = self;
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_arg1,&_obj2))
4904 return NULL;
4905 if (_argo0) {
4906 if (_argo0 == Py_None) { _arg0 = NULL; }
4907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4909 return NULL;
4910 }
4911 }
4912{
4913 _arg2 = &temp;
4914 if (! wxColour_helper(_obj2, &_arg2))
4915 return NULL;
4916}
4917{
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 wxListCtrl_SetItemBackgroundColour(_arg0,_arg1,*_arg2);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) return NULL;
4923} Py_INCREF(Py_None);
4924 _resultobj = Py_None;
4925 return _resultobj;
4926}
4927
4928#define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4929static PyObject *_wrap_wxListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject * _resultobj;
4931 wxColour * _result;
4932 wxPyListCtrl * _arg0;
4933 long _arg1;
4934 PyObject * _argo0 = 0;
4935 char *_kwnames[] = { "self","item", NULL };
4936 char _ptemp[128];
4937
4938 self = self;
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_arg1))
4940 return NULL;
4941 if (_argo0) {
4942 if (_argo0 == Py_None) { _arg0 = NULL; }
4943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4945 return NULL;
4946 }
4947 }
4948{
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 _result = new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0,_arg1));
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) return NULL;
4954} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4955 _resultobj = Py_BuildValue("s",_ptemp);
4956 return _resultobj;
4957}
4958
c7e7022c 4959static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
4960 if (!PyCallable_Check(func))
4961 return FALSE;
f6bcfd97 4962 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
4963 }
4964static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject * _resultobj;
4966 bool _result;
c7e7022c 4967 wxPyListCtrl * _arg0;
dcd38683
RD
4968 PyObject * _arg1;
4969 PyObject * _argo0 = 0;
4970 PyObject * _obj1 = 0;
4971 char *_kwnames[] = { "self","func", NULL };
4972
4973 self = self;
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
4975 return NULL;
4976 if (_argo0) {
4977 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
4980 return NULL;
4981 }
4982 }
4983{
4984 _arg1 = _obj1;
4985}
4986{
4268f798 4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4988 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 4989
4268f798 4990 wxPyEndAllowThreads(__tstate);
493f1553 4991 if (PyErr_Occurred()) return NULL;
dcd38683
RD
4992} _resultobj = Py_BuildValue("i",_result);
4993 return _resultobj;
4994}
4995
6af85fcd
RD
4996static wxWindow * wxPyListCtrl_GetMainWindow(wxPyListCtrl *self) {
4997 #ifdef __WXMSW__
4998 return self;
4999 #else
032b1ef1 5000 return (wxWindow*)self->m_mainWin;
6af85fcd
RD
5001 #endif
5002 }
5003static PyObject *_wrap_wxListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject * _resultobj;
5005 wxWindow * _result;
5006 wxPyListCtrl * _arg0;
5007 PyObject * _argo0 = 0;
5008 char *_kwnames[] = { "self", NULL };
5009
5010 self = self;
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetMainWindow",_kwnames,&_argo0))
5012 return NULL;
5013 if (_argo0) {
5014 if (_argo0 == Py_None) { _arg0 = NULL; }
5015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetMainWindow. Expected _wxPyListCtrl_p.");
5017 return NULL;
5018 }
5019 }
5020{
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 _result = (wxWindow *)wxPyListCtrl_GetMainWindow(_arg0);
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) return NULL;
5026}{ _resultobj = wxPyMake_wxObject(_result); }
5027 return _resultobj;
5028}
5029
6d19860f
RD
5030static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5031 wxListView *src;
5032 wxPyListCtrl *dest;
5033 src = (wxListView *) ptr;
5034 dest = (wxPyListCtrl *) src;
5035 return (void *) dest;
5036}
5037
5038static void *SwigwxListViewTowxControl(void *ptr) {
5039 wxListView *src;
5040 wxControl *dest;
5041 src = (wxListView *) ptr;
5042 dest = (wxControl *) src;
5043 return (void *) dest;
5044}
5045
5046static void *SwigwxListViewTowxWindow(void *ptr) {
5047 wxListView *src;
5048 wxWindow *dest;
5049 src = (wxListView *) ptr;
5050 dest = (wxWindow *) src;
5051 return (void *) dest;
5052}
5053
5054static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5055 wxListView *src;
5056 wxEvtHandler *dest;
5057 src = (wxListView *) ptr;
5058 dest = (wxEvtHandler *) src;
5059 return (void *) dest;
5060}
5061
5062static void *SwigwxListViewTowxObject(void *ptr) {
5063 wxListView *src;
5064 wxObject *dest;
5065 src = (wxListView *) ptr;
5066 dest = (wxObject *) src;
5067 return (void *) dest;
5068}
5069
5070#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5071static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject * _resultobj;
5073 wxListView * _result;
5074 wxWindow * _arg0;
5075 wxWindowID _arg1 = (wxWindowID ) -1;
5076 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5077 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5078 long _arg4 = (long ) (wxLC_REPORT);
5079 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 5080 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5081 PyObject * _argo0 = 0;
5082 wxPoint temp;
5083 PyObject * _obj2 = 0;
5084 wxSize temp0;
5085 PyObject * _obj3 = 0;
5086 PyObject * _argo5 = 0;
5087 PyObject * _obj6 = 0;
5088 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5089 char _ptemp[128];
5090
5091 self = self;
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5093 return NULL;
5094 if (_argo0) {
5095 if (_argo0 == Py_None) { _arg0 = NULL; }
5096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5098 return NULL;
5099 }
5100 }
5101 if (_obj2)
5102{
5103 _arg2 = &temp;
5104 if (! wxPoint_helper(_obj2, &_arg2))
5105 return NULL;
5106}
5107 if (_obj3)
5108{
5109 _arg3 = &temp0;
5110 if (! wxSize_helper(_obj3, &_arg3))
5111 return NULL;
5112}
5113 if (_argo5) {
7e50db3f 5114 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
6d19860f
RD
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5116 return NULL;
5117 }
5118 }
5119 if (_obj6)
5120{
c8bc7bb8
RD
5121 _arg6 = wxString_in_helper(_obj6);
5122 if (_arg6 == NULL)
6d19860f 5123 return NULL;
6d19860f
RD
5124}
5125{
4268f798 5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5127 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
6d19860f 5128
4268f798 5129 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5130 if (PyErr_Occurred()) return NULL;
5131} if (_result) {
5132 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5133 _resultobj = Py_BuildValue("s",_ptemp);
5134 } else {
5135 Py_INCREF(Py_None);
5136 _resultobj = Py_None;
5137 }
5138{
5139 if (_obj6)
5140 delete _arg6;
5141}
5142 return _resultobj;
5143}
5144
5145#define new_wxPreListView() (new wxListView())
5146static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 wxListView * _result;
5149 char *_kwnames[] = { NULL };
5150 char _ptemp[128];
5151
5152 self = self;
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5154 return NULL;
5155{
4268f798 5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5157 _result = (wxListView *)new_wxPreListView();
6d19860f 5158
4268f798 5159 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5160 if (PyErr_Occurred()) return NULL;
5161} if (_result) {
5162 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5163 _resultobj = Py_BuildValue("s",_ptemp);
5164 } else {
5165 Py_INCREF(Py_None);
5166 _resultobj = Py_None;
5167 }
5168 return _resultobj;
5169}
5170
5171#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5172static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5173 PyObject * _resultobj;
5174 bool _result;
5175 wxListView * _arg0;
5176 wxWindow * _arg1;
5177 wxWindowID _arg2 = (wxWindowID ) -1;
5178 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5179 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5180 long _arg5 = (long ) (wxLC_REPORT);
5181 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 5182 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5183 PyObject * _argo0 = 0;
5184 PyObject * _argo1 = 0;
5185 wxPoint temp;
5186 PyObject * _obj3 = 0;
5187 wxSize temp0;
5188 PyObject * _obj4 = 0;
5189 PyObject * _argo6 = 0;
5190 PyObject * _obj7 = 0;
5191 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5192
5193 self = self;
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5195 return NULL;
5196 if (_argo0) {
5197 if (_argo0 == Py_None) { _arg0 = NULL; }
5198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5200 return NULL;
5201 }
5202 }
5203 if (_argo1) {
5204 if (_argo1 == Py_None) { _arg1 = NULL; }
5205 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5206 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5207 return NULL;
5208 }
5209 }
5210 if (_obj3)
5211{
5212 _arg3 = &temp;
5213 if (! wxPoint_helper(_obj3, &_arg3))
5214 return NULL;
5215}
5216 if (_obj4)
5217{
5218 _arg4 = &temp0;
5219 if (! wxSize_helper(_obj4, &_arg4))
5220 return NULL;
5221}
5222 if (_argo6) {
7e50db3f 5223 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6d19860f
RD
5224 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5225 return NULL;
5226 }
5227 }
5228 if (_obj7)
5229{
c8bc7bb8
RD
5230 _arg7 = wxString_in_helper(_obj7);
5231 if (_arg7 == NULL)
6d19860f 5232 return NULL;
6d19860f
RD
5233}
5234{
4268f798 5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5236 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
6d19860f 5237
4268f798 5238 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5239 if (PyErr_Occurred()) return NULL;
5240} _resultobj = Py_BuildValue("i",_result);
5241{
5242 if (_obj7)
5243 delete _arg7;
5244}
5245 return _resultobj;
5246}
5247
5248#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5249static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject * _resultobj;
5251 wxListView * _arg0;
5252 long _arg1;
5253 bool _arg2 = (bool ) TRUE;
5254 PyObject * _argo0 = 0;
5255 int tempbool2 = (int) TRUE;
5256 char *_kwnames[] = { "self","n","on", NULL };
5257
5258 self = self;
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5260 return NULL;
5261 if (_argo0) {
5262 if (_argo0 == Py_None) { _arg0 = NULL; }
5263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5265 return NULL;
5266 }
5267 }
5268 _arg2 = (bool ) tempbool2;
5269{
4268f798 5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5271 wxListView_Select(_arg0,_arg1,_arg2);
6d19860f 5272
4268f798 5273 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5274 if (PyErr_Occurred()) return NULL;
5275} Py_INCREF(Py_None);
5276 _resultobj = Py_None;
5277 return _resultobj;
5278}
5279
5280#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5281static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject * _resultobj;
5283 wxListView * _arg0;
5284 long _arg1;
5285 PyObject * _argo0 = 0;
5286 char *_kwnames[] = { "self","index", NULL };
5287
5288 self = self;
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5290 return NULL;
5291 if (_argo0) {
5292 if (_argo0 == Py_None) { _arg0 = NULL; }
5293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5295 return NULL;
5296 }
5297 }
5298{
4268f798 5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5300 wxListView_Focus(_arg0,_arg1);
6d19860f 5301
4268f798 5302 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5303 if (PyErr_Occurred()) return NULL;
5304} Py_INCREF(Py_None);
5305 _resultobj = Py_None;
5306 return _resultobj;
5307}
5308
5309#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5310static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject * _resultobj;
5312 long _result;
5313 wxListView * _arg0;
5314 PyObject * _argo0 = 0;
5315 char *_kwnames[] = { "self", NULL };
5316
5317 self = self;
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5319 return NULL;
5320 if (_argo0) {
5321 if (_argo0 == Py_None) { _arg0 = NULL; }
5322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5324 return NULL;
5325 }
5326 }
5327{
4268f798 5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5329 _result = (long )wxListView_GetFocusedItem(_arg0);
6d19860f 5330
4268f798 5331 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5332 if (PyErr_Occurred()) return NULL;
5333} _resultobj = Py_BuildValue("l",_result);
5334 return _resultobj;
5335}
5336
5337#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5338static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject * _resultobj;
5340 long _result;
5341 wxListView * _arg0;
5342 long _arg1;
5343 PyObject * _argo0 = 0;
5344 char *_kwnames[] = { "self","item", NULL };
5345
5346 self = self;
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5348 return NULL;
5349 if (_argo0) {
5350 if (_argo0 == Py_None) { _arg0 = NULL; }
5351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5353 return NULL;
5354 }
5355 }
5356{
4268f798 5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5358 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
6d19860f 5359
4268f798 5360 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5361 if (PyErr_Occurred()) return NULL;
5362} _resultobj = Py_BuildValue("l",_result);
5363 return _resultobj;
5364}
5365
5366#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5367static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject * _resultobj;
5369 long _result;
5370 wxListView * _arg0;
5371 PyObject * _argo0 = 0;
5372 char *_kwnames[] = { "self", NULL };
5373
5374 self = self;
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5376 return NULL;
5377 if (_argo0) {
5378 if (_argo0 == Py_None) { _arg0 = NULL; }
5379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5381 return NULL;
5382 }
5383 }
5384{
4268f798 5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5386 _result = (long )wxListView_GetFirstSelected(_arg0);
6d19860f 5387
4268f798 5388 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5389 if (PyErr_Occurred()) return NULL;
5390} _resultobj = Py_BuildValue("l",_result);
5391 return _resultobj;
5392}
5393
5394#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5395static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject * _resultobj;
5397 bool _result;
5398 wxListView * _arg0;
5399 long _arg1;
5400 PyObject * _argo0 = 0;
5401 char *_kwnames[] = { "self","index", NULL };
5402
5403 self = self;
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5405 return NULL;
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5410 return NULL;
5411 }
5412 }
5413{
4268f798 5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5415 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
6d19860f 5416
4268f798 5417 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5418 if (PyErr_Occurred()) return NULL;
5419} _resultobj = Py_BuildValue("i",_result);
5420 return _resultobj;
5421}
5422
5423#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5424static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject * _resultobj;
5426 wxListView * _arg0;
5427 int _arg1;
5428 int _arg2;
5429 PyObject * _argo0 = 0;
5430 char *_kwnames[] = { "self","col","image", NULL };
5431
5432 self = self;
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5434 return NULL;
5435 if (_argo0) {
5436 if (_argo0 == Py_None) { _arg0 = NULL; }
5437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5439 return NULL;
5440 }
5441 }
5442{
4268f798 5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5444 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
6d19860f 5445
4268f798 5446 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5447 if (PyErr_Occurred()) return NULL;
5448} Py_INCREF(Py_None);
5449 _resultobj = Py_None;
5450 return _resultobj;
5451}
5452
5453#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5454static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5455 PyObject * _resultobj;
5456 wxListView * _arg0;
5457 int _arg1;
5458 PyObject * _argo0 = 0;
5459 char *_kwnames[] = { "self","col", NULL };
5460
5461 self = self;
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5463 return NULL;
5464 if (_argo0) {
5465 if (_argo0 == Py_None) { _arg0 = NULL; }
5466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5468 return NULL;
5469 }
5470 }
5471{
4268f798 5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5473 wxListView_ClearColumnImage(_arg0,_arg1);
6d19860f 5474
4268f798 5475 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5476 if (PyErr_Occurred()) return NULL;
5477} Py_INCREF(Py_None);
5478 _resultobj = Py_None;
5479 return _resultobj;
5480}
5481
00b6c4e3
RD
5482#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5483static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject * _resultobj;
5485 wxTreeItemAttr * _result;
5486 wxColour * _arg0 = (wxColour *) &wxNullColour;
5487 wxColour * _arg1 = (wxColour *) &wxNullColour;
5488 wxFont * _arg2 = (wxFont *) &wxNullFont;
5489 wxColour temp;
5490 PyObject * _obj0 = 0;
5491 wxColour temp0;
5492 PyObject * _obj1 = 0;
5493 PyObject * _argo2 = 0;
5494 char *_kwnames[] = { "colText","colBack","font", NULL };
5495 char _ptemp[128];
5496
5497 self = self;
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5499 return NULL;
5500 if (_obj0)
5501{
5502 _arg0 = &temp;
5503 if (! wxColour_helper(_obj0, &_arg0))
5504 return NULL;
5505}
5506 if (_obj1)
5507{
5508 _arg1 = &temp0;
5509 if (! wxColour_helper(_obj1, &_arg1))
5510 return NULL;
5511}
5512 if (_argo2) {
7e50db3f 5513 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
00b6c4e3
RD
5514 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5515 return NULL;
5516 }
5517 }
5518{
4268f798 5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5520 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
00b6c4e3 5521
4268f798 5522 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5523 if (PyErr_Occurred()) return NULL;
5524} if (_result) {
5525 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5526 _resultobj = Py_BuildValue("s",_ptemp);
5527 } else {
5528 Py_INCREF(Py_None);
5529 _resultobj = Py_None;
5530 }
5531 return _resultobj;
5532}
5533
5534#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5535static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxTreeItemAttr * _arg0;
5538 wxColour * _arg1;
5539 PyObject * _argo0 = 0;
5540 wxColour temp;
5541 PyObject * _obj1 = 0;
5542 char *_kwnames[] = { "self","colText", NULL };
5543
5544 self = self;
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5546 return NULL;
5547 if (_argo0) {
5548 if (_argo0 == Py_None) { _arg0 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5551 return NULL;
5552 }
5553 }
5554{
5555 _arg1 = &temp;
5556 if (! wxColour_helper(_obj1, &_arg1))
5557 return NULL;
5558}
5559{
4268f798 5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5561 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
00b6c4e3 5562
4268f798 5563 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5564 if (PyErr_Occurred()) return NULL;
5565} Py_INCREF(Py_None);
5566 _resultobj = Py_None;
5567 return _resultobj;
5568}
5569
5570#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5571static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject * _resultobj;
5573 wxTreeItemAttr * _arg0;
5574 wxColour * _arg1;
5575 PyObject * _argo0 = 0;
5576 wxColour temp;
5577 PyObject * _obj1 = 0;
5578 char *_kwnames[] = { "self","colBack", NULL };
5579
5580 self = self;
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5582 return NULL;
5583 if (_argo0) {
5584 if (_argo0 == Py_None) { _arg0 = NULL; }
5585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5587 return NULL;
5588 }
5589 }
5590{
5591 _arg1 = &temp;
5592 if (! wxColour_helper(_obj1, &_arg1))
5593 return NULL;
5594}
5595{
4268f798 5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5597 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
00b6c4e3 5598
4268f798 5599 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5600 if (PyErr_Occurred()) return NULL;
5601} Py_INCREF(Py_None);
5602 _resultobj = Py_None;
5603 return _resultobj;
5604}
5605
5606#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5607static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject * _resultobj;
5609 wxTreeItemAttr * _arg0;
5610 wxFont * _arg1;
5611 PyObject * _argo0 = 0;
5612 PyObject * _argo1 = 0;
5613 char *_kwnames[] = { "self","font", NULL };
5614
5615 self = self;
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
5617 return NULL;
5618 if (_argo0) {
5619 if (_argo0 == Py_None) { _arg0 = NULL; }
5620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5622 return NULL;
5623 }
5624 }
5625 if (_argo1) {
7e50db3f 5626 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
00b6c4e3
RD
5627 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5628 return NULL;
5629 }
5630 }
5631{
4268f798 5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5633 wxTreeItemAttr_SetFont(_arg0,*_arg1);
00b6c4e3 5634
4268f798 5635 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5636 if (PyErr_Occurred()) return NULL;
5637} Py_INCREF(Py_None);
5638 _resultobj = Py_None;
5639 return _resultobj;
5640}
5641
5642#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5643static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5644 PyObject * _resultobj;
5645 bool _result;
5646 wxTreeItemAttr * _arg0;
5647 PyObject * _argo0 = 0;
5648 char *_kwnames[] = { "self", NULL };
5649
5650 self = self;
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5652 return NULL;
5653 if (_argo0) {
5654 if (_argo0 == Py_None) { _arg0 = NULL; }
5655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5657 return NULL;
5658 }
5659 }
5660{
4268f798 5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5662 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
00b6c4e3 5663
4268f798 5664 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5665 if (PyErr_Occurred()) return NULL;
5666} _resultobj = Py_BuildValue("i",_result);
5667 return _resultobj;
5668}
5669
5670#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5671static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject * _resultobj;
5673 bool _result;
5674 wxTreeItemAttr * _arg0;
5675 PyObject * _argo0 = 0;
5676 char *_kwnames[] = { "self", NULL };
5677
5678 self = self;
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5680 return NULL;
5681 if (_argo0) {
5682 if (_argo0 == Py_None) { _arg0 = NULL; }
5683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5685 return NULL;
5686 }
5687 }
5688{
4268f798 5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5690 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
00b6c4e3 5691
4268f798 5692 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5693 if (PyErr_Occurred()) return NULL;
5694} _resultobj = Py_BuildValue("i",_result);
5695 return _resultobj;
5696}
5697
5698#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5699static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject * _resultobj;
5701 bool _result;
5702 wxTreeItemAttr * _arg0;
5703 PyObject * _argo0 = 0;
5704 char *_kwnames[] = { "self", NULL };
5705
5706 self = self;
5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
5708 return NULL;
5709 if (_argo0) {
5710 if (_argo0 == Py_None) { _arg0 = NULL; }
5711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5713 return NULL;
5714 }
5715 }
5716{
4268f798 5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5718 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
00b6c4e3 5719
4268f798 5720 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5721 if (PyErr_Occurred()) return NULL;
5722} _resultobj = Py_BuildValue("i",_result);
5723 return _resultobj;
5724}
5725
5726#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5727static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject * _resultobj;
5729 wxColour * _result;
5730 wxTreeItemAttr * _arg0;
5731 PyObject * _argo0 = 0;
5732 char *_kwnames[] = { "self", NULL };
5733 char _ptemp[128];
5734
5735 self = self;
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
5737 return NULL;
5738 if (_argo0) {
5739 if (_argo0 == Py_None) { _arg0 = NULL; }
5740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5742 return NULL;
5743 }
5744 }
5745{
4268f798 5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5747 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
00b6c4e3 5748
4268f798 5749 wxPyEndAllowThreads(__tstate);
00b6c4e3 5750 if (PyErr_Occurred()) return NULL;
c5943253
RD
5751} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5752 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5753 return _resultobj;
5754}
5755
5756#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5757static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5758 PyObject * _resultobj;
5759 wxColour * _result;
5760 wxTreeItemAttr * _arg0;
5761 PyObject * _argo0 = 0;
5762 char *_kwnames[] = { "self", NULL };
5763 char _ptemp[128];
5764
5765 self = self;
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5767 return NULL;
5768 if (_argo0) {
5769 if (_argo0 == Py_None) { _arg0 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5772 return NULL;
5773 }
5774 }
5775{
4268f798 5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5777 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
00b6c4e3 5778
4268f798 5779 wxPyEndAllowThreads(__tstate);
00b6c4e3 5780 if (PyErr_Occurred()) return NULL;
c5943253
RD
5781} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5782 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5783 return _resultobj;
5784}
5785
5786#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5787static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject * _resultobj;
5789 wxFont * _result;
5790 wxTreeItemAttr * _arg0;
5791 PyObject * _argo0 = 0;
5792 char *_kwnames[] = { "self", NULL };
5793 char _ptemp[128];
5794
5795 self = self;
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5797 return NULL;
5798 if (_argo0) {
5799 if (_argo0 == Py_None) { _arg0 = NULL; }
5800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5802 return NULL;
5803 }
5804 }
5805{
4268f798 5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5807 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
00b6c4e3 5808
4268f798 5809 wxPyEndAllowThreads(__tstate);
00b6c4e3 5810 if (PyErr_Occurred()) return NULL;
c5943253
RD
5811} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5812 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5813 return _resultobj;
5814}
5815
d5c9047a 5816#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 5817static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5818 PyObject * _resultobj;
d5c9047a 5819 wxTreeItemId * _result;
efc5f224 5820 char *_kwnames[] = { NULL };
d5c9047a 5821 char _ptemp[128];
8ab979d7
RD
5822
5823 self = self;
efc5f224 5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 5825 return NULL;
cf694132 5826{
4268f798 5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5828 _result = (wxTreeItemId *)new_wxTreeItemId();
cf694132 5829
4268f798 5830 wxPyEndAllowThreads(__tstate);
493f1553 5831 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5832} if (_result) {
5833 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5834 _resultobj = Py_BuildValue("s",_ptemp);
5835 } else {
5836 Py_INCREF(Py_None);
5837 _resultobj = Py_None;
5838 }
8ab979d7
RD
5839 return _resultobj;
5840}
5841
d5c9047a 5842#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 5843static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5844 PyObject * _resultobj;
d5c9047a 5845 wxTreeItemId * _arg0;
1d99702e 5846 PyObject * _argo0 = 0;
efc5f224 5847 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5848
5849 self = self;
efc5f224 5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 5851 return NULL;
1d99702e
RD
5852 if (_argo0) {
5853 if (_argo0 == Py_None) { _arg0 = NULL; }
5854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
5856 return NULL;
5857 }
5858 }
cf694132 5859{
4268f798 5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5861 delete_wxTreeItemId(_arg0);
cf694132 5862
4268f798 5863 wxPyEndAllowThreads(__tstate);
493f1553 5864 if (PyErr_Occurred()) return NULL;
cf694132 5865} Py_INCREF(Py_None);
d5c9047a 5866 _resultobj = Py_None;
8ab979d7
RD
5867 return _resultobj;
5868}
5869
d5c9047a 5870#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 5871static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5872 PyObject * _resultobj;
d5c9047a
RD
5873 bool _result;
5874 wxTreeItemId * _arg0;
1d99702e 5875 PyObject * _argo0 = 0;
efc5f224 5876 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5877
5878 self = self;
efc5f224 5879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 5880 return NULL;
1d99702e
RD
5881 if (_argo0) {
5882 if (_argo0 == Py_None) { _arg0 = NULL; }
5883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
5885 return NULL;
5886 }
5887 }
cf694132 5888{
4268f798 5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5890 _result = (bool )wxTreeItemId_IsOk(_arg0);
cf694132 5891
4268f798 5892 wxPyEndAllowThreads(__tstate);
493f1553 5893 if (PyErr_Occurred()) return NULL;
cf694132 5894} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5895 return _resultobj;
5896}
5897
f6bcfd97 5898static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 5899 if (! other) return -1;
f6bcfd97
BP
5900 return *self != *other;
5901 }
5902static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5903 PyObject * _resultobj;
5904 int _result;
5905 wxTreeItemId * _arg0;
5906 wxTreeItemId * _arg1;
5907 PyObject * _argo0 = 0;
5908 PyObject * _argo1 = 0;
5909 char *_kwnames[] = { "self","other", NULL };
5910
5911 self = self;
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5913 return NULL;
5914 if (_argo0) {
5915 if (_argo0 == Py_None) { _arg0 = NULL; }
5916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5918 return NULL;
5919 }
5920 }
5921 if (_argo1) {
5922 if (_argo1 == Py_None) { _arg1 = NULL; }
5923 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5924 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5925 return NULL;
5926 }
5927 }
5928{
4268f798 5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5930 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
f6bcfd97 5931
4268f798 5932 wxPyEndAllowThreads(__tstate);
493f1553 5933 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5934} _resultobj = Py_BuildValue("i",_result);
5935 return _resultobj;
5936}
5937
cf694132 5938#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 5939static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5940 PyObject * _resultobj;
cf694132 5941 wxPyTreeItemData * _result;
1d99702e 5942 PyObject * _arg0 = (PyObject *) NULL;
cf694132 5943 PyObject * _obj0 = 0;
efc5f224 5944 char *_kwnames[] = { "obj", NULL };
d5c9047a 5945 char _ptemp[128];
8ab979d7
RD
5946
5947 self = self;
efc5f224 5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 5949 return NULL;
cf694132
RD
5950 if (_obj0)
5951{
5952 _arg0 = _obj0;
5953}
5954{
4268f798 5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5956 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
cf694132 5957
4268f798 5958 wxPyEndAllowThreads(__tstate);
493f1553 5959 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5960} if (_result) {
5961 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
5962 _resultobj = Py_BuildValue("s",_ptemp);
5963 } else {
5964 Py_INCREF(Py_None);
5965 _resultobj = Py_None;
5966 }
8ab979d7
RD
5967 return _resultobj;
5968}
5969
cf694132 5970#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 5971static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
5972 PyObject * _resultobj;
5973 PyObject * _result;
5974 wxPyTreeItemData * _arg0;
1d99702e 5975 PyObject * _argo0 = 0;
efc5f224 5976 char *_kwnames[] = { "self", NULL };
cf694132
RD
5977
5978 self = self;
efc5f224 5979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 5980 return NULL;
1d99702e
RD
5981 if (_argo0) {
5982 if (_argo0 == Py_None) { _arg0 = NULL; }
5983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
5984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5985 return NULL;
5986 }
5987 }
5988{
4268f798 5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5990 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
cf694132 5991
4268f798 5992 wxPyEndAllowThreads(__tstate);
493f1553 5993 if (PyErr_Occurred()) return NULL;
cf694132
RD
5994}{
5995 _resultobj = _result;
5996}
5997 return _resultobj;
5998}
5999
6000#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 6001static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6002 PyObject * _resultobj;
cf694132
RD
6003 wxPyTreeItemData * _arg0;
6004 PyObject * _arg1;
1d99702e 6005 PyObject * _argo0 = 0;
cf694132 6006 PyObject * _obj1 = 0;
efc5f224 6007 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
6008
6009 self = self;
efc5f224 6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 6011 return NULL;
1d99702e
RD
6012 if (_argo0) {
6013 if (_argo0 == Py_None) { _arg0 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6016 return NULL;
6017 }
6018 }
cf694132
RD
6019{
6020 _arg1 = _obj1;
6021}
6022{
4268f798 6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6024 wxTreeItemData_SetData(_arg0,_arg1);
cf694132 6025
4268f798 6026 wxPyEndAllowThreads(__tstate);
493f1553 6027 if (PyErr_Occurred()) return NULL;
cf694132 6028} Py_INCREF(Py_None);
d5c9047a 6029 _resultobj = Py_None;
8ab979d7
RD
6030 return _resultobj;
6031}
6032
630d84f2 6033#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 6034static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6035 PyObject * _resultobj;
d5c9047a 6036 wxTreeItemId * _result;
cf694132 6037 wxPyTreeItemData * _arg0;
1d99702e 6038 PyObject * _argo0 = 0;
efc5f224 6039 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6040 char _ptemp[128];
6041
6042 self = self;
efc5f224 6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 6044 return NULL;
1d99702e
RD
6045 if (_argo0) {
6046 if (_argo0 == Py_None) { _arg0 = NULL; }
6047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6049 return NULL;
6050 }
6051 }
cf694132 6052{
4268f798 6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6054 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 6055 _result = (wxTreeItemId *) &_result_ref;
cf694132 6056
4268f798 6057 wxPyEndAllowThreads(__tstate);
493f1553 6058 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6059} if (_result) {
6060 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6061 _resultobj = Py_BuildValue("s",_ptemp);
6062 } else {
6063 Py_INCREF(Py_None);
6064 _resultobj = Py_None;
6065 }
8ab979d7
RD
6066 return _resultobj;
6067}
6068
630d84f2 6069#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 6070static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 6071 PyObject * _resultobj;
cf694132 6072 wxPyTreeItemData * _arg0;
630d84f2 6073 wxTreeItemId * _arg1;
1d99702e
RD
6074 PyObject * _argo0 = 0;
6075 PyObject * _argo1 = 0;
efc5f224 6076 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6077
6078 self = self;
efc5f224 6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6080 return NULL;
1d99702e
RD
6081 if (_argo0) {
6082 if (_argo0 == Py_None) { _arg0 = NULL; }
6083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6085 return NULL;
6086 }
6087 }
1d99702e 6088 if (_argo1) {
7e50db3f 6089 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6091 return NULL;
6092 }
6093 }
cf694132 6094{
4268f798 6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6096 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6097
4268f798 6098 wxPyEndAllowThreads(__tstate);
493f1553 6099 if (PyErr_Occurred()) return NULL;
cf694132 6100} Py_INCREF(Py_None);
630d84f2
RD
6101 _resultobj = Py_None;
6102 return _resultobj;
6103}
6104
8bf5d46e
RD
6105static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6106 wxTreeEvent *src;
6107 wxNotifyEvent *dest;
6108 src = (wxTreeEvent *) ptr;
6109 dest = (wxNotifyEvent *) src;
6110 return (void *) dest;
6111}
6112
8ab979d7
RD
6113static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6114 wxTreeEvent *src;
6115 wxCommandEvent *dest;
6116 src = (wxTreeEvent *) ptr;
6117 dest = (wxCommandEvent *) src;
6118 return (void *) dest;
6119}
6120
6121static void *SwigwxTreeEventTowxEvent(void *ptr) {
6122 wxTreeEvent *src;
6123 wxEvent *dest;
6124 src = (wxTreeEvent *) ptr;
6125 dest = (wxEvent *) src;
6126 return (void *) dest;
6127}
6128
9416aa89
RD
6129static void *SwigwxTreeEventTowxObject(void *ptr) {
6130 wxTreeEvent *src;
6131 wxObject *dest;
6132 src = (wxTreeEvent *) ptr;
6133 dest = (wxObject *) src;
6134 return (void *) dest;
6135}
6136
00b6c4e3
RD
6137#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6138static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject * _resultobj;
6140 wxTreeEvent * _result;
6141 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6142 int _arg1 = (int ) 0;
6143 char *_kwnames[] = { "commandType","id", NULL };
6144 char _ptemp[128];
6145
6146 self = self;
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6148 return NULL;
6149{
4268f798 6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6151 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
00b6c4e3 6152
4268f798 6153 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6154 if (PyErr_Occurred()) return NULL;
6155} if (_result) {
6156 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6157 _resultobj = Py_BuildValue("s",_ptemp);
6158 } else {
6159 Py_INCREF(Py_None);
6160 _resultobj = Py_None;
6161 }
6162 return _resultobj;
6163}
6164
d5c9047a 6165#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6166static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6167 PyObject * _resultobj;
d5c9047a 6168 wxTreeItemId * _result;
8ab979d7 6169 wxTreeEvent * _arg0;
1d99702e 6170 PyObject * _argo0 = 0;
efc5f224 6171 char *_kwnames[] = { "self", NULL };
d5c9047a 6172 char _ptemp[128];
8ab979d7
RD
6173
6174 self = self;
efc5f224 6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6176 return NULL;
1d99702e
RD
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6181 return NULL;
6182 }
6183 }
cf694132 6184{
4268f798 6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6186 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6187
4268f798 6188 wxPyEndAllowThreads(__tstate);
493f1553 6189 if (PyErr_Occurred()) return NULL;
cf694132 6190} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6191 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6192 return _resultobj;
6193}
6194
5a2a9da2
RD
6195#define wxTreeEvent_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
6196static PyObject *_wrap_wxTreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6197 PyObject * _resultobj;
6198 wxTreeEvent * _arg0;
6199 wxTreeItemId * _arg1;
6200 PyObject * _argo0 = 0;
6201 PyObject * _argo1 = 0;
6202 char *_kwnames[] = { "self","item", NULL };
6203
6204 self = self;
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeEvent_SetItem",_kwnames,&_argo0,&_argo1))
6206 return NULL;
6207 if (_argo0) {
6208 if (_argo0 == Py_None) { _arg0 = NULL; }
6209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_SetItem. Expected _wxTreeEvent_p.");
6211 return NULL;
6212 }
6213 }
6214 if (_argo1) {
6215 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeEvent_SetItem. Expected _wxTreeItemId_p.");
6217 return NULL;
6218 }
6219 }
6220{
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 wxTreeEvent_SetItem(_arg0,*_arg1);
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) return NULL;
6226} Py_INCREF(Py_None);
6227 _resultobj = Py_None;
6228 return _resultobj;
6229}
6230
d5c9047a 6231#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6232static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6233 PyObject * _resultobj;
d5c9047a 6234 wxTreeItemId * _result;
8ab979d7 6235 wxTreeEvent * _arg0;
1d99702e 6236 PyObject * _argo0 = 0;
efc5f224 6237 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6238 char _ptemp[128];
6239
6240 self = self;
efc5f224 6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6242 return NULL;
1d99702e
RD
6243 if (_argo0) {
6244 if (_argo0 == Py_None) { _arg0 = NULL; }
6245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6247 return NULL;
6248 }
6249 }
cf694132 6250{
4268f798 6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6252 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6253
4268f798 6254 wxPyEndAllowThreads(__tstate);
493f1553 6255 if (PyErr_Occurred()) return NULL;
cf694132 6256} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6257 _resultobj = Py_BuildValue("s",_ptemp);
6258 return _resultobj;
6259}
6260
5a2a9da2
RD
6261#define wxTreeEvent_SetOldItem(_swigobj,_swigarg0) (_swigobj->SetOldItem(_swigarg0))
6262static PyObject *_wrap_wxTreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject * _resultobj;
6264 wxTreeEvent * _arg0;
6265 wxTreeItemId * _arg1;
6266 PyObject * _argo0 = 0;
6267 PyObject * _argo1 = 0;
6268 char *_kwnames[] = { "self","item", NULL };
6269
6270 self = self;
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeEvent_SetOldItem",_kwnames,&_argo0,&_argo1))
6272 return NULL;
6273 if (_argo0) {
6274 if (_argo0 == Py_None) { _arg0 = NULL; }
6275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_SetOldItem. Expected _wxTreeEvent_p.");
6277 return NULL;
6278 }
6279 }
6280 if (_argo1) {
6281 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeEvent_SetOldItem. Expected _wxTreeItemId_p.");
6283 return NULL;
6284 }
6285 }
6286{
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 wxTreeEvent_SetOldItem(_arg0,*_arg1);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) return NULL;
6292} Py_INCREF(Py_None);
6293 _resultobj = Py_None;
6294 return _resultobj;
6295}
6296
d5c9047a 6297#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6298static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6299 PyObject * _resultobj;
d5c9047a 6300 wxPoint * _result;
8ab979d7 6301 wxTreeEvent * _arg0;
1d99702e 6302 PyObject * _argo0 = 0;
efc5f224 6303 char *_kwnames[] = { "self", NULL };
d5c9047a 6304 char _ptemp[128];
8ab979d7
RD
6305
6306 self = self;
efc5f224 6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6308 return NULL;
1d99702e
RD
6309 if (_argo0) {
6310 if (_argo0 == Py_None) { _arg0 = NULL; }
6311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6313 return NULL;
6314 }
6315 }
cf694132 6316{
4268f798 6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6318 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6319
4268f798 6320 wxPyEndAllowThreads(__tstate);
493f1553 6321 if (PyErr_Occurred()) return NULL;
cf694132 6322} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6323 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6324 return _resultobj;
6325}
6326
5a2a9da2
RD
6327#define wxTreeEvent_SetPoint(_swigobj,_swigarg0) (_swigobj->SetPoint(_swigarg0))
6328static PyObject *_wrap_wxTreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject * _resultobj;
6330 wxTreeEvent * _arg0;
6331 wxPoint * _arg1;
6332 PyObject * _argo0 = 0;
6333 wxPoint temp;
6334 PyObject * _obj1 = 0;
6335 char *_kwnames[] = { "self","pt", NULL };
6336
6337 self = self;
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeEvent_SetPoint",_kwnames,&_argo0,&_obj1))
6339 return NULL;
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_SetPoint. Expected _wxTreeEvent_p.");
6344 return NULL;
6345 }
6346 }
6347{
6348 _arg1 = &temp;
6349 if (! wxPoint_helper(_obj1, &_arg1))
6350 return NULL;
6351}
6352{
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 wxTreeEvent_SetPoint(_arg0,*_arg1);
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) return NULL;
6358} Py_INCREF(Py_None);
6359 _resultobj = Py_None;
6360 return _resultobj;
6361}
6362
ecc08ead
RD
6363#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6364static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject * _resultobj;
6366 wxKeyEvent * _result;
6367 wxTreeEvent * _arg0;
6368 PyObject * _argo0 = 0;
6369 char *_kwnames[] = { "self", NULL };
6370 char _ptemp[128];
6371
6372 self = self;
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6374 return NULL;
6375 if (_argo0) {
6376 if (_argo0 == Py_None) { _arg0 = NULL; }
6377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6379 return NULL;
6380 }
6381 }
6382{
4268f798 6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6384 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
ecc08ead
RD
6385 _result = (wxKeyEvent *) &_result_ref;
6386
4268f798 6387 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6388 if (PyErr_Occurred()) return NULL;
6389} if (_result) {
6390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6391 _resultobj = Py_BuildValue("s",_ptemp);
6392 } else {
6393 Py_INCREF(Py_None);
6394 _resultobj = Py_None;
6395 }
6396 return _resultobj;
6397}
6398
64c06a50
RD
6399#define wxTreeEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
6400static PyObject *_wrap_wxTreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6401 PyObject * _resultobj;
d5c9047a 6402 int _result;
8ab979d7 6403 wxTreeEvent * _arg0;
1d99702e 6404 PyObject * _argo0 = 0;
efc5f224 6405 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6406
6407 self = self;
64c06a50 6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyCode",_kwnames,&_argo0))
8ab979d7 6409 return NULL;
1d99702e
RD
6410 if (_argo0) {
6411 if (_argo0 == Py_None) { _arg0 = NULL; }
6412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
64c06a50 6413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6414 return NULL;
6415 }
6416 }
cf694132 6417{
4268f798 6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
64c06a50 6419 _result = (int )wxTreeEvent_GetKeyCode(_arg0);
cf694132 6420
4268f798 6421 wxPyEndAllowThreads(__tstate);
493f1553 6422 if (PyErr_Occurred()) return NULL;
cf694132 6423} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6424 return _resultobj;
6425}
6426
5a2a9da2
RD
6427#define wxTreeEvent_SetKeyEvent(_swigobj,_swigarg0) (_swigobj->SetKeyEvent(_swigarg0))
6428static PyObject *_wrap_wxTreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject * _resultobj;
6430 wxTreeEvent * _arg0;
6431 wxKeyEvent * _arg1;
6432 PyObject * _argo0 = 0;
6433 PyObject * _argo1 = 0;
6434 char *_kwnames[] = { "self","evt", NULL };
6435
6436 self = self;
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeEvent_SetKeyEvent",_kwnames,&_argo0,&_argo1))
6438 return NULL;
6439 if (_argo0) {
6440 if (_argo0 == Py_None) { _arg0 = NULL; }
6441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_SetKeyEvent. Expected _wxTreeEvent_p.");
6443 return NULL;
6444 }
6445 }
6446 if (_argo1) {
6447 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeEvent_SetKeyEvent. Expected _wxKeyEvent_p.");
6449 return NULL;
6450 }
6451 }
6452{
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 wxTreeEvent_SetKeyEvent(_arg0,*_arg1);
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) return NULL;
6458} Py_INCREF(Py_None);
6459 _resultobj = Py_None;
6460 return _resultobj;
6461}
6462
8bf5d46e 6463#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6464static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6465 PyObject * _resultobj;
8bf5d46e 6466 wxString * _result;
d5c9047a 6467 wxTreeEvent * _arg0;
1d99702e 6468 PyObject * _argo0 = 0;
efc5f224 6469 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6470
6471 self = self;
efc5f224 6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6473 return NULL;
1d99702e
RD
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6478 return NULL;
6479 }
6480 }
cf694132 6481{
4268f798 6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6483 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6484 _result = (wxString *) &_result_ref;
cf694132 6485
4268f798 6486 wxPyEndAllowThreads(__tstate);
493f1553 6487 if (PyErr_Occurred()) return NULL;
8bf5d46e 6488}{
c8bc7bb8 6489#if wxUSE_UNICODE
7e50db3f 6490 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 6491#else
eec92d76 6492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6493#endif
8bf5d46e 6494}
8ab979d7
RD
6495 return _resultobj;
6496}
6497
5a2a9da2
RD
6498#define wxTreeEvent_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
6499static PyObject *_wrap_wxTreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject * _resultobj;
6501 wxTreeEvent * _arg0;
6502 wxString * _arg1;
6503 PyObject * _argo0 = 0;
6504 PyObject * _obj1 = 0;
6505 char *_kwnames[] = { "self","label", NULL };
6506
6507 self = self;
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeEvent_SetLabel",_kwnames,&_argo0,&_obj1))
6509 return NULL;
6510 if (_argo0) {
6511 if (_argo0 == Py_None) { _arg0 = NULL; }
6512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_SetLabel. Expected _wxTreeEvent_p.");
6514 return NULL;
6515 }
6516 }
6517{
6518 _arg1 = wxString_in_helper(_obj1);
6519 if (_arg1 == NULL)
6520 return NULL;
6521}
6522{
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 wxTreeEvent_SetLabel(_arg0,*_arg1);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) return NULL;
6528} Py_INCREF(Py_None);
6529 _resultobj = Py_None;
6530{
6531 if (_obj1)
6532 delete _arg1;
6533}
6534 return _resultobj;
6535}
6536
31988931
RD
6537#define wxTreeEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
6538static PyObject *_wrap_wxTreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject * _resultobj;
6540 bool _result;
6541 wxTreeEvent * _arg0;
6542 PyObject * _argo0 = 0;
6543 char *_kwnames[] = { "self", NULL };
6544
6545 self = self;
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_IsEditCancelled",_kwnames,&_argo0))
6547 return NULL;
6548 if (_argo0) {
6549 if (_argo0 == Py_None) { _arg0 = NULL; }
6550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_IsEditCancelled. Expected _wxTreeEvent_p.");
6552 return NULL;
6553 }
6554 }
6555{
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 _result = (bool )wxTreeEvent_IsEditCancelled(_arg0);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) return NULL;
6561} _resultobj = Py_BuildValue("i",_result);
6562 return _resultobj;
6563}
6564
5a2a9da2
RD
6565#define wxTreeEvent_SetEditCanceled(_swigobj,_swigarg0) (_swigobj->SetEditCanceled(_swigarg0))
6566static PyObject *_wrap_wxTreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject * _resultobj;
6568 wxTreeEvent * _arg0;
6569 bool _arg1;
6570 PyObject * _argo0 = 0;
6571 int tempbool1;
6572 char *_kwnames[] = { "self","editCancelled", NULL };
6573
6574 self = self;
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeEvent_SetEditCanceled",_kwnames,&_argo0,&tempbool1))
6576 return NULL;
6577 if (_argo0) {
6578 if (_argo0 == Py_None) { _arg0 = NULL; }
6579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_SetEditCanceled. Expected _wxTreeEvent_p.");
6581 return NULL;
6582 }
6583 }
6584 _arg1 = (bool ) tempbool1;
6585{
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 wxTreeEvent_SetEditCanceled(_arg0,_arg1);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) return NULL;
6591} Py_INCREF(Py_None);
6592 _resultobj = Py_None;
6593 return _resultobj;
6594}
6595
f6bcfd97
BP
6596static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6597 wxPyTreeCtrl *src;
8ab979d7 6598 wxControl *dest;
f6bcfd97 6599 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6600 dest = (wxControl *) src;
6601 return (void *) dest;
6602}
6603
f6bcfd97
BP
6604static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6605 wxPyTreeCtrl *src;
8ab979d7 6606 wxWindow *dest;
f6bcfd97 6607 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6608 dest = (wxWindow *) src;
6609 return (void *) dest;
6610}
6611
f6bcfd97
BP
6612static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6613 wxPyTreeCtrl *src;
8ab979d7 6614 wxEvtHandler *dest;
f6bcfd97 6615 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6616 dest = (wxEvtHandler *) src;
6617 return (void *) dest;
6618}
6619
9416aa89
RD
6620static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6621 wxPyTreeCtrl *src;
6622 wxObject *dest;
6623 src = (wxPyTreeCtrl *) ptr;
6624 dest = (wxObject *) src;
6625 return (void *) dest;
6626}
6627
f6bcfd97 6628#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6629static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6630 PyObject * _resultobj;
f6bcfd97 6631 wxPyTreeCtrl * _result;
8ab979d7 6632 wxWindow * _arg0;
1d99702e 6633 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6634 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6635 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5a2a9da2 6636 long _arg4 = (long ) (wxTR_DEFAULT_STYLE);
e508a2b6 6637 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 6638 wxString * _arg6 = (wxString *) &wxPy_TreeCtrlNameStr;
1d99702e 6639 PyObject * _argo0 = 0;
2f90df85
RD
6640 wxPoint temp;
6641 PyObject * _obj2 = 0;
6642 wxSize temp0;
6643 PyObject * _obj3 = 0;
1d99702e 6644 PyObject * _argo5 = 0;
137b5242 6645 PyObject * _obj6 = 0;
efc5f224 6646 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6647 char _ptemp[128];
6648
6649 self = self;
137b5242 6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 6651 return NULL;
1d99702e
RD
6652 if (_argo0) {
6653 if (_argo0 == Py_None) { _arg0 = NULL; }
6654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6656 return NULL;
6657 }
6658 }
2f90df85
RD
6659 if (_obj2)
6660{
6661 _arg2 = &temp;
6662 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6663 return NULL;
2f90df85
RD
6664}
6665 if (_obj3)
6666{
6667 _arg3 = &temp0;
6668 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6669 return NULL;
2f90df85 6670}
1d99702e 6671 if (_argo5) {
7e50db3f 6672 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6673 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6674 return NULL;
6675 }
6676 }
137b5242
RD
6677 if (_obj6)
6678{
6679 _arg6 = wxString_in_helper(_obj6);
6680 if (_arg6 == NULL)
6681 return NULL;
6682}
cf694132 6683{
4268f798 6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6685 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 6686
4268f798 6687 wxPyEndAllowThreads(__tstate);
493f1553 6688 if (PyErr_Occurred()) return NULL;
1d99702e 6689} if (_result) {
f6bcfd97 6690 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6691 _resultobj = Py_BuildValue("s",_ptemp);
6692 } else {
6693 Py_INCREF(Py_None);
6694 _resultobj = Py_None;
6695 }
137b5242
RD
6696{
6697 if (_obj6)
6698 delete _arg6;
6699}
8ab979d7
RD
6700 return _resultobj;
6701}
6702
09f3d4e6
RD
6703#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6704static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6705 PyObject * _resultobj;
6706 wxPyTreeCtrl * _result;
6707 char *_kwnames[] = { NULL };
6708 char _ptemp[128];
6709
6710 self = self;
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6712 return NULL;
6713{
4268f798 6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6715 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
09f3d4e6 6716
4268f798 6717 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6718 if (PyErr_Occurred()) return NULL;
6719} if (_result) {
6720 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6721 _resultobj = Py_BuildValue("s",_ptemp);
6722 } else {
6723 Py_INCREF(Py_None);
6724 _resultobj = Py_None;
6725 }
6726 return _resultobj;
6727}
6728
6729#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6730static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject * _resultobj;
6732 bool _result;
6733 wxPyTreeCtrl * _arg0;
6734 wxWindow * _arg1;
6735 wxWindowID _arg2 = (wxWindowID ) -1;
6736 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6737 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5a2a9da2 6738 long _arg5 = (long ) (wxTR_DEFAULT_STYLE);
09f3d4e6 6739 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 6740 wxString * _arg7 = (wxString *) &wxPy_TreeCtrlNameStr;
09f3d4e6
RD
6741 PyObject * _argo0 = 0;
6742 PyObject * _argo1 = 0;
6743 wxPoint temp;
6744 PyObject * _obj3 = 0;
6745 wxSize temp0;
6746 PyObject * _obj4 = 0;
6747 PyObject * _argo6 = 0;
137b5242 6748 PyObject * _obj7 = 0;
09f3d4e6
RD
6749 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6750
6751 self = self;
137b5242 6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
6753 return NULL;
6754 if (_argo0) {
6755 if (_argo0 == Py_None) { _arg0 = NULL; }
6756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6758 return NULL;
6759 }
6760 }
6761 if (_argo1) {
6762 if (_argo1 == Py_None) { _arg1 = NULL; }
6763 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6764 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6765 return NULL;
6766 }
6767 }
6768 if (_obj3)
6769{
6770 _arg3 = &temp;
6771 if (! wxPoint_helper(_obj3, &_arg3))
6772 return NULL;
6773}
6774 if (_obj4)
6775{
6776 _arg4 = &temp0;
6777 if (! wxSize_helper(_obj4, &_arg4))
6778 return NULL;
6779}
6780 if (_argo6) {
7e50db3f 6781 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
09f3d4e6
RD
6782 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6783 return NULL;
6784 }
6785 }
137b5242
RD
6786 if (_obj7)
6787{
6788 _arg7 = wxString_in_helper(_obj7);
6789 if (_arg7 == NULL)
6790 return NULL;
6791}
09f3d4e6 6792{
4268f798 6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6794 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 6795
4268f798 6796 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6797 if (PyErr_Occurred()) return NULL;
6798} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6799{
6800 if (_obj7)
6801 delete _arg7;
6802}
09f3d4e6
RD
6803 return _resultobj;
6804}
6805
0122b7e3
RD
6806#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6807static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6808 PyObject * _resultobj;
6809 wxPyTreeCtrl * _arg0;
6810 PyObject * _arg1;
6811 PyObject * _arg2;
6812 PyObject * _argo0 = 0;
6813 PyObject * _obj1 = 0;
6814 PyObject * _obj2 = 0;
6815 char *_kwnames[] = { "self","self","_class", NULL };
6816
6817 self = self;
0122b7e3 6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
6819 return NULL;
6820 if (_argo0) {
6821 if (_argo0 == Py_None) { _arg0 = NULL; }
6822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0122b7e3 6823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
f6bcfd97
BP
6824 return NULL;
6825 }
6826 }
6827{
6828 _arg1 = _obj1;
6829}
6830{
6831 _arg2 = _obj2;
6832}
6833{
4268f798 6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6835 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 6836
4268f798 6837 wxPyEndAllowThreads(__tstate);
493f1553 6838 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6839} Py_INCREF(Py_None);
6840 _resultobj = Py_None;
6841 return _resultobj;
6842}
6843
d5c9047a 6844#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6845static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6846 PyObject * _resultobj;
c127177f 6847 size_t _result;
f6bcfd97 6848 wxPyTreeCtrl * _arg0;
1d99702e 6849 PyObject * _argo0 = 0;
efc5f224 6850 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6851
6852 self = self;
efc5f224 6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6854 return NULL;
1d99702e
RD
6855 if (_argo0) {
6856 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6859 return NULL;
6860 }
6861 }
cf694132 6862{
4268f798 6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6864 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6865
4268f798 6866 wxPyEndAllowThreads(__tstate);
493f1553 6867 if (PyErr_Occurred()) return NULL;
c127177f 6868} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6869 return _resultobj;
6870}
6871
d5c9047a 6872#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6873static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6874 PyObject * _resultobj;
d5c9047a 6875 unsigned int _result;
f6bcfd97 6876 wxPyTreeCtrl * _arg0;
1d99702e 6877 PyObject * _argo0 = 0;
efc5f224 6878 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6879
6880 self = self;
efc5f224 6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6882 return NULL;
1d99702e
RD
6883 if (_argo0) {
6884 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6887 return NULL;
6888 }
6889 }
cf694132 6890{
4268f798 6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6892 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6893
4268f798 6894 wxPyEndAllowThreads(__tstate);
493f1553 6895 if (PyErr_Occurred()) return NULL;
cf694132 6896} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6897 return _resultobj;
6898}
6899
d5c9047a 6900#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6901static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6902 PyObject * _resultobj;
f6bcfd97 6903 wxPyTreeCtrl * _arg0;
d5c9047a 6904 unsigned int _arg1;
1d99702e 6905 PyObject * _argo0 = 0;
efc5f224 6906 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6907
6908 self = self;
efc5f224 6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6910 return NULL;
1d99702e
RD
6911 if (_argo0) {
6912 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6915 return NULL;
6916 }
6917 }
cf694132 6918{
4268f798 6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6920 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6921
4268f798 6922 wxPyEndAllowThreads(__tstate);
493f1553 6923 if (PyErr_Occurred()) return NULL;
cf694132 6924} Py_INCREF(Py_None);
d5c9047a 6925 _resultobj = Py_None;
8ab979d7
RD
6926 return _resultobj;
6927}
6928
d5c9047a 6929#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6930static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6931 PyObject * _resultobj;
d5c9047a 6932 wxImageList * _result;
f6bcfd97 6933 wxPyTreeCtrl * _arg0;
1d99702e 6934 PyObject * _argo0 = 0;
efc5f224 6935 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6936
6937 self = self;
efc5f224 6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6939 return NULL;
1d99702e
RD
6940 if (_argo0) {
6941 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6944 return NULL;
6945 }
6946 }
cf694132 6947{
4268f798 6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6949 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6950
4268f798 6951 wxPyEndAllowThreads(__tstate);
493f1553 6952 if (PyErr_Occurred()) return NULL;
9416aa89 6953}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6954 return _resultobj;
6955}
6956
d5c9047a 6957#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6958static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6959 PyObject * _resultobj;
d5c9047a 6960 wxImageList * _result;
f6bcfd97 6961 wxPyTreeCtrl * _arg0;
1d99702e 6962 PyObject * _argo0 = 0;
efc5f224 6963 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6964
6965 self = self;
efc5f224 6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6967 return NULL;
1d99702e
RD
6968 if (_argo0) {
6969 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6972 return NULL;
6973 }
6974 }
cf694132 6975{
4268f798 6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6977 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6978
4268f798 6979 wxPyEndAllowThreads(__tstate);
493f1553 6980 if (PyErr_Occurred()) return NULL;
9416aa89 6981}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6982 return _resultobj;
6983}
6984
d5c9047a 6985#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6986static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6987 PyObject * _resultobj;
f6bcfd97 6988 wxPyTreeCtrl * _arg0;
d5c9047a 6989 wxImageList * _arg1;
1d99702e
RD
6990 PyObject * _argo0 = 0;
6991 PyObject * _argo1 = 0;
efc5f224 6992 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6993
6994 self = self;
efc5f224 6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6996 return NULL;
1d99702e
RD
6997 if (_argo0) {
6998 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7001 return NULL;
7002 }
7003 }
1d99702e
RD
7004 if (_argo1) {
7005 if (_argo1 == Py_None) { _arg1 = NULL; }
7006 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
7007 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
7008 return NULL;
7009 }
7010 }
cf694132 7011{
4268f798 7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7013 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 7014
4268f798 7015 wxPyEndAllowThreads(__tstate);
493f1553 7016 if (PyErr_Occurred()) return NULL;
cf694132 7017} Py_INCREF(Py_None);
d5c9047a 7018 _resultobj = Py_None;
8ab979d7
RD
7019 return _resultobj;
7020}
7021
d5c9047a 7022#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 7023static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7024 PyObject * _resultobj;
f6bcfd97 7025 wxPyTreeCtrl * _arg0;
d5c9047a 7026 wxImageList * _arg1;
1d99702e
RD
7027 PyObject * _argo0 = 0;
7028 PyObject * _argo1 = 0;
efc5f224 7029 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
7030
7031 self = self;
efc5f224 7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 7033 return NULL;
1d99702e
RD
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_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7038 return NULL;
7039 }
7040 }
1d99702e
RD
7041 if (_argo1) {
7042 if (_argo1 == Py_None) { _arg1 = NULL; }
7043 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
7044 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7045 return NULL;
7046 }
7047 }
cf694132 7048{
4268f798 7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7050 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 7051
4268f798 7052 wxPyEndAllowThreads(__tstate);
493f1553 7053 if (PyErr_Occurred()) return NULL;
cf694132 7054} Py_INCREF(Py_None);
d5c9047a 7055 _resultobj = Py_None;
8ab979d7
RD
7056 return _resultobj;
7057}
7058
00b6c4e3
RD
7059#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7060static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
7061 PyObject * _resultobj;
7062 wxPyTreeCtrl * _arg0;
7063 wxImageList * _arg1;
7064 PyObject * _argo0 = 0;
7065 PyObject * _argo1 = 0;
7066 char *_kwnames[] = { "self","imageList", NULL };
7067
7068 self = self;
7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
7070 return NULL;
7071 if (_argo0) {
7072 if (_argo0 == Py_None) { _arg0 = NULL; }
7073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7075 return NULL;
7076 }
7077 }
7078 if (_argo1) {
7079 if (_argo1 == Py_None) { _arg1 = NULL; }
7080 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7081 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7082 return NULL;
7083 }
7084 }
7085{
4268f798 7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7087 wxTreeCtrl_AssignImageList(_arg0,_arg1);
00b6c4e3 7088
4268f798 7089 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
7090 if (PyErr_Occurred()) return NULL;
7091} Py_INCREF(Py_None);
7092 _resultobj = Py_None;
7093 return _resultobj;
7094}
7095
7096#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7097static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject * _resultobj;
7099 wxPyTreeCtrl * _arg0;
7100 wxImageList * _arg1;
7101 PyObject * _argo0 = 0;
7102 PyObject * _argo1 = 0;
7103 char *_kwnames[] = { "self","imageList", NULL };
7104
7105 self = self;
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
7107 return NULL;
7108 if (_argo0) {
7109 if (_argo0 == Py_None) { _arg0 = NULL; }
7110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7112 return NULL;
7113 }
7114 }
7115 if (_argo1) {
7116 if (_argo1 == Py_None) { _arg1 = NULL; }
7117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7119 return NULL;
7120 }
7121 }
7122{
4268f798 7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7124 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
00b6c4e3 7125
4268f798 7126 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
7127 if (PyErr_Occurred()) return NULL;
7128} Py_INCREF(Py_None);
7129 _resultobj = Py_None;
7130 return _resultobj;
7131}
7132
b1462dfa
RD
7133#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7134static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject * _resultobj;
7136 unsigned int _result;
f6bcfd97 7137 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7138 PyObject * _argo0 = 0;
7139 char *_kwnames[] = { "self", NULL };
7140
7141 self = self;
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
7143 return NULL;
7144 if (_argo0) {
7145 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7148 return NULL;
7149 }
7150 }
7151{
4268f798 7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7153 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 7154
4268f798 7155 wxPyEndAllowThreads(__tstate);
493f1553 7156 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7157} _resultobj = Py_BuildValue("i",_result);
7158 return _resultobj;
7159}
7160
7161#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7162static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject * _resultobj;
f6bcfd97 7164 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7165 unsigned int _arg1;
7166 PyObject * _argo0 = 0;
7167 char *_kwnames[] = { "self","spacing", NULL };
7168
7169 self = self;
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7171 return NULL;
7172 if (_argo0) {
7173 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7176 return NULL;
7177 }
7178 }
7179{
4268f798 7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7181 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 7182
4268f798 7183 wxPyEndAllowThreads(__tstate);
493f1553 7184 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7185} Py_INCREF(Py_None);
7186 _resultobj = Py_None;
7187 return _resultobj;
7188}
7189
d5c9047a 7190#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 7191static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7192 PyObject * _resultobj;
d5c9047a 7193 wxString * _result;
f6bcfd97 7194 wxPyTreeCtrl * _arg0;
d5c9047a 7195 wxTreeItemId * _arg1;
1d99702e
RD
7196 PyObject * _argo0 = 0;
7197 PyObject * _argo1 = 0;
efc5f224 7198 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7199
7200 self = self;
efc5f224 7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7202 return NULL;
1d99702e
RD
7203 if (_argo0) {
7204 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7207 return NULL;
7208 }
7209 }
1d99702e 7210 if (_argo1) {
7e50db3f 7211 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7212 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7213 return NULL;
7214 }
7215 }
d5c9047a 7216{
4268f798 7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7218 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 7219
4268f798 7220 wxPyEndAllowThreads(__tstate);
493f1553 7221 if (PyErr_Occurred()) return NULL;
cf694132 7222}{
c8bc7bb8 7223#if wxUSE_UNICODE
7e50db3f 7224 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7225#else
eec92d76 7226 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7227#endif
d5c9047a
RD
7228}
7229{
7230 delete _result;
7231}
8ab979d7
RD
7232 return _resultobj;
7233}
7234
694759cf 7235#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7236static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7237 PyObject * _resultobj;
d5c9047a 7238 int _result;
f6bcfd97 7239 wxPyTreeCtrl * _arg0;
d5c9047a 7240 wxTreeItemId * _arg1;
694759cf 7241 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7242 PyObject * _argo0 = 0;
7243 PyObject * _argo1 = 0;
694759cf 7244 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7245
7246 self = self;
694759cf 7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7248 return NULL;
1d99702e
RD
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7253 return NULL;
7254 }
7255 }
1d99702e 7256 if (_argo1) {
7e50db3f 7257 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7258 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7259 return NULL;
7260 }
7261 }
cf694132 7262{
4268f798 7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7264 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7265
4268f798 7266 wxPyEndAllowThreads(__tstate);
493f1553 7267 if (PyErr_Occurred()) return NULL;
cf694132 7268} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7269 return _resultobj;
7270}
7271
d5c9047a 7272#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7273static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7274 PyObject * _resultobj;
d5c9047a 7275 int _result;
f6bcfd97 7276 wxPyTreeCtrl * _arg0;
d5c9047a 7277 wxTreeItemId * _arg1;
1d99702e
RD
7278 PyObject * _argo0 = 0;
7279 PyObject * _argo1 = 0;
efc5f224 7280 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7281
7282 self = self;
efc5f224 7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7284 return NULL;
1d99702e
RD
7285 if (_argo0) {
7286 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7289 return NULL;
7290 }
7291 }
1d99702e 7292 if (_argo1) {
7e50db3f 7293 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7295 return NULL;
7296 }
7297 }
cf694132 7298{
4268f798 7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7300 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7301
4268f798 7302 wxPyEndAllowThreads(__tstate);
493f1553 7303 if (PyErr_Occurred()) return NULL;
cf694132 7304} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7305 return _resultobj;
7306}
7307
d5c9047a 7308#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7309static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7310 PyObject * _resultobj;
f6bcfd97 7311 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7312 wxTreeItemId * _arg1;
7313 wxString * _arg2;
1d99702e
RD
7314 PyObject * _argo0 = 0;
7315 PyObject * _argo1 = 0;
d5c9047a 7316 PyObject * _obj2 = 0;
efc5f224 7317 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7318
7319 self = self;
efc5f224 7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7321 return NULL;
1d99702e
RD
7322 if (_argo0) {
7323 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7326 return NULL;
7327 }
7328 }
1d99702e 7329 if (_argo1) {
7e50db3f 7330 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7332 return NULL;
7333 }
7334 }
7335{
c8bc7bb8
RD
7336 _arg2 = wxString_in_helper(_obj2);
7337 if (_arg2 == NULL)
185d7c3e 7338 return NULL;
d5c9047a 7339}
cf694132 7340{
4268f798 7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7342 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7343
4268f798 7344 wxPyEndAllowThreads(__tstate);
493f1553 7345 if (PyErr_Occurred()) return NULL;
cf694132 7346} Py_INCREF(Py_None);
d5c9047a
RD
7347 _resultobj = Py_None;
7348{
7349 if (_obj2)
7350 delete _arg2;
7351}
8ab979d7
RD
7352 return _resultobj;
7353}
7354
694759cf 7355#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7356static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7357 PyObject * _resultobj;
f6bcfd97 7358 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7359 wxTreeItemId * _arg1;
7360 int _arg2;
694759cf 7361 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7362 PyObject * _argo0 = 0;
7363 PyObject * _argo1 = 0;
694759cf 7364 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7365
7366 self = self;
694759cf 7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7368 return NULL;
1d99702e
RD
7369 if (_argo0) {
7370 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7373 return NULL;
7374 }
7375 }
1d99702e 7376 if (_argo1) {
7e50db3f 7377 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7378 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7379 return NULL;
7380 }
7381 }
cf694132 7382{
4268f798 7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7384 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7385
4268f798 7386 wxPyEndAllowThreads(__tstate);
493f1553 7387 if (PyErr_Occurred()) return NULL;
cf694132 7388} Py_INCREF(Py_None);
d5c9047a 7389 _resultobj = Py_None;
8ab979d7
RD
7390 return _resultobj;
7391}
7392
d5c9047a 7393#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7394static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7395 PyObject * _resultobj;
f6bcfd97 7396 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7397 wxTreeItemId * _arg1;
7398 int _arg2;
1d99702e
RD
7399 PyObject * _argo0 = 0;
7400 PyObject * _argo1 = 0;
efc5f224 7401 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7402
7403 self = self;
efc5f224 7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7405 return NULL;
1d99702e
RD
7406 if (_argo0) {
7407 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7410 return NULL;
7411 }
7412 }
1d99702e 7413 if (_argo1) {
7e50db3f 7414 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7415 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7416 return NULL;
7417 }
7418 }
cf694132 7419{
4268f798 7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7421 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7422
4268f798 7423 wxPyEndAllowThreads(__tstate);
493f1553 7424 if (PyErr_Occurred()) return NULL;
cf694132
RD
7425} Py_INCREF(Py_None);
7426 _resultobj = Py_None;
7427 return _resultobj;
7428}
7429
7430#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7431static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7432 PyObject * _resultobj;
f6bcfd97 7433 wxPyTreeCtrl * _arg0;
cf694132 7434 wxTreeItemId * _arg1;
1d99702e
RD
7435 bool _arg2 = (bool ) TRUE;
7436 PyObject * _argo0 = 0;
7437 PyObject * _argo1 = 0;
7438 int tempbool2 = (int) TRUE;
efc5f224 7439 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7440
7441 self = self;
efc5f224 7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 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_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7448 return NULL;
7449 }
7450 }
1d99702e 7451 if (_argo1) {
7e50db3f 7452 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7453 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7454 return NULL;
7455 }
7456 }
7457 _arg2 = (bool ) tempbool2;
7458{
4268f798 7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7460 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7461
4268f798 7462 wxPyEndAllowThreads(__tstate);
493f1553 7463 if (PyErr_Occurred()) return NULL;
cf694132 7464} Py_INCREF(Py_None);
d5c9047a 7465 _resultobj = Py_None;
8ab979d7
RD
7466 return _resultobj;
7467}
7468
f6bcfd97 7469static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7470 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7471 if (data == NULL) {
7472 data = new wxPyTreeItemData();
f6bcfd97 7473 data->SetId(item); // set the id
cf694132
RD
7474 self->SetItemData(item, data);
7475 }
7476 return data;
7477 }
efc5f224 7478static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7479 PyObject * _resultobj;
7480 wxPyTreeItemData * _result;
f6bcfd97 7481 wxPyTreeCtrl * _arg0;
cf694132 7482 wxTreeItemId * _arg1;
1d99702e
RD
7483 PyObject * _argo0 = 0;
7484 PyObject * _argo1 = 0;
efc5f224 7485 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7486 char _ptemp[128];
7487
7488 self = self;
efc5f224 7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7490 return NULL;
1d99702e
RD
7491 if (_argo0) {
7492 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7495 return NULL;
7496 }
7497 }
1d99702e 7498 if (_argo1) {
7e50db3f 7499 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7501 return NULL;
7502 }
7503 }
7504{
4268f798 7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7506 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7507
4268f798 7508 wxPyEndAllowThreads(__tstate);
493f1553 7509 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7510} if (_result) {
7511 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7512 _resultobj = Py_BuildValue("s",_ptemp);
7513 } else {
7514 Py_INCREF(Py_None);
7515 _resultobj = Py_None;
7516 }
cf694132
RD
7517 return _resultobj;
7518}
7519
f6bcfd97
BP
7520static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7521 data->SetId(item); // set the id
7522 self->SetItemData(item, data);
c368d904 7523 }
efc5f224 7524static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7525 PyObject * _resultobj;
f6bcfd97 7526 wxPyTreeCtrl * _arg0;
d5c9047a 7527 wxTreeItemId * _arg1;
cf694132 7528 wxPyTreeItemData * _arg2;
1d99702e
RD
7529 PyObject * _argo0 = 0;
7530 PyObject * _argo1 = 0;
7531 PyObject * _argo2 = 0;
efc5f224 7532 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7533
7534 self = self;
efc5f224 7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7536 return NULL;
1d99702e
RD
7537 if (_argo0) {
7538 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7541 return NULL;
7542 }
7543 }
1d99702e 7544 if (_argo1) {
7e50db3f 7545 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7546 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7547 return NULL;
7548 }
7549 }
1d99702e
RD
7550 if (_argo2) {
7551 if (_argo2 == Py_None) { _arg2 = NULL; }
7552 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7553 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7554 return NULL;
7555 }
7556 }
cf694132 7557{
4268f798 7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7559 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7560
4268f798 7561 wxPyEndAllowThreads(__tstate);
493f1553 7562 if (PyErr_Occurred()) return NULL;
cf694132 7563} Py_INCREF(Py_None);
d5c9047a 7564 _resultobj = Py_None;
8ab979d7
RD
7565 return _resultobj;
7566}
7567
f6bcfd97 7568static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7569 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7570 if (data == NULL) {
7571 data = new wxPyTreeItemData();
f6bcfd97 7572 data->SetId(item); // set the id
cf694132
RD
7573 self->SetItemData(item, data);
7574 }
7575 return data->GetData();
c368d904 7576 }
efc5f224 7577static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7578 PyObject * _resultobj;
cf694132 7579 PyObject * _result;
f6bcfd97 7580 wxPyTreeCtrl * _arg0;
08127323 7581 wxTreeItemId * _arg1;
1d99702e
RD
7582 PyObject * _argo0 = 0;
7583 PyObject * _argo1 = 0;
efc5f224 7584 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7585
7586 self = self;
efc5f224 7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7588 return NULL;
1d99702e
RD
7589 if (_argo0) {
7590 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7593 return NULL;
7594 }
7595 }
1d99702e 7596 if (_argo1) {
7e50db3f 7597 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7599 return NULL;
7600 }
7601 }
cf694132 7602{
4268f798 7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7604 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7605
4268f798 7606 wxPyEndAllowThreads(__tstate);
493f1553 7607 if (PyErr_Occurred()) return NULL;
cf694132
RD
7608}{
7609 _resultobj = _result;
7610}
7611 return _resultobj;
7612}
7613
f6bcfd97 7614static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7615 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7616 if (data == NULL) {
7617 data = new wxPyTreeItemData(obj);
f6bcfd97 7618 data->SetId(item); // set the id
cf694132
RD
7619 self->SetItemData(item, data);
7620 } else
7621 data->SetData(obj);
c368d904 7622 }
efc5f224 7623static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7624 PyObject * _resultobj;
f6bcfd97 7625 wxPyTreeCtrl * _arg0;
cf694132
RD
7626 wxTreeItemId * _arg1;
7627 PyObject * _arg2;
1d99702e
RD
7628 PyObject * _argo0 = 0;
7629 PyObject * _argo1 = 0;
cf694132 7630 PyObject * _obj2 = 0;
efc5f224 7631 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7632
7633 self = self;
efc5f224 7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7635 return NULL;
1d99702e
RD
7636 if (_argo0) {
7637 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7640 return NULL;
7641 }
7642 }
1d99702e 7643 if (_argo1) {
7e50db3f 7644 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7646 return NULL;
7647 }
7648 }
7649{
7650 _arg2 = _obj2;
7651}
7652{
4268f798 7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7654 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7655
4268f798 7656 wxPyEndAllowThreads(__tstate);
493f1553 7657 if (PyErr_Occurred()) return NULL;
cf694132 7658} Py_INCREF(Py_None);
08127323
RD
7659 _resultobj = Py_None;
7660 return _resultobj;
7661}
7662
7e50db3f
RD
7663#define wxTreeCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
7664static PyObject *_wrap_wxTreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject * _resultobj;
7666 wxColour * _result;
7667 wxPyTreeCtrl * _arg0;
7668 wxTreeItemId * _arg1;
7669 PyObject * _argo0 = 0;
7670 PyObject * _argo1 = 0;
7671 char *_kwnames[] = { "self","item", NULL };
7672 char _ptemp[128];
7673
7674 self = self;
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemTextColour",_kwnames,&_argo0,&_argo1))
7676 return NULL;
7677 if (_argo0) {
7678 if (_argo0 == Py_None) { _arg0 = NULL; }
7679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemTextColour. Expected _wxPyTreeCtrl_p.");
7681 return NULL;
7682 }
7683 }
7684 if (_argo1) {
7685 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7686 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
7687 return NULL;
7688 }
7689 }
7690{
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 _result = new wxColour (wxTreeCtrl_GetItemTextColour(_arg0,*_arg1));
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) return NULL;
7696} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7697 _resultobj = Py_BuildValue("s",_ptemp);
7698 return _resultobj;
7699}
7700
7701#define wxTreeCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
7702static PyObject *_wrap_wxTreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject * _resultobj;
7704 wxColour * _result;
7705 wxPyTreeCtrl * _arg0;
7706 wxTreeItemId * _arg1;
7707 PyObject * _argo0 = 0;
7708 PyObject * _argo1 = 0;
7709 char *_kwnames[] = { "self","item", NULL };
7710 char _ptemp[128];
7711
7712 self = self;
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_argo1))
7714 return NULL;
7715 if (_argo0) {
7716 if (_argo0 == Py_None) { _arg0 = NULL; }
7717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7719 return NULL;
7720 }
7721 }
7722 if (_argo1) {
7723 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
7725 return NULL;
7726 }
7727 }
7728{
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 _result = new wxColour (wxTreeCtrl_GetItemBackgroundColour(_arg0,*_arg1));
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) return NULL;
7734} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7735 _resultobj = Py_BuildValue("s",_ptemp);
7736 return _resultobj;
7737}
7738
7739#define wxTreeCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
7740static PyObject *_wrap_wxTreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject * _resultobj;
7742 wxFont * _result;
7743 wxPyTreeCtrl * _arg0;
7744 wxTreeItemId * _arg1;
7745 PyObject * _argo0 = 0;
7746 PyObject * _argo1 = 0;
7747 char *_kwnames[] = { "self","item", NULL };
7748 char _ptemp[128];
7749
7750 self = self;
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemFont",_kwnames,&_argo0,&_argo1))
7752 return NULL;
7753 if (_argo0) {
7754 if (_argo0 == Py_None) { _arg0 = NULL; }
7755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemFont. Expected _wxPyTreeCtrl_p.");
7757 return NULL;
7758 }
7759 }
7760 if (_argo1) {
7761 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7762 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemFont. Expected _wxTreeItemId_p.");
7763 return NULL;
7764 }
7765 }
7766{
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 _result = new wxFont (wxTreeCtrl_GetItemFont(_arg0,*_arg1));
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) return NULL;
7772} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
7773 _resultobj = Py_BuildValue("s",_ptemp);
7774 return _resultobj;
7775}
7776
d5c9047a 7777#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7778static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7779 PyObject * _resultobj;
d5c9047a 7780 bool _result;
f6bcfd97 7781 wxPyTreeCtrl * _arg0;
d5c9047a 7782 wxTreeItemId * _arg1;
1d99702e
RD
7783 PyObject * _argo0 = 0;
7784 PyObject * _argo1 = 0;
efc5f224 7785 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7786
7787 self = self;
efc5f224 7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7789 return NULL;
1d99702e
RD
7790 if (_argo0) {
7791 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7794 return NULL;
7795 }
7796 }
1d99702e 7797 if (_argo1) {
7e50db3f 7798 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7800 return NULL;
7801 }
7802 }
cf694132 7803{
4268f798 7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7805 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7806
4268f798 7807 wxPyEndAllowThreads(__tstate);
493f1553 7808 if (PyErr_Occurred()) return NULL;
cf694132 7809} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7810 return _resultobj;
7811}
7812
d5c9047a 7813#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7814static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7815 PyObject * _resultobj;
d5c9047a 7816 bool _result;
f6bcfd97 7817 wxPyTreeCtrl * _arg0;
d5c9047a 7818 wxTreeItemId * _arg1;
1d99702e
RD
7819 PyObject * _argo0 = 0;
7820 PyObject * _argo1 = 0;
efc5f224 7821 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7822
7823 self = self;
efc5f224 7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7825 return NULL;
1d99702e
RD
7826 if (_argo0) {
7827 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7830 return NULL;
7831 }
7832 }
1d99702e 7833 if (_argo1) {
7e50db3f 7834 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7836 return NULL;
7837 }
7838 }
cf694132 7839{
4268f798 7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7841 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7842
4268f798 7843 wxPyEndAllowThreads(__tstate);
493f1553 7844 if (PyErr_Occurred()) return NULL;
cf694132 7845} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7846 return _resultobj;
7847}
7848
d5c9047a 7849#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7850static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7851 PyObject * _resultobj;
d5c9047a 7852 bool _result;
f6bcfd97 7853 wxPyTreeCtrl * _arg0;
d5c9047a 7854 wxTreeItemId * _arg1;
1d99702e
RD
7855 PyObject * _argo0 = 0;
7856 PyObject * _argo1 = 0;
efc5f224 7857 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7858
7859 self = self;
efc5f224 7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7861 return NULL;
1d99702e
RD
7862 if (_argo0) {
7863 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7866 return NULL;
7867 }
7868 }
1d99702e 7869 if (_argo1) {
7e50db3f 7870 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7872 return NULL;
7873 }
7874 }
cf694132 7875{
4268f798 7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7877 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7878
4268f798 7879 wxPyEndAllowThreads(__tstate);
493f1553 7880 if (PyErr_Occurred()) return NULL;
cf694132 7881} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7882 return _resultobj;
7883}
7884
d5c9047a 7885#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7886static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7887 PyObject * _resultobj;
d5c9047a 7888 bool _result;
f6bcfd97 7889 wxPyTreeCtrl * _arg0;
d5c9047a 7890 wxTreeItemId * _arg1;
1d99702e
RD
7891 PyObject * _argo0 = 0;
7892 PyObject * _argo1 = 0;
efc5f224 7893 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7894
7895 self = self;
efc5f224 7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7897 return NULL;
1d99702e
RD
7898 if (_argo0) {
7899 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7902 return NULL;
7903 }
7904 }
1d99702e 7905 if (_argo1) {
7e50db3f 7906 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7908 return NULL;
7909 }
7910 }
cf694132 7911{
4268f798 7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7913 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7914
4268f798 7915 wxPyEndAllowThreads(__tstate);
493f1553 7916 if (PyErr_Occurred()) return NULL;
cf694132 7917} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7918 return _resultobj;
7919}
7920
7921#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7922static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7923 PyObject * _resultobj;
d5c9047a 7924 wxTreeItemId * _result;
f6bcfd97 7925 wxPyTreeCtrl * _arg0;
1d99702e 7926 PyObject * _argo0 = 0;
efc5f224 7927 char *_kwnames[] = { "self", NULL };
d5c9047a 7928 char _ptemp[128];
8ab979d7
RD
7929
7930 self = self;
efc5f224 7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7932 return NULL;
1d99702e
RD
7933 if (_argo0) {
7934 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7937 return NULL;
7938 }
7939 }
cf694132 7940{
4268f798 7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7942 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7943
4268f798 7944 wxPyEndAllowThreads(__tstate);
493f1553 7945 if (PyErr_Occurred()) return NULL;
cf694132 7946} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7947 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7948 return _resultobj;
7949}
7950
7951#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7952static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7953 PyObject * _resultobj;
d5c9047a 7954 wxTreeItemId * _result;
f6bcfd97 7955 wxPyTreeCtrl * _arg0;
1d99702e 7956 PyObject * _argo0 = 0;
efc5f224 7957 char *_kwnames[] = { "self", NULL };
d5c9047a 7958 char _ptemp[128];
8ab979d7
RD
7959
7960 self = self;
efc5f224 7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7962 return NULL;
1d99702e
RD
7963 if (_argo0) {
7964 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7967 return NULL;
7968 }
7969 }
cf694132 7970{
4268f798 7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7972 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7973
4268f798 7974 wxPyEndAllowThreads(__tstate);
493f1553 7975 if (PyErr_Occurred()) return NULL;
cf694132 7976} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7977 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7978 return _resultobj;
7979}
7980
7e50db3f 7981#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetItemParent(_swigarg0))
eb715945 7982static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7983 PyObject * _resultobj;
d5c9047a 7984 wxTreeItemId * _result;
f6bcfd97 7985 wxPyTreeCtrl * _arg0;
d5c9047a 7986 wxTreeItemId * _arg1;
1d99702e
RD
7987 PyObject * _argo0 = 0;
7988 PyObject * _argo1 = 0;
efc5f224 7989 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7990 char _ptemp[128];
8ab979d7
RD
7991
7992 self = self;
eb715945 7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7994 return NULL;
1d99702e
RD
7995 if (_argo0) {
7996 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7999 return NULL;
8000 }
8001 }
1d99702e 8002 if (_argo1) {
7e50db3f 8003 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 8004 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
8005 return NULL;
8006 }
8007 }
cf694132 8008{
4268f798 8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8010 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 8011
4268f798 8012 wxPyEndAllowThreads(__tstate);
493f1553 8013 if (PyErr_Occurred()) return NULL;
cf694132 8014} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8015 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8016 return _resultobj;
8017}
8018
f6bcfd97 8019static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
4268f798 8020 wxPyBeginBlockThreads();
d426c97e
RD
8021 PyObject* rval = PyList_New(0);
8022 wxArrayTreeItemIds array;
8023 size_t num, x;
8024 num = self->GetSelections(array);
8025 for (x=0; x < num; x++) {
c368d904 8026 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7e50db3f 8027 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), TRUE);
d426c97e
RD
8028 PyList_Append(rval, item);
8029 }
4268f798 8030 wxPyEndBlockThreads();
d426c97e
RD
8031 return rval;
8032 }
8033static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject * _resultobj;
8035 PyObject * _result;
f6bcfd97 8036 wxPyTreeCtrl * _arg0;
d426c97e
RD
8037 PyObject * _argo0 = 0;
8038 char *_kwnames[] = { "self", NULL };
8039
8040 self = self;
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
8042 return NULL;
8043 if (_argo0) {
8044 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8047 return NULL;
8048 }
8049 }
8050{
4268f798 8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8052 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 8053
4268f798 8054 wxPyEndAllowThreads(__tstate);
493f1553 8055 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8056}{
8057 _resultobj = _result;
8058}
8059 return _resultobj;
8060}
8061
bb0054cd 8062#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 8063static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
8064 PyObject * _resultobj;
8065 size_t _result;
f6bcfd97 8066 wxPyTreeCtrl * _arg0;
bb0054cd 8067 wxTreeItemId * _arg1;
1d99702e
RD
8068 bool _arg2 = (bool ) TRUE;
8069 PyObject * _argo0 = 0;
8070 PyObject * _argo1 = 0;
8071 int tempbool2 = (int) TRUE;
efc5f224 8072 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
8073
8074 self = self;
efc5f224 8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 8076 return NULL;
1d99702e
RD
8077 if (_argo0) {
8078 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
8081 return NULL;
8082 }
8083 }
1d99702e 8084 if (_argo1) {
7e50db3f 8085 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
8086 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
8087 return NULL;
8088 }
8089 }
8090 _arg2 = (bool ) tempbool2;
8091{
4268f798 8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8093 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 8094
4268f798 8095 wxPyEndAllowThreads(__tstate);
493f1553 8096 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
8097} _resultobj = Py_BuildValue("i",_result);
8098 return _resultobj;
8099}
8100
d5c9047a 8101#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 8102static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8103 PyObject * _resultobj;
d5c9047a 8104 wxTreeItemId * _result;
f6bcfd97 8105 wxPyTreeCtrl * _arg0;
d5c9047a 8106 wxTreeItemId * _arg1;
0815db26 8107 long * _arg2 = (long *) &longzero;
1d99702e
RD
8108 PyObject * _argo0 = 0;
8109 PyObject * _argo1 = 0;
d5c9047a
RD
8110 long temp;
8111 PyObject * _obj2 = 0;
efc5f224 8112 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 8113 char _ptemp[128];
8ab979d7
RD
8114
8115 self = self;
f87dfa06 8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 8117 return NULL;
1d99702e
RD
8118 if (_argo0) {
8119 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8122 return NULL;
8123 }
8124 }
1d99702e 8125 if (_argo1) {
7e50db3f 8126 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
8128 return NULL;
8129 }
8130 }
f87dfa06 8131 if (_obj2)
d5c9047a
RD
8132{
8133 temp = (long) PyInt_AsLong(_obj2);
8134 _arg2 = &temp;
8135}
cf694132 8136{
4268f798 8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8138 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 8139
4268f798 8140 wxPyEndAllowThreads(__tstate);
493f1553 8141 if (PyErr_Occurred()) return NULL;
cf694132 8142} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8143 _resultobj = Py_BuildValue("s",_ptemp);
8144{
8145 PyObject *o;
8146 o = PyInt_FromLong((long) (*_arg2));
8147 _resultobj = t_output_helper(_resultobj, o);
8148}
8ab979d7
RD
8149 return _resultobj;
8150}
8151
d5c9047a 8152#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 8153static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8154 PyObject * _resultobj;
d5c9047a 8155 wxTreeItemId * _result;
f6bcfd97 8156 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8157 wxTreeItemId * _arg1;
8158 long * _arg2;
1d99702e
RD
8159 PyObject * _argo0 = 0;
8160 PyObject * _argo1 = 0;
d5c9047a 8161 long temp;
8ab979d7 8162 PyObject * _obj2 = 0;
efc5f224 8163 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 8164 char _ptemp[128];
8ab979d7
RD
8165
8166 self = self;
efc5f224 8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 8168 return NULL;
1d99702e
RD
8169 if (_argo0) {
8170 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8173 return NULL;
8174 }
8175 }
1d99702e 8176 if (_argo1) {
7e50db3f 8177 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 8179 return NULL;
d5c9047a 8180 }
8ab979d7 8181 }
d5c9047a
RD
8182{
8183 temp = (long) PyInt_AsLong(_obj2);
8184 _arg2 = &temp;
8ab979d7 8185}
cf694132 8186{
4268f798 8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8188 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 8189
4268f798 8190 wxPyEndAllowThreads(__tstate);
493f1553 8191 if (PyErr_Occurred()) return NULL;
cf694132 8192} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8193 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 8194{
d5c9047a
RD
8195 PyObject *o;
8196 o = PyInt_FromLong((long) (*_arg2));
8197 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
8198}
8199 return _resultobj;
8200}
8201
d5c9047a 8202#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 8203static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8204 PyObject * _resultobj;
d5c9047a 8205 wxTreeItemId * _result;
f6bcfd97 8206 wxPyTreeCtrl * _arg0;
d5c9047a 8207 wxTreeItemId * _arg1;
1d99702e
RD
8208 PyObject * _argo0 = 0;
8209 PyObject * _argo1 = 0;
efc5f224 8210 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8211 char _ptemp[128];
8ab979d7
RD
8212
8213 self = self;
efc5f224 8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8215 return NULL;
1d99702e
RD
8216 if (_argo0) {
8217 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8220 return NULL;
8221 }
8222 }
1d99702e 8223 if (_argo1) {
7e50db3f 8224 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8226 return NULL;
8227 }
8228 }
cf694132 8229{
4268f798 8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8231 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 8232
4268f798 8233 wxPyEndAllowThreads(__tstate);
493f1553 8234 if (PyErr_Occurred()) return NULL;
cf694132 8235} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8236 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8237 return _resultobj;
8238}
8239
d5c9047a 8240#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 8241static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8242 PyObject * _resultobj;
d5c9047a 8243 wxTreeItemId * _result;
f6bcfd97 8244 wxPyTreeCtrl * _arg0;
d5c9047a 8245 wxTreeItemId * _arg1;
1d99702e
RD
8246 PyObject * _argo0 = 0;
8247 PyObject * _argo1 = 0;
efc5f224 8248 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8249 char _ptemp[128];
8ab979d7
RD
8250
8251 self = self;
efc5f224 8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8253 return NULL;
1d99702e
RD
8254 if (_argo0) {
8255 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8258 return NULL;
8259 }
8260 }
1d99702e 8261 if (_argo1) {
7e50db3f 8262 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8263 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8264 return NULL;
8265 }
8266 }
cf694132 8267{
4268f798 8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8269 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 8270
4268f798 8271 wxPyEndAllowThreads(__tstate);
493f1553 8272 if (PyErr_Occurred()) return NULL;
cf694132 8273} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8274 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8275 return _resultobj;
8276}
8277
d5c9047a 8278#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 8279static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8280 PyObject * _resultobj;
d5c9047a 8281 wxTreeItemId * _result;
f6bcfd97 8282 wxPyTreeCtrl * _arg0;
1d99702e 8283 PyObject * _argo0 = 0;
efc5f224 8284 char *_kwnames[] = { "self", NULL };
d5c9047a 8285 char _ptemp[128];
8ab979d7
RD
8286
8287 self = self;
efc5f224 8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8289 return NULL;
1d99702e
RD
8290 if (_argo0) {
8291 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8294 return NULL;
8295 }
8296 }
cf694132 8297{
4268f798 8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8299 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 8300
4268f798 8301 wxPyEndAllowThreads(__tstate);
493f1553 8302 if (PyErr_Occurred()) return NULL;
cf694132 8303} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8304 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8305 return _resultobj;
8306}
8307
d5c9047a 8308#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8309static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8310 PyObject * _resultobj;
d5c9047a 8311 wxTreeItemId * _result;
f6bcfd97 8312 wxPyTreeCtrl * _arg0;
d5c9047a 8313 wxTreeItemId * _arg1;
1d99702e
RD
8314 PyObject * _argo0 = 0;
8315 PyObject * _argo1 = 0;
efc5f224 8316 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8317 char _ptemp[128];
8ab979d7
RD
8318
8319 self = self;
efc5f224 8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8321 return NULL;
1d99702e
RD
8322 if (_argo0) {
8323 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8326 return NULL;
8327 }
8328 }
1d99702e 8329 if (_argo1) {
7e50db3f 8330 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8332 return NULL;
8333 }
8334 }
cf694132 8335{
4268f798 8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8337 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 8338
4268f798 8339 wxPyEndAllowThreads(__tstate);
493f1553 8340 if (PyErr_Occurred()) return NULL;
cf694132 8341} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8342 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8343 return _resultobj;
8344}
8345
d5c9047a 8346#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8347static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8348 PyObject * _resultobj;
d5c9047a 8349 wxTreeItemId * _result;
f6bcfd97 8350 wxPyTreeCtrl * _arg0;
d5c9047a 8351 wxTreeItemId * _arg1;
1d99702e
RD
8352 PyObject * _argo0 = 0;
8353 PyObject * _argo1 = 0;
efc5f224 8354 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8355 char _ptemp[128];
8ab979d7
RD
8356
8357 self = self;
efc5f224 8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8359 return NULL;
1d99702e
RD
8360 if (_argo0) {
8361 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8364 return NULL;
8365 }
8366 }
1d99702e 8367 if (_argo1) {
7e50db3f 8368 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8369 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8370 return NULL;
8371 }
8372 }
cf694132 8373{
4268f798 8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8375 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 8376
4268f798 8377 wxPyEndAllowThreads(__tstate);
493f1553 8378 if (PyErr_Occurred()) return NULL;
cf694132 8379} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8380 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8381 return _resultobj;
8382}
8383
d426c97e
RD
8384#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8385static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject * _resultobj;
8387 wxTreeItemId * _result;
f6bcfd97 8388 wxPyTreeCtrl * _arg0;
d426c97e
RD
8389 wxTreeItemId * _arg1;
8390 PyObject * _argo0 = 0;
8391 PyObject * _argo1 = 0;
8392 char *_kwnames[] = { "self","item", NULL };
8393 char _ptemp[128];
8394
8395 self = self;
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8397 return NULL;
8398 if (_argo0) {
8399 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8402 return NULL;
8403 }
8404 }
8405 if (_argo1) {
7e50db3f 8406 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d426c97e
RD
8407 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8408 return NULL;
8409 }
8410 }
8411{
4268f798 8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8413 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8414
4268f798 8415 wxPyEndAllowThreads(__tstate);
493f1553 8416 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8417} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8418 _resultobj = Py_BuildValue("s",_ptemp);
8419 return _resultobj;
8420}
8421
d5c9047a 8422#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8423static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8424 PyObject * _resultobj;
d5c9047a 8425 wxTreeItemId * _result;
f6bcfd97 8426 wxPyTreeCtrl * _arg0;
d5c9047a 8427 wxString * _arg1;
1d99702e
RD
8428 int _arg2 = (int ) -1;
8429 int _arg3 = (int ) -1;
8430 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8431 PyObject * _argo0 = 0;
d5c9047a 8432 PyObject * _obj1 = 0;
1d99702e 8433 PyObject * _argo4 = 0;
efc5f224 8434 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8435 char _ptemp[128];
8ab979d7
RD
8436
8437 self = self;
efc5f224 8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8439 return NULL;
1d99702e
RD
8440 if (_argo0) {
8441 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8444 return NULL;
8445 }
8446 }
d5c9047a 8447{
c8bc7bb8
RD
8448 _arg1 = wxString_in_helper(_obj1);
8449 if (_arg1 == NULL)
185d7c3e 8450 return NULL;
d5c9047a 8451}
1d99702e
RD
8452 if (_argo4) {
8453 if (_argo4 == Py_None) { _arg4 = NULL; }
8454 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8455 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8456 return NULL;
8457 }
8458 }
cf694132 8459{
4268f798 8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8461 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8462
4268f798 8463 wxPyEndAllowThreads(__tstate);
493f1553 8464 if (PyErr_Occurred()) return NULL;
cf694132 8465} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8466 _resultobj = Py_BuildValue("s",_ptemp);
8467{
8468 if (_obj1)
8469 delete _arg1;
8470}
8ab979d7
RD
8471 return _resultobj;
8472}
8473
d5c9047a 8474#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8475static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8476 PyObject * _resultobj;
d5c9047a 8477 wxTreeItemId * _result;
f6bcfd97 8478 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8479 wxTreeItemId * _arg1;
8480 wxString * _arg2;
1d99702e
RD
8481 int _arg3 = (int ) -1;
8482 int _arg4 = (int ) -1;
8483 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8484 PyObject * _argo0 = 0;
8485 PyObject * _argo1 = 0;
d5c9047a 8486 PyObject * _obj2 = 0;
1d99702e 8487 PyObject * _argo5 = 0;
efc5f224 8488 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8489 char _ptemp[128];
8ab979d7
RD
8490
8491 self = self;
efc5f224 8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8493 return NULL;
1d99702e
RD
8494 if (_argo0) {
8495 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8498 return NULL;
8499 }
8500 }
1d99702e 8501 if (_argo1) {
7e50db3f 8502 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8503 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8504 return NULL;
8505 }
8506 }
8507{
c8bc7bb8
RD
8508 _arg2 = wxString_in_helper(_obj2);
8509 if (_arg2 == NULL)
185d7c3e 8510 return NULL;
d5c9047a 8511}
1d99702e
RD
8512 if (_argo5) {
8513 if (_argo5 == Py_None) { _arg5 = NULL; }
8514 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8515 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8516 return NULL;
8517 }
8518 }
cf694132 8519{
4268f798 8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8521 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8522
4268f798 8523 wxPyEndAllowThreads(__tstate);
493f1553 8524 if (PyErr_Occurred()) return NULL;
cf694132 8525} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8526 _resultobj = Py_BuildValue("s",_ptemp);
8527{
8528 if (_obj2)
8529 delete _arg2;
8530}
8ab979d7
RD
8531 return _resultobj;
8532}
8533
d5c9047a 8534#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8535static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8536 PyObject * _resultobj;
d5c9047a 8537 wxTreeItemId * _result;
f6bcfd97 8538 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8539 wxTreeItemId * _arg1;
8540 wxTreeItemId * _arg2;
8541 wxString * _arg3;
1d99702e
RD
8542 int _arg4 = (int ) -1;
8543 int _arg5 = (int ) -1;
8544 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8545 PyObject * _argo0 = 0;
8546 PyObject * _argo1 = 0;
8547 PyObject * _argo2 = 0;
d5c9047a 8548 PyObject * _obj3 = 0;
1d99702e 8549 PyObject * _argo6 = 0;
efc5f224 8550 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8551 char _ptemp[128];
8ab979d7
RD
8552
8553 self = self;
efc5f224 8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8555 return NULL;
1d99702e
RD
8556 if (_argo0) {
8557 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8560 return NULL;
8561 }
8562 }
1d99702e 8563 if (_argo1) {
7e50db3f 8564 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8565 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8566 return NULL;
8567 }
8568 }
1d99702e 8569 if (_argo2) {
7e50db3f 8570 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8571 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8572 return NULL;
8573 }
8574 }
8575{
c8bc7bb8
RD
8576 _arg3 = wxString_in_helper(_obj3);
8577 if (_arg3 == NULL)
185d7c3e 8578 return NULL;
d5c9047a 8579}
1d99702e
RD
8580 if (_argo6) {
8581 if (_argo6 == Py_None) { _arg6 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8584 return NULL;
8585 }
8586 }
cf694132 8587{
4268f798 8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8589 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8590
4268f798 8591 wxPyEndAllowThreads(__tstate);
493f1553 8592 if (PyErr_Occurred()) return NULL;
cf694132 8593} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8594 _resultobj = Py_BuildValue("s",_ptemp);
8595{
8596 if (_obj3)
8597 delete _arg3;
8598}
8ab979d7
RD
8599 return _resultobj;
8600}
8601
f6bcfd97
BP
8602#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8603static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject * _resultobj;
8605 wxTreeItemId * _result;
8606 wxPyTreeCtrl * _arg0;
8607 wxTreeItemId * _arg1;
8608 size_t _arg2;
8609 wxString * _arg3;
8610 int _arg4 = (int ) -1;
8611 int _arg5 = (int ) -1;
3999941a 8612 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8613 PyObject * _argo0 = 0;
8614 PyObject * _argo1 = 0;
8615 PyObject * _obj3 = 0;
8616 PyObject * _argo6 = 0;
8617 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8618 char _ptemp[128];
8619
8620 self = self;
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8622 return NULL;
8623 if (_argo0) {
8624 if (_argo0 == Py_None) { _arg0 = NULL; }
8625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8627 return NULL;
8628 }
8629 }
8630 if (_argo1) {
7e50db3f 8631 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
f6bcfd97
BP
8632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8633 return NULL;
8634 }
8635 }
8636{
c8bc7bb8
RD
8637 _arg3 = wxString_in_helper(_obj3);
8638 if (_arg3 == NULL)
185d7c3e 8639 return NULL;
f6bcfd97
BP
8640}
8641 if (_argo6) {
8642 if (_argo6 == Py_None) { _arg6 = NULL; }
3999941a
RD
8643 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8644 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8645 return NULL;
8646 }
8647 }
8648{
4268f798 8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8650 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8651
4268f798 8652 wxPyEndAllowThreads(__tstate);
493f1553 8653 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8654} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8655 _resultobj = Py_BuildValue("s",_ptemp);
8656{
8657 if (_obj3)
8658 delete _arg3;
8659}
8660 return _resultobj;
8661}
8662
d5c9047a 8663#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8664static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8665 PyObject * _resultobj;
d5c9047a 8666 wxTreeItemId * _result;
f6bcfd97 8667 wxPyTreeCtrl * _arg0;
d5c9047a 8668 wxTreeItemId * _arg1;
8ab979d7 8669 wxString * _arg2;
1d99702e
RD
8670 int _arg3 = (int ) -1;
8671 int _arg4 = (int ) -1;
8672 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8673 PyObject * _argo0 = 0;
8674 PyObject * _argo1 = 0;
8ab979d7 8675 PyObject * _obj2 = 0;
1d99702e 8676 PyObject * _argo5 = 0;
efc5f224 8677 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8678 char _ptemp[128];
8ab979d7
RD
8679
8680 self = self;
efc5f224 8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8682 return NULL;
1d99702e
RD
8683 if (_argo0) {
8684 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8687 return NULL;
8688 }
8689 }
1d99702e 8690 if (_argo1) {
7e50db3f 8691 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8692 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8693 return NULL;
8694 }
8695 }
8696{
c8bc7bb8
RD
8697 _arg2 = wxString_in_helper(_obj2);
8698 if (_arg2 == NULL)
185d7c3e 8699 return NULL;
8ab979d7 8700}
1d99702e
RD
8701 if (_argo5) {
8702 if (_argo5 == Py_None) { _arg5 = NULL; }
8703 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8704 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8705 return NULL;
8706 }
8707 }
cf694132 8708{
4268f798 8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8710 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8711
4268f798 8712 wxPyEndAllowThreads(__tstate);
493f1553 8713 if (PyErr_Occurred()) return NULL;
cf694132 8714} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8715 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8716{
8717 if (_obj2)
8718 delete _arg2;
8719}
8720 return _resultobj;
8721}
8722
d5c9047a 8723#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8724static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8725 PyObject * _resultobj;
f6bcfd97 8726 wxPyTreeCtrl * _arg0;
d5c9047a 8727 wxTreeItemId * _arg1;
1d99702e
RD
8728 PyObject * _argo0 = 0;
8729 PyObject * _argo1 = 0;
efc5f224 8730 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8731
8732 self = self;
efc5f224 8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8734 return NULL;
1d99702e
RD
8735 if (_argo0) {
8736 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8739 return NULL;
8740 }
8741 }
1d99702e 8742 if (_argo1) {
7e50db3f 8743 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8744 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8745 return NULL;
8746 }
8747 }
cf694132 8748{
4268f798 8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8750 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8751
4268f798 8752 wxPyEndAllowThreads(__tstate);
493f1553 8753 if (PyErr_Occurred()) return NULL;
cf694132 8754} Py_INCREF(Py_None);
d5c9047a
RD
8755 _resultobj = Py_None;
8756 return _resultobj;
8757}
8758
08127323 8759#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8760static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8761 PyObject * _resultobj;
f6bcfd97 8762 wxPyTreeCtrl * _arg0;
08127323 8763 wxTreeItemId * _arg1;
1d99702e
RD
8764 PyObject * _argo0 = 0;
8765 PyObject * _argo1 = 0;
efc5f224 8766 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8767
8768 self = self;
efc5f224 8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8770 return NULL;
1d99702e
RD
8771 if (_argo0) {
8772 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8775 return NULL;
8776 }
8777 }
1d99702e 8778 if (_argo1) {
7e50db3f 8779 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8780 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8781 return NULL;
8782 }
8783 }
cf694132 8784{
4268f798 8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8786 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8787
4268f798 8788 wxPyEndAllowThreads(__tstate);
493f1553 8789 if (PyErr_Occurred()) return NULL;
cf694132 8790} Py_INCREF(Py_None);
08127323
RD
8791 _resultobj = Py_None;
8792 return _resultobj;
8793}
8794
d5c9047a 8795#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8796static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8797 PyObject * _resultobj;
f6bcfd97 8798 wxPyTreeCtrl * _arg0;
1d99702e 8799 PyObject * _argo0 = 0;
efc5f224 8800 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8801
8802 self = self;
efc5f224 8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8804 return NULL;
1d99702e
RD
8805 if (_argo0) {
8806 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8809 return NULL;
8810 }
8811 }
cf694132 8812{
4268f798 8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8814 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8815
4268f798 8816 wxPyEndAllowThreads(__tstate);
493f1553 8817 if (PyErr_Occurred()) return NULL;
cf694132 8818} Py_INCREF(Py_None);
d5c9047a
RD
8819 _resultobj = Py_None;
8820 return _resultobj;
8821}
8822
8823#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8824static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8825 PyObject * _resultobj;
f6bcfd97 8826 wxPyTreeCtrl * _arg0;
d5c9047a 8827 wxTreeItemId * _arg1;
1d99702e
RD
8828 PyObject * _argo0 = 0;
8829 PyObject * _argo1 = 0;
efc5f224 8830 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8831
8832 self = self;
efc5f224 8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8834 return NULL;
1d99702e
RD
8835 if (_argo0) {
8836 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8839 return NULL;
8840 }
8841 }
1d99702e 8842 if (_argo1) {
7e50db3f 8843 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8844 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8845 return NULL;
8846 }
8847 }
cf694132 8848{
4268f798 8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8850 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8851
4268f798 8852 wxPyEndAllowThreads(__tstate);
493f1553 8853 if (PyErr_Occurred()) return NULL;
cf694132 8854} Py_INCREF(Py_None);
d5c9047a
RD
8855 _resultobj = Py_None;
8856 return _resultobj;
8857}
8858
8859#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8860static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8861 PyObject * _resultobj;
f6bcfd97 8862 wxPyTreeCtrl * _arg0;
d5c9047a 8863 wxTreeItemId * _arg1;
1d99702e
RD
8864 PyObject * _argo0 = 0;
8865 PyObject * _argo1 = 0;
efc5f224 8866 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8867
8868 self = self;
efc5f224 8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8870 return NULL;
1d99702e
RD
8871 if (_argo0) {
8872 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8875 return NULL;
8876 }
8877 }
1d99702e 8878 if (_argo1) {
7e50db3f 8879 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8881 return NULL;
8882 }
8883 }
cf694132 8884{
4268f798 8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8886 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8887
4268f798 8888 wxPyEndAllowThreads(__tstate);
493f1553 8889 if (PyErr_Occurred()) return NULL;
cf694132 8890} Py_INCREF(Py_None);
d5c9047a
RD
8891 _resultobj = Py_None;
8892 return _resultobj;
8893}
8894
8895#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8896static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8897 PyObject * _resultobj;
f6bcfd97 8898 wxPyTreeCtrl * _arg0;
d5c9047a 8899 wxTreeItemId * _arg1;
1d99702e
RD
8900 PyObject * _argo0 = 0;
8901 PyObject * _argo1 = 0;
efc5f224 8902 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8903
8904 self = self;
efc5f224 8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8906 return NULL;
1d99702e
RD
8907 if (_argo0) {
8908 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8911 return NULL;
8912 }
8913 }
1d99702e 8914 if (_argo1) {
7e50db3f 8915 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8916 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8917 return NULL;
8918 }
8919 }
cf694132 8920{
4268f798 8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8922 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8923
4268f798 8924 wxPyEndAllowThreads(__tstate);
493f1553 8925 if (PyErr_Occurred()) return NULL;
cf694132 8926} Py_INCREF(Py_None);
d5c9047a
RD
8927 _resultobj = Py_None;
8928 return _resultobj;
8929}
8930
8931#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8932static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8933 PyObject * _resultobj;
f6bcfd97 8934 wxPyTreeCtrl * _arg0;
d5c9047a 8935 wxTreeItemId * _arg1;
1d99702e
RD
8936 PyObject * _argo0 = 0;
8937 PyObject * _argo1 = 0;
efc5f224 8938 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8939
8940 self = self;
efc5f224 8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8942 return NULL;
1d99702e
RD
8943 if (_argo0) {
8944 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8947 return NULL;
8948 }
8949 }
1d99702e 8950 if (_argo1) {
7e50db3f 8951 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8952 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8953 return NULL;
8954 }
8955 }
cf694132 8956{
4268f798 8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8958 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8959
4268f798 8960 wxPyEndAllowThreads(__tstate);
493f1553 8961 if (PyErr_Occurred()) return NULL;
cf694132 8962} Py_INCREF(Py_None);
d5c9047a
RD
8963 _resultobj = Py_None;
8964 return _resultobj;
8965}
8966
8967#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8968static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8969 PyObject * _resultobj;
f6bcfd97 8970 wxPyTreeCtrl * _arg0;
1d99702e 8971 PyObject * _argo0 = 0;
efc5f224 8972 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8973
8974 self = self;
efc5f224 8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8976 return NULL;
1d99702e
RD
8977 if (_argo0) {
8978 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8981 return NULL;
8982 }
8983 }
cf694132 8984{
4268f798 8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8986 wxTreeCtrl_Unselect(_arg0);
cf694132 8987
4268f798 8988 wxPyEndAllowThreads(__tstate);
493f1553 8989 if (PyErr_Occurred()) return NULL;
cf694132 8990} Py_INCREF(Py_None);
d5c9047a
RD
8991 _resultobj = Py_None;
8992 return _resultobj;
8993}
8994
8bf5d46e 8995#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8996static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8997 PyObject * _resultobj;
f6bcfd97 8998 wxPyTreeCtrl * _arg0;
1d99702e 8999 PyObject * _argo0 = 0;
efc5f224 9000 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
9001
9002 self = self;
efc5f224 9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 9004 return NULL;
1d99702e
RD
9005 if (_argo0) {
9006 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
9009 return NULL;
9010 }
9011 }
9012{
4268f798 9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9014 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 9015
4268f798 9016 wxPyEndAllowThreads(__tstate);
493f1553 9017 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
9018} Py_INCREF(Py_None);
9019 _resultobj = Py_None;
9020 return _resultobj;
9021}
9022
d5c9047a 9023#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 9024static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 9025 PyObject * _resultobj;
f6bcfd97 9026 wxPyTreeCtrl * _arg0;
d5c9047a 9027 wxTreeItemId * _arg1;
1d99702e
RD
9028 PyObject * _argo0 = 0;
9029 PyObject * _argo1 = 0;
efc5f224 9030 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
9031
9032 self = self;
efc5f224 9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 9034 return NULL;
1d99702e
RD
9035 if (_argo0) {
9036 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9039 return NULL;
9040 }
9041 }
1d99702e 9042 if (_argo1) {
7e50db3f 9043 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9044 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9045 return NULL;
9046 }
9047 }
cf694132 9048{
4268f798 9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9050 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 9051
4268f798 9052 wxPyEndAllowThreads(__tstate);
493f1553 9053 if (PyErr_Occurred()) return NULL;
cf694132 9054} Py_INCREF(Py_None);
d5c9047a
RD
9055 _resultobj = Py_None;
9056 return _resultobj;
9057}
9058
9059#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 9060static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 9061 PyObject * _resultobj;
f6bcfd97 9062 wxPyTreeCtrl * _arg0;
d5c9047a 9063 wxTreeItemId * _arg1;
1d99702e
RD
9064 PyObject * _argo0 = 0;
9065 PyObject * _argo1 = 0;
efc5f224 9066 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
9067
9068 self = self;
efc5f224 9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 9070 return NULL;
1d99702e
RD
9071 if (_argo0) {
9072 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9075 return NULL;
9076 }
9077 }
1d99702e 9078 if (_argo1) {
7e50db3f 9079 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9081 return NULL;
9082 }
9083 }
cf694132 9084{
4268f798 9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9086 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 9087
4268f798 9088 wxPyEndAllowThreads(__tstate);
493f1553 9089 if (PyErr_Occurred()) return NULL;
cf694132 9090} Py_INCREF(Py_None);
d5c9047a
RD
9091 _resultobj = Py_None;
9092 return _resultobj;
9093}
9094
9095#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 9096static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 9097 PyObject * _resultobj;
f6bcfd97 9098 wxPyTreeCtrl * _arg0;
d5c9047a 9099 wxTreeItemId * _arg1;
1d99702e
RD
9100 PyObject * _argo0 = 0;
9101 PyObject * _argo1 = 0;
efc5f224 9102 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
9103
9104 self = self;
efc5f224 9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 9106 return NULL;
1d99702e
RD
9107 if (_argo0) {
9108 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9111 return NULL;
9112 }
9113 }
1d99702e 9114 if (_argo1) {
7e50db3f 9115 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9117 return NULL;
9118 }
9119 }
cf694132 9120{
4268f798 9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9122 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 9123
4268f798 9124 wxPyEndAllowThreads(__tstate);
493f1553 9125 if (PyErr_Occurred()) return NULL;
cf694132 9126} Py_INCREF(Py_None);
d5c9047a
RD
9127 _resultobj = Py_None;
9128 return _resultobj;
9129}
9130
7e50db3f
RD
9131#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9132static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
9133 PyObject * _resultobj;
9134 wxTextCtrl * _result;
f6bcfd97 9135 wxPyTreeCtrl * _arg0;
1d99702e 9136 PyObject * _argo0 = 0;
7e50db3f 9137 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
9138
9139 self = self;
7e50db3f 9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 9141 return NULL;
1d99702e
RD
9142 if (_argo0) {
9143 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 9144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7e50db3f 9145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9146 return NULL;
9147 }
9148 }
cf694132 9149{
4268f798 9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 9151 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
cf694132 9152
4268f798 9153 wxPyEndAllowThreads(__tstate);
493f1553 9154 if (PyErr_Occurred()) return NULL;
9416aa89 9155}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
9156 return _resultobj;
9157}
9158
7e50db3f
RD
9159#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9160static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 9161 PyObject * _resultobj;
f6bcfd97 9162 wxPyTreeCtrl * _arg0;
7e50db3f 9163 wxTreeItemId * _arg1;
1d99702e 9164 PyObject * _argo0 = 0;
7e50db3f
RD
9165 PyObject * _argo1 = 0;
9166 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
9167
9168 self = self;
7e50db3f 9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 9170 return NULL;
1d99702e
RD
9171 if (_argo0) {
9172 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 9173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7e50db3f
RD
9174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9175 return NULL;
9176 }
9177 }
9178 if (_argo1) {
9179 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9180 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
d5c9047a
RD
9181 return NULL;
9182 }
9183 }
cf694132 9184{
4268f798 9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 9186 wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 9187
4268f798 9188 wxPyEndAllowThreads(__tstate);
493f1553 9189 if (PyErr_Occurred()) return NULL;
7e50db3f
RD
9190} Py_INCREF(Py_None);
9191 _resultobj = Py_None;
d5c9047a
RD
9192 return _resultobj;
9193}
9194
9195#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 9196static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 9197 PyObject * _resultobj;
f6bcfd97 9198 wxPyTreeCtrl * _arg0;
d5c9047a 9199 wxTreeItemId * _arg1;
b1462dfa 9200 int _arg2 = (int ) FALSE;
1d99702e
RD
9201 PyObject * _argo0 = 0;
9202 PyObject * _argo1 = 0;
efc5f224 9203 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
9204
9205 self = self;
b1462dfa 9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 9207 return NULL;
1d99702e
RD
9208 if (_argo0) {
9209 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9212 return NULL;
9213 }
9214 }
1d99702e 9215 if (_argo1) {
7e50db3f 9216 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9218 return NULL;
9219 }
9220 }
cf694132 9221{
4268f798 9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9223 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
cf694132 9224
4268f798 9225 wxPyEndAllowThreads(__tstate);
493f1553 9226 if (PyErr_Occurred()) return NULL;
cf694132 9227} Py_INCREF(Py_None);
d5c9047a 9228 _resultobj = Py_None;
8ab979d7
RD
9229 return _resultobj;
9230}
9231
d426c97e
RD
9232#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9233static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject * _resultobj;
f6bcfd97 9235 wxPyTreeCtrl * _arg0;
d426c97e
RD
9236 wxTreeItemId * _arg1;
9237 PyObject * _argo0 = 0;
9238 PyObject * _argo1 = 0;
9239 char *_kwnames[] = { "self","item", NULL };
9240
9241 self = self;
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
9243 return NULL;
9244 if (_argo0) {
9245 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9248 return NULL;
9249 }
9250 }
9251 if (_argo1) {
7e50db3f 9252 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d426c97e
RD
9253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9254 return NULL;
9255 }
9256 }
9257{
4268f798 9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9259 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 9260
4268f798 9261 wxPyEndAllowThreads(__tstate);
493f1553 9262 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9263} Py_INCREF(Py_None);
9264 _resultobj = Py_None;
9265 return _resultobj;
9266}
9267
b8b8dda7 9268#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9269static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9270 PyObject * _resultobj;
f6bcfd97 9271 wxPyTreeCtrl * _arg0;
b8b8dda7 9272 wxTreeItemId * _arg1;
b1462dfa 9273 int _arg2 = (int ) TRUE;
1d99702e
RD
9274 PyObject * _argo0 = 0;
9275 PyObject * _argo1 = 0;
efc5f224 9276 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9277
9278 self = self;
b1462dfa 9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9280 return NULL;
1d99702e
RD
9281 if (_argo0) {
9282 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9285 return NULL;
9286 }
9287 }
1d99702e 9288 if (_argo1) {
7e50db3f 9289 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9291 return NULL;
9292 }
9293 }
cf694132 9294{
4268f798 9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9296 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 9297
4268f798 9298 wxPyEndAllowThreads(__tstate);
493f1553 9299 if (PyErr_Occurred()) return NULL;
cf694132 9300} Py_INCREF(Py_None);
b8b8dda7
RD
9301 _resultobj = Py_None;
9302 return _resultobj;
9303}
9304
9305#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9306static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9307 PyObject * _resultobj;
9308 bool _result;
f6bcfd97 9309 wxPyTreeCtrl * _arg0;
b8b8dda7 9310 wxTreeItemId * _arg1;
1d99702e
RD
9311 PyObject * _argo0 = 0;
9312 PyObject * _argo1 = 0;
efc5f224 9313 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9314
9315 self = self;
efc5f224 9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9317 return NULL;
1d99702e
RD
9318 if (_argo0) {
9319 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9322 return NULL;
9323 }
9324 }
1d99702e 9325 if (_argo1) {
7e50db3f 9326 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9327 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9328 return NULL;
9329 }
9330 }
cf694132 9331{
4268f798 9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9333 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 9334
4268f798 9335 wxPyEndAllowThreads(__tstate);
493f1553 9336 if (PyErr_Occurred()) return NULL;
cf694132 9337} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9338 return _resultobj;
9339}
9340
164b735b 9341#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9342static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9343 PyObject * _resultobj;
9344 wxTreeItemId * _result;
f6bcfd97 9345 wxPyTreeCtrl * _arg0;
b8b8dda7 9346 wxPoint * _arg1;
164b735b
RD
9347 int * _arg2;
9348 int temp;
1d99702e 9349 PyObject * _argo0 = 0;
164b735b 9350 wxPoint temp0;
2f90df85 9351 PyObject * _obj1 = 0;
efc5f224 9352 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9353 char _ptemp[128];
9354
9355 self = self;
164b735b
RD
9356{
9357 _arg2 = &temp;
9358}
2f90df85 9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9360 return NULL;
1d99702e
RD
9361 if (_argo0) {
9362 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9365 return NULL;
9366 }
9367 }
2f90df85 9368{
164b735b 9369 _arg1 = &temp0;
2f90df85 9370 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9371 return NULL;
2f90df85 9372}
cf694132 9373{
4268f798 9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9375 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9376
4268f798 9377 wxPyEndAllowThreads(__tstate);
493f1553 9378 if (PyErr_Occurred()) return NULL;
cf694132 9379} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9380 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9381{
9382 PyObject *o;
9383 o = PyInt_FromLong((long) (*_arg2));
9384 _resultobj = t_output_helper(_resultobj, o);
9385}
b8b8dda7
RD
9386 return _resultobj;
9387}
9388
b7e72427
RD
9389#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9390static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject * _resultobj;
f6bcfd97 9392 wxPyTreeCtrl * _arg0;
b7e72427
RD
9393 wxTreeItemId * _arg1;
9394 wxColour * _arg2;
9395 PyObject * _argo0 = 0;
9396 PyObject * _argo1 = 0;
f6bcfd97
BP
9397 wxColour temp;
9398 PyObject * _obj2 = 0;
b7e72427
RD
9399 char *_kwnames[] = { "self","item","col", NULL };
9400
9401 self = self;
f6bcfd97 9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9403 return NULL;
9404 if (_argo0) {
9405 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9408 return NULL;
9409 }
9410 }
9411 if (_argo1) {
7e50db3f 9412 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b7e72427
RD
9413 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9414 return NULL;
9415 }
9416 }
f6bcfd97
BP
9417{
9418 _arg2 = &temp;
9419 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9420 return NULL;
f6bcfd97 9421}
b7e72427 9422{
4268f798 9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9424 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 9425
4268f798 9426 wxPyEndAllowThreads(__tstate);
493f1553 9427 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9428} Py_INCREF(Py_None);
9429 _resultobj = Py_None;
9430 return _resultobj;
9431}
9432
9433#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9434static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject * _resultobj;
f6bcfd97 9436 wxPyTreeCtrl * _arg0;
b7e72427
RD
9437 wxTreeItemId * _arg1;
9438 wxColour * _arg2;
9439 PyObject * _argo0 = 0;
9440 PyObject * _argo1 = 0;
f6bcfd97
BP
9441 wxColour temp;
9442 PyObject * _obj2 = 0;
b7e72427
RD
9443 char *_kwnames[] = { "self","item","col", NULL };
9444
9445 self = self;
f6bcfd97 9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9447 return NULL;
9448 if (_argo0) {
9449 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9452 return NULL;
9453 }
9454 }
9455 if (_argo1) {
7e50db3f 9456 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b7e72427
RD
9457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9458 return NULL;
9459 }
9460 }
f6bcfd97
BP
9461{
9462 _arg2 = &temp;
9463 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9464 return NULL;
f6bcfd97 9465}
b7e72427 9466{
4268f798 9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9468 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9469
4268f798 9470 wxPyEndAllowThreads(__tstate);
493f1553 9471 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9472} Py_INCREF(Py_None);
9473 _resultobj = Py_None;
9474 return _resultobj;
9475}
9476
9477#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9478static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject * _resultobj;
f6bcfd97 9480 wxPyTreeCtrl * _arg0;
b7e72427
RD
9481 wxTreeItemId * _arg1;
9482 wxFont * _arg2;
9483 PyObject * _argo0 = 0;
9484 PyObject * _argo1 = 0;
9485 PyObject * _argo2 = 0;
9486 char *_kwnames[] = { "self","item","font", NULL };
9487
9488 self = self;
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9490 return NULL;
9491 if (_argo0) {
9492 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9495 return NULL;
9496 }
9497 }
9498 if (_argo1) {
7e50db3f 9499 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b7e72427
RD
9500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9501 return NULL;
9502 }
9503 }
9504 if (_argo2) {
7e50db3f 9505 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
b7e72427
RD
9506 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9507 return NULL;
9508 }
9509 }
9510{
4268f798 9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9512 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9513
4268f798 9514 wxPyEndAllowThreads(__tstate);
493f1553 9515 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9516} Py_INCREF(Py_None);
9517 _resultobj = Py_None;
9518 return _resultobj;
9519}
9520
b1462dfa
RD
9521#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9522static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject * _resultobj;
f6bcfd97 9524 wxPyTreeCtrl * _arg0;
b1462dfa
RD
9525 wxTreeItemId * _arg1;
9526 int _arg2 = (int ) TRUE;
9527 PyObject * _argo0 = 0;
9528 PyObject * _argo1 = 0;
9529 char *_kwnames[] = { "self","item","highlight", NULL };
9530
9531 self = self;
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9533 return NULL;
9534 if (_argo0) {
9535 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
9538 return NULL;
9539 }
9540 }
9541 if (_argo1) {
7e50db3f 9542 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b1462dfa
RD
9543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9544 return NULL;
9545 }
9546 }
9547{
4268f798 9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9549 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
b1462dfa 9550
4268f798 9551 wxPyEndAllowThreads(__tstate);
493f1553 9552 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9553} Py_INCREF(Py_None);
9554 _resultobj = Py_None;
9555 return _resultobj;
9556}
9557
f6bcfd97 9558static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
d426c97e 9559 wxRect rect;
164b735b 9560 if (self->GetBoundingRect(item, rect, textOnly)) {
4268f798 9561 wxPyBeginBlockThreads();
164b735b 9562 wxRect* r = new wxRect(rect);
5a2a9da2 9563 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
4268f798 9564 wxPyEndBlockThreads();
164b735b
RD
9565 return val;
9566 }
d426c97e
RD
9567 else {
9568 Py_INCREF(Py_None);
9569 return Py_None;
9570 }
9571 }
9572static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject * _resultobj;
9574 PyObject * _result;
f6bcfd97 9575 wxPyTreeCtrl * _arg0;
d426c97e
RD
9576 wxTreeItemId * _arg1;
9577 int _arg2 = (int ) FALSE;
9578 PyObject * _argo0 = 0;
9579 PyObject * _argo1 = 0;
9580 char *_kwnames[] = { "self","item","textOnly", NULL };
9581
9582 self = self;
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9584 return NULL;
9585 if (_argo0) {
9586 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9589 return NULL;
9590 }
9591 }
9592 if (_argo1) {
7e50db3f 9593 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d426c97e
RD
9594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9595 return NULL;
9596 }
9597 }
9598{
4268f798 9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9600 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
d426c97e 9601
4268f798 9602 wxPyEndAllowThreads(__tstate);
493f1553 9603 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9604}{
9605 _resultobj = _result;
9606}
9607 return _resultobj;
9608}
9609
68320e40
RD
9610static void *SwigwxDirItemDataTowxObject(void *ptr) {
9611 wxDirItemData *src;
9612 wxObject *dest;
9613 src = (wxDirItemData *) ptr;
9614 dest = (wxObject *) src;
9615 return (void *) dest;
9616}
9617
9618#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9619static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9620 PyObject * _resultobj;
9621 wxDirItemData * _result;
9622 wxString * _arg0;
9623 wxString * _arg1;
9624 bool _arg2;
9625 PyObject * _obj0 = 0;
9626 PyObject * _obj1 = 0;
9627 int tempbool2;
9628 char *_kwnames[] = { "path","name","isDir", NULL };
9629 char _ptemp[128];
9630
9631 self = self;
9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9633 return NULL;
9634{
c8bc7bb8
RD
9635 _arg0 = wxString_in_helper(_obj0);
9636 if (_arg0 == NULL)
68320e40 9637 return NULL;
68320e40
RD
9638}
9639{
c8bc7bb8
RD
9640 _arg1 = wxString_in_helper(_obj1);
9641 if (_arg1 == NULL)
68320e40 9642 return NULL;
68320e40
RD
9643}
9644 _arg2 = (bool ) tempbool2;
9645{
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9647 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
68320e40
RD
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) return NULL;
9651} if (_result) {
9652 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9653 _resultobj = Py_BuildValue("s",_ptemp);
9654 } else {
9655 Py_INCREF(Py_None);
9656 _resultobj = Py_None;
9657 }
9658{
9659 if (_obj0)
9660 delete _arg0;
9661}
9662{
9663 if (_obj1)
9664 delete _arg1;
9665}
9666 return _resultobj;
9667}
9668
9669#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9670static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject * _resultobj;
9672 wxDirItemData * _arg0;
9673 wxString * _arg1;
9674 PyObject * _argo0 = 0;
9675 PyObject * _obj1 = 0;
9676 char *_kwnames[] = { "self","path", NULL };
9677
9678 self = self;
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9680 return NULL;
9681 if (_argo0) {
9682 if (_argo0 == Py_None) { _arg0 = NULL; }
9683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9685 return NULL;
9686 }
9687 }
9688{
c8bc7bb8
RD
9689 _arg1 = wxString_in_helper(_obj1);
9690 if (_arg1 == NULL)
68320e40 9691 return NULL;
68320e40
RD
9692}
9693{
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9695 wxDirItemData_SetNewDirName(_arg0,*_arg1);
68320e40
RD
9696
9697 wxPyEndAllowThreads(__tstate);
9698 if (PyErr_Occurred()) return NULL;
9699} Py_INCREF(Py_None);
9700 _resultobj = Py_None;
9701{
9702 if (_obj1)
9703 delete _arg1;
9704}
9705 return _resultobj;
9706}
9707
9708#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9709static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject * _resultobj;
9711 wxString * _result;
9712 wxDirItemData * _arg0;
9713 wxString * _arg1;
9714 PyObject * _argo0 = 0;
9715 PyObject * _obj1 = 0;
9716 char *_kwnames[] = { "self","m_path", NULL };
9717
9718 self = self;
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9720 return NULL;
9721 if (_argo0) {
9722 if (_argo0 == Py_None) { _arg0 = NULL; }
9723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9725 return NULL;
9726 }
9727 }
9728{
c8bc7bb8
RD
9729 _arg1 = wxString_in_helper(_obj1);
9730 if (_arg1 == NULL)
68320e40 9731 return NULL;
68320e40
RD
9732}
9733{
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9735 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
68320e40
RD
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) return NULL;
9739}{
c8bc7bb8 9740#if wxUSE_UNICODE
7e50db3f 9741 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9742#else
68320e40 9743 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9744#endif
68320e40
RD
9745}
9746{
9747 if (_obj1)
9748 delete _arg1;
9749}
9750 return _resultobj;
9751}
9752
9753#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9754static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9755 PyObject * _resultobj;
9756 wxString * _result;
9757 wxDirItemData * _arg0;
9758 PyObject * _argo0 = 0;
9759 char *_kwnames[] = { "self", NULL };
9760
9761 self = self;
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9763 return NULL;
9764 if (_argo0) {
9765 if (_argo0 == Py_None) { _arg0 = NULL; }
9766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9768 return NULL;
9769 }
9770 }
9771{
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9773 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
68320e40
RD
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) return NULL;
9777}{
c8bc7bb8 9778#if wxUSE_UNICODE
7e50db3f 9779 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9780#else
68320e40 9781 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9782#endif
68320e40
RD
9783}
9784 return _resultobj;
9785}
9786
9787#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9788static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject * _resultobj;
9790 wxString * _result;
9791 wxDirItemData * _arg0;
9792 wxString * _arg1;
9793 PyObject * _argo0 = 0;
9794 PyObject * _obj1 = 0;
9795 char *_kwnames[] = { "self","m_name", NULL };
9796
9797 self = self;
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9799 return NULL;
9800 if (_argo0) {
9801 if (_argo0 == Py_None) { _arg0 = NULL; }
9802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9804 return NULL;
9805 }
9806 }
9807{
c8bc7bb8
RD
9808 _arg1 = wxString_in_helper(_obj1);
9809 if (_arg1 == NULL)
68320e40 9810 return NULL;
68320e40
RD
9811}
9812{
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9814 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
68320e40
RD
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) return NULL;
9818}{
c8bc7bb8 9819#if wxUSE_UNICODE
7e50db3f 9820 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9821#else
68320e40 9822 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9823#endif
68320e40
RD
9824}
9825{
9826 if (_obj1)
9827 delete _arg1;
9828}
9829 return _resultobj;
9830}
9831
9832#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9833static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject * _resultobj;
9835 wxString * _result;
9836 wxDirItemData * _arg0;
9837 PyObject * _argo0 = 0;
9838 char *_kwnames[] = { "self", NULL };
9839
9840 self = self;
9841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9842 return NULL;
9843 if (_argo0) {
9844 if (_argo0 == Py_None) { _arg0 = NULL; }
9845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9847 return NULL;
9848 }
9849 }
9850{
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9852 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
68320e40
RD
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) return NULL;
9856}{
c8bc7bb8 9857#if wxUSE_UNICODE
7e50db3f 9858 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9859#else
68320e40 9860 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9861#endif
68320e40
RD
9862}
9863 return _resultobj;
9864}
9865
9866#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9867static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject * _resultobj;
9869 bool _result;
9870 wxDirItemData * _arg0;
9871 bool _arg1;
9872 PyObject * _argo0 = 0;
9873 int tempbool1;
9874 char *_kwnames[] = { "self","m_isHidden", NULL };
9875
9876 self = self;
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9878 return NULL;
9879 if (_argo0) {
9880 if (_argo0 == Py_None) { _arg0 = NULL; }
9881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9883 return NULL;
9884 }
9885 }
9886 _arg1 = (bool ) tempbool1;
9887{
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9889 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
68320e40
RD
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) return NULL;
9893} _resultobj = Py_BuildValue("i",_result);
9894 return _resultobj;
9895}
9896
9897#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9898static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject * _resultobj;
9900 bool _result;
9901 wxDirItemData * _arg0;
9902 PyObject * _argo0 = 0;
9903 char *_kwnames[] = { "self", NULL };
9904
9905 self = self;
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9907 return NULL;
9908 if (_argo0) {
9909 if (_argo0 == Py_None) { _arg0 = NULL; }
9910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9912 return NULL;
9913 }
9914 }
9915{
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9917 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
68320e40
RD
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) return NULL;
9921} _resultobj = Py_BuildValue("i",_result);
9922 return _resultobj;
9923}
9924
9925#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9926static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9927 PyObject * _resultobj;
9928 bool _result;
9929 wxDirItemData * _arg0;
9930 bool _arg1;
9931 PyObject * _argo0 = 0;
9932 int tempbool1;
9933 char *_kwnames[] = { "self","m_isExpanded", NULL };
9934
9935 self = self;
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9937 return NULL;
9938 if (_argo0) {
9939 if (_argo0 == Py_None) { _arg0 = NULL; }
9940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9942 return NULL;
9943 }
9944 }
9945 _arg1 = (bool ) tempbool1;
9946{
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9948 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
68320e40
RD
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) return NULL;
9952} _resultobj = Py_BuildValue("i",_result);
9953 return _resultobj;
9954}
9955
9956#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9957static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject * _resultobj;
9959 bool _result;
9960 wxDirItemData * _arg0;
9961 PyObject * _argo0 = 0;
9962 char *_kwnames[] = { "self", NULL };
9963
9964 self = self;
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9966 return NULL;
9967 if (_argo0) {
9968 if (_argo0 == Py_None) { _arg0 = NULL; }
9969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9971 return NULL;
9972 }
9973 }
9974{
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9976 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
68320e40
RD
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) return NULL;
9980} _resultobj = Py_BuildValue("i",_result);
9981 return _resultobj;
9982}
9983
9984#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9985static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject * _resultobj;
9987 bool _result;
9988 wxDirItemData * _arg0;
9989 bool _arg1;
9990 PyObject * _argo0 = 0;
9991 int tempbool1;
9992 char *_kwnames[] = { "self","m_isDir", NULL };
9993
9994 self = self;
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9996 return NULL;
9997 if (_argo0) {
9998 if (_argo0 == Py_None) { _arg0 = NULL; }
9999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
10000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
10001 return NULL;
10002 }
10003 }
10004 _arg1 = (bool ) tempbool1;
10005{
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10007 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
68320e40
RD
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) return NULL;
10011} _resultobj = Py_BuildValue("i",_result);
10012 return _resultobj;
10013}
10014
10015#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
10016static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject * _resultobj;
10018 bool _result;
10019 wxDirItemData * _arg0;
10020 PyObject * _argo0 = 0;
10021 char *_kwnames[] = { "self", NULL };
10022
10023 self = self;
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
10025 return NULL;
10026 if (_argo0) {
10027 if (_argo0 == Py_None) { _arg0 = NULL; }
10028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
10029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
10030 return NULL;
10031 }
10032 }
10033{
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10035 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
68320e40
RD
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) return NULL;
10039} _resultobj = Py_BuildValue("i",_result);
10040 return _resultobj;
10041}
10042
10043static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
10044 wxGenericDirCtrl *src;
10045 wxControl *dest;
10046 src = (wxGenericDirCtrl *) ptr;
10047 dest = (wxControl *) src;
10048 return (void *) dest;
10049}
10050
10051static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
10052 wxGenericDirCtrl *src;
10053 wxWindow *dest;
10054 src = (wxGenericDirCtrl *) ptr;
10055 dest = (wxWindow *) src;
10056 return (void *) dest;
10057}
10058
10059static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
10060 wxGenericDirCtrl *src;
10061 wxEvtHandler *dest;
10062 src = (wxGenericDirCtrl *) ptr;
10063 dest = (wxEvtHandler *) src;
10064 return (void *) dest;
10065}
10066
10067static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
10068 wxGenericDirCtrl *src;
10069 wxObject *dest;
10070 src = (wxGenericDirCtrl *) ptr;
10071 dest = (wxObject *) src;
10072 return (void *) dest;
10073}
10074
10075#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10076static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject * _resultobj;
10078 wxGenericDirCtrl * _result;
10079 wxWindow * _arg0;
10080 wxWindowID _arg1 = (wxWindowID ) -1;
137b5242 10081 wxString * _arg2 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
10082 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10083 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10084 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 10085 wxString * _arg6 = (wxString *) &wxPyEmptyString;
68320e40 10086 int _arg7 = (int ) 0;
137b5242 10087 wxString * _arg8 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40 10088 PyObject * _argo0 = 0;
137b5242 10089 PyObject * _obj2 = 0;
68320e40
RD
10090 wxPoint temp;
10091 PyObject * _obj3 = 0;
10092 wxSize temp0;
10093 PyObject * _obj4 = 0;
137b5242
RD
10094 PyObject * _obj6 = 0;
10095 PyObject * _obj8 = 0;
68320e40
RD
10096 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
10097 char _ptemp[128];
10098
10099 self = self;
137b5242 10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6,&_arg7,&_obj8))
68320e40
RD
10101 return NULL;
10102 if (_argo0) {
10103 if (_argo0 == Py_None) { _arg0 = NULL; }
10104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
10106 return NULL;
10107 }
10108 }
137b5242
RD
10109 if (_obj2)
10110{
10111 _arg2 = wxString_in_helper(_obj2);
10112 if (_arg2 == NULL)
10113 return NULL;
10114}
68320e40
RD
10115 if (_obj3)
10116{
10117 _arg3 = &temp;
10118 if (! wxPoint_helper(_obj3, &_arg3))
10119 return NULL;
10120}
10121 if (_obj4)
10122{
10123 _arg4 = &temp0;
10124 if (! wxSize_helper(_obj4, &_arg4))
10125 return NULL;
137b5242
RD
10126}
10127 if (_obj6)
10128{
10129 _arg6 = wxString_in_helper(_obj6);
10130 if (_arg6 == NULL)
10131 return NULL;
10132}
10133 if (_obj8)
10134{
10135 _arg8 = wxString_in_helper(_obj8);
10136 if (_arg8 == NULL)
10137 return NULL;
68320e40
RD
10138}
10139{
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10141 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7,*_arg8);
68320e40
RD
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) return NULL;
10145} if (_result) {
10146 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
10147 _resultobj = Py_BuildValue("s",_ptemp);
10148 } else {
10149 Py_INCREF(Py_None);
10150 _resultobj = Py_None;
10151 }
137b5242
RD
10152{
10153 if (_obj2)
10154 delete _arg2;
10155}
10156{
10157 if (_obj6)
10158 delete _arg6;
10159}
10160{
10161 if (_obj8)
10162 delete _arg8;
10163}
68320e40
RD
10164 return _resultobj;
10165}
10166
10167#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
10168static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject * _resultobj;
10170 wxGenericDirCtrl * _result;
10171 char *_kwnames[] = { NULL };
10172 char _ptemp[128];
10173
10174 self = self;
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
10176 return NULL;
10177{
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10179 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
68320e40
RD
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) return NULL;
10183} if (_result) {
10184 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
10185 _resultobj = Py_BuildValue("s",_ptemp);
10186 } else {
10187 Py_INCREF(Py_None);
10188 _resultobj = Py_None;
10189 }
10190 return _resultobj;
10191}
10192
10193#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10194static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject * _resultobj;
10196 bool _result;
10197 wxGenericDirCtrl * _arg0;
10198 wxWindow * _arg1;
10199 wxWindowID _arg2 = (wxWindowID ) -1;
137b5242 10200 wxString * _arg3 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
10201 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10202 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10203 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 10204 wxString * _arg7 = (wxString *) &wxPyEmptyString;
68320e40 10205 int _arg8 = (int ) 0;
137b5242 10206 wxString * _arg9 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40
RD
10207 PyObject * _argo0 = 0;
10208 PyObject * _argo1 = 0;
137b5242 10209 PyObject * _obj3 = 0;
68320e40
RD
10210 wxPoint temp;
10211 PyObject * _obj4 = 0;
10212 wxSize temp0;
10213 PyObject * _obj5 = 0;
137b5242
RD
10214 PyObject * _obj7 = 0;
10215 PyObject * _obj9 = 0;
68320e40
RD
10216 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
10217
10218 self = self;
137b5242 10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7,&_arg8,&_obj9))
68320e40
RD
10220 return NULL;
10221 if (_argo0) {
10222 if (_argo0 == Py_None) { _arg0 = NULL; }
10223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10225 return NULL;
10226 }
10227 }
10228 if (_argo1) {
10229 if (_argo1 == Py_None) { _arg1 = NULL; }
10230 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10231 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10232 return NULL;
10233 }
10234 }
137b5242
RD
10235 if (_obj3)
10236{
10237 _arg3 = wxString_in_helper(_obj3);
10238 if (_arg3 == NULL)
10239 return NULL;
10240}
68320e40
RD
10241 if (_obj4)
10242{
10243 _arg4 = &temp;
10244 if (! wxPoint_helper(_obj4, &_arg4))
10245 return NULL;
10246}
10247 if (_obj5)
10248{
10249 _arg5 = &temp0;
10250 if (! wxSize_helper(_obj5, &_arg5))
10251 return NULL;
137b5242
RD
10252}
10253 if (_obj7)
10254{
10255 _arg7 = wxString_in_helper(_obj7);
10256 if (_arg7 == NULL)
10257 return NULL;
10258}
10259 if (_obj9)
10260{
10261 _arg9 = wxString_in_helper(_obj9);
10262 if (_arg9 == NULL)
10263 return NULL;
68320e40
RD
10264}
10265{
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10267 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8,*_arg9);
68320e40
RD
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) return NULL;
10271} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
10272{
10273 if (_obj3)
10274 delete _arg3;
10275}
10276{
10277 if (_obj7)
10278 delete _arg7;
10279}
10280{
10281 if (_obj9)
10282 delete _arg9;
10283}
68320e40
RD
10284 return _resultobj;
10285}
10286
10287#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10288static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject * _resultobj;
10290 bool _result;
10291 wxGenericDirCtrl * _arg0;
10292 wxString * _arg1;
10293 PyObject * _argo0 = 0;
10294 PyObject * _obj1 = 0;
10295 char *_kwnames[] = { "self","path", NULL };
10296
10297 self = self;
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
10299 return NULL;
10300 if (_argo0) {
10301 if (_argo0 == Py_None) { _arg0 = NULL; }
10302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10304 return NULL;
10305 }
10306 }
10307{
c8bc7bb8
RD
10308 _arg1 = wxString_in_helper(_obj1);
10309 if (_arg1 == NULL)
68320e40 10310 return NULL;
68320e40
RD
10311}
10312{
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10314 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
68320e40
RD
10315
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) return NULL;
10318} _resultobj = Py_BuildValue("i",_result);
10319{
10320 if (_obj1)
10321 delete _arg1;
10322}
10323 return _resultobj;
10324}
10325
10326#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10327static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10328 PyObject * _resultobj;
10329 wxString * _result;
10330 wxGenericDirCtrl * _arg0;
10331 PyObject * _argo0 = 0;
10332 char *_kwnames[] = { "self", NULL };
10333
10334 self = self;
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10336 return NULL;
10337 if (_argo0) {
10338 if (_argo0 == Py_None) { _arg0 = NULL; }
10339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10341 return NULL;
10342 }
10343 }
10344{
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10346 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
68320e40
RD
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) return NULL;
10350}{
c8bc7bb8 10351#if wxUSE_UNICODE
7e50db3f 10352 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10353#else
68320e40 10354 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10355#endif
68320e40
RD
10356}
10357{
10358 delete _result;
10359}
10360 return _resultobj;
10361}
10362
10363#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10364static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject * _resultobj;
10366 wxGenericDirCtrl * _arg0;
10367 wxString * _arg1;
10368 PyObject * _argo0 = 0;
10369 PyObject * _obj1 = 0;
10370 char *_kwnames[] = { "self","path", NULL };
10371
10372 self = self;
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10374 return NULL;
10375 if (_argo0) {
10376 if (_argo0 == Py_None) { _arg0 = NULL; }
10377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10379 return NULL;
10380 }
10381 }
10382{
c8bc7bb8
RD
10383 _arg1 = wxString_in_helper(_obj1);
10384 if (_arg1 == NULL)
68320e40 10385 return NULL;
68320e40
RD
10386}
10387{
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10389 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
68320e40
RD
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) return NULL;
10393} Py_INCREF(Py_None);
10394 _resultobj = Py_None;
10395{
10396 if (_obj1)
10397 delete _arg1;
10398}
10399 return _resultobj;
10400}
10401
10402#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10403static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10404 PyObject * _resultobj;
10405 wxString * _result;
10406 wxGenericDirCtrl * _arg0;
10407 PyObject * _argo0 = 0;
10408 char *_kwnames[] = { "self", NULL };
10409
10410 self = self;
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10412 return NULL;
10413 if (_argo0) {
10414 if (_argo0 == Py_None) { _arg0 = NULL; }
10415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10417 return NULL;
10418 }
10419 }
10420{
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10422 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
68320e40
RD
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) return NULL;
10426}{
c8bc7bb8 10427#if wxUSE_UNICODE
7e50db3f 10428 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10429#else
68320e40 10430 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10431#endif
68320e40
RD
10432}
10433{
10434 delete _result;
10435}
10436 return _resultobj;
10437}
10438
10439#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10440static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10441 PyObject * _resultobj;
10442 wxString * _result;
10443 wxGenericDirCtrl * _arg0;
10444 PyObject * _argo0 = 0;
10445 char *_kwnames[] = { "self", NULL };
10446
10447 self = self;
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10449 return NULL;
10450 if (_argo0) {
10451 if (_argo0 == Py_None) { _arg0 = NULL; }
10452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10454 return NULL;
10455 }
10456 }
10457{
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10459 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
68320e40
RD
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) return NULL;
10463}{
c8bc7bb8 10464#if wxUSE_UNICODE
7e50db3f 10465 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10466#else
68320e40 10467 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10468#endif
68320e40
RD
10469}
10470{
10471 delete _result;
10472}
10473 return _resultobj;
10474}
10475
10476#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10477static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject * _resultobj;
10479 wxGenericDirCtrl * _arg0;
10480 wxString * _arg1;
10481 PyObject * _argo0 = 0;
10482 PyObject * _obj1 = 0;
10483 char *_kwnames[] = { "self","path", NULL };
10484
10485 self = self;
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10487 return NULL;
10488 if (_argo0) {
10489 if (_argo0 == Py_None) { _arg0 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10492 return NULL;
10493 }
10494 }
10495{
c8bc7bb8
RD
10496 _arg1 = wxString_in_helper(_obj1);
10497 if (_arg1 == NULL)
68320e40 10498 return NULL;
68320e40
RD
10499}
10500{
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10502 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
68320e40
RD
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) return NULL;
10506} Py_INCREF(Py_None);
10507 _resultobj = Py_None;
10508{
10509 if (_obj1)
10510 delete _arg1;
10511}
10512 return _resultobj;
10513}
10514
10515#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10516static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject * _resultobj;
10518 wxGenericDirCtrl * _arg0;
10519 bool _arg1;
10520 PyObject * _argo0 = 0;
10521 int tempbool1;
10522 char *_kwnames[] = { "self","show", NULL };
10523
10524 self = self;
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
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_ShowHidden. Expected _wxGenericDirCtrl_p.");
10531 return NULL;
10532 }
10533 }
10534 _arg1 = (bool ) tempbool1;
10535{
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10537 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
68320e40
RD
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) return NULL;
10541} Py_INCREF(Py_None);
10542 _resultobj = Py_None;
10543 return _resultobj;
10544}
10545
10546#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10547static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject * _resultobj;
10549 bool _result;
10550 wxGenericDirCtrl * _arg0;
10551 PyObject * _argo0 = 0;
10552 char *_kwnames[] = { "self", NULL };
10553
10554 self = self;
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10556 return NULL;
10557 if (_argo0) {
10558 if (_argo0 == Py_None) { _arg0 = NULL; }
10559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10561 return NULL;
10562 }
10563 }
10564{
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10566 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
68320e40
RD
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) return NULL;
10570} _resultobj = Py_BuildValue("i",_result);
10571 return _resultobj;
10572}
10573
10574#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10575static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10576 PyObject * _resultobj;
10577 wxString * _result;
10578 wxGenericDirCtrl * _arg0;
10579 PyObject * _argo0 = 0;
10580 char *_kwnames[] = { "self", NULL };
10581
10582 self = self;
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10584 return NULL;
10585 if (_argo0) {
10586 if (_argo0 == Py_None) { _arg0 = NULL; }
10587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10589 return NULL;
10590 }
10591 }
10592{
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10594 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
68320e40
RD
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) return NULL;
10598}{
c8bc7bb8 10599#if wxUSE_UNICODE
7e50db3f 10600 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10601#else
68320e40 10602 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10603#endif
68320e40
RD
10604}
10605{
10606 delete _result;
10607}
10608 return _resultobj;
10609}
10610
10611#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10612static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject * _resultobj;
10614 wxGenericDirCtrl * _arg0;
10615 wxString * _arg1;
10616 PyObject * _argo0 = 0;
10617 PyObject * _obj1 = 0;
10618 char *_kwnames[] = { "self","filter", NULL };
10619
10620 self = self;
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10622 return NULL;
10623 if (_argo0) {
10624 if (_argo0 == Py_None) { _arg0 = NULL; }
10625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10627 return NULL;
10628 }
10629 }
10630{
c8bc7bb8
RD
10631 _arg1 = wxString_in_helper(_obj1);
10632 if (_arg1 == NULL)
68320e40 10633 return NULL;
68320e40
RD
10634}
10635{
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10637 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
68320e40
RD
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) return NULL;
10641} Py_INCREF(Py_None);
10642 _resultobj = Py_None;
10643{
10644 if (_obj1)
10645 delete _arg1;
10646}
10647 return _resultobj;
10648}
10649
10650#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10651static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject * _resultobj;
10653 int _result;
10654 wxGenericDirCtrl * _arg0;
10655 PyObject * _argo0 = 0;
10656 char *_kwnames[] = { "self", NULL };
10657
10658 self = self;
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10660 return NULL;
10661 if (_argo0) {
10662 if (_argo0 == Py_None) { _arg0 = NULL; }
10663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10665 return NULL;
10666 }
10667 }
10668{
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10670 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
68320e40
RD
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) return NULL;
10674} _resultobj = Py_BuildValue("i",_result);
10675 return _resultobj;
10676}
10677
10678#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10679static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10680 PyObject * _resultobj;
10681 wxGenericDirCtrl * _arg0;
10682 int _arg1;
10683 PyObject * _argo0 = 0;
10684 char *_kwnames[] = { "self","n", NULL };
10685
10686 self = self;
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10688 return NULL;
10689 if (_argo0) {
10690 if (_argo0 == Py_None) { _arg0 = NULL; }
10691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10693 return NULL;
10694 }
10695 }
10696{
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10698 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
68320e40
RD
10699
10700 wxPyEndAllowThreads(__tstate);
10701 if (PyErr_Occurred()) return NULL;
10702} Py_INCREF(Py_None);
10703 _resultobj = Py_None;
10704 return _resultobj;
10705}
10706
10707#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10708static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject * _resultobj;
10710 wxTreeItemId * _result;
10711 wxGenericDirCtrl * _arg0;
10712 PyObject * _argo0 = 0;
10713 char *_kwnames[] = { "self", NULL };
10714 char _ptemp[128];
10715
10716 self = self;
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10718 return NULL;
10719 if (_argo0) {
10720 if (_argo0 == Py_None) { _arg0 = NULL; }
10721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10723 return NULL;
10724 }
10725 }
10726{
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10728 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
68320e40
RD
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) return NULL;
10732} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10733 _resultobj = Py_BuildValue("s",_ptemp);
10734 return _resultobj;
10735}
10736
10737#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10738static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject * _resultobj;
10740 wxTreeCtrl * _result;
10741 wxGenericDirCtrl * _arg0;
10742 PyObject * _argo0 = 0;
10743 char *_kwnames[] = { "self", NULL };
68320e40
RD
10744
10745 self = self;
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10747 return NULL;
10748 if (_argo0) {
10749 if (_argo0 == Py_None) { _arg0 = NULL; }
10750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10752 return NULL;
10753 }
10754 }
10755{
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10757 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
68320e40
RD
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) return NULL;
9398120d 10761}{ _resultobj = wxPyMake_wxObject(_result); }
68320e40
RD
10762 return _resultobj;
10763}
10764
10765#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10766static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject * _resultobj;
10768 wxDirFilterListCtrl * _result;
10769 wxGenericDirCtrl * _arg0;
10770 PyObject * _argo0 = 0;
10771 char *_kwnames[] = { "self", NULL };
10772 char _ptemp[128];
10773
10774 self = self;
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10776 return NULL;
10777 if (_argo0) {
10778 if (_argo0 == Py_None) { _arg0 = NULL; }
10779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10781 return NULL;
10782 }
10783 }
10784{
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10786 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
68320e40
RD
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) return NULL;
10790} if (_result) {
10791 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10792 _resultobj = Py_BuildValue("s",_ptemp);
10793 } else {
10794 Py_INCREF(Py_None);
10795 _resultobj = Py_None;
10796 }
10797 return _resultobj;
10798}
10799
5a2a9da2
RD
10800#define wxGenericDirCtrl_ReCreateTree(_swigobj) (_swigobj->ReCreateTree())
10801static PyObject *_wrap_wxGenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject * _resultobj;
10803 wxGenericDirCtrl * _arg0;
10804 PyObject * _argo0 = 0;
10805 char *_kwnames[] = { "self", NULL };
10806
10807 self = self;
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_ReCreateTree",_kwnames,&_argo0))
10809 return NULL;
10810 if (_argo0) {
10811 if (_argo0 == Py_None) { _arg0 = NULL; }
10812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ReCreateTree. Expected _wxGenericDirCtrl_p.");
10814 return NULL;
10815 }
10816 }
10817{
10818 PyThreadState* __tstate = wxPyBeginAllowThreads();
10819 wxGenericDirCtrl_ReCreateTree(_arg0);
10820
10821 wxPyEndAllowThreads(__tstate);
10822 if (PyErr_Occurred()) return NULL;
10823} Py_INCREF(Py_None);
10824 _resultobj = Py_None;
10825 return _resultobj;
10826}
10827
68320e40
RD
10828static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10829 wxDirFilterListCtrl *src;
10830 wxChoice *dest;
10831 src = (wxDirFilterListCtrl *) ptr;
10832 dest = (wxChoice *) src;
10833 return (void *) dest;
10834}
10835
10836static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10837 wxDirFilterListCtrl *src;
10838 wxControlWithItems *dest;
10839 src = (wxDirFilterListCtrl *) ptr;
10840 dest = (wxControlWithItems *) src;
10841 return (void *) dest;
10842}
10843
10844static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10845 wxDirFilterListCtrl *src;
10846 wxControl *dest;
10847 src = (wxDirFilterListCtrl *) ptr;
10848 dest = (wxControl *) src;
10849 return (void *) dest;
10850}
10851
10852static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10853 wxDirFilterListCtrl *src;
10854 wxWindow *dest;
10855 src = (wxDirFilterListCtrl *) ptr;
10856 dest = (wxWindow *) src;
10857 return (void *) dest;
10858}
10859
10860static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10861 wxDirFilterListCtrl *src;
10862 wxEvtHandler *dest;
10863 src = (wxDirFilterListCtrl *) ptr;
10864 dest = (wxEvtHandler *) src;
10865 return (void *) dest;
10866}
10867
10868static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10869 wxDirFilterListCtrl *src;
10870 wxObject *dest;
10871 src = (wxDirFilterListCtrl *) ptr;
10872 dest = (wxObject *) src;
10873 return (void *) dest;
10874}
10875
10876#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10877static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject * _resultobj;
10879 wxDirFilterListCtrl * _result;
10880 wxGenericDirCtrl * _arg0;
10881 wxWindowID _arg1 = (wxWindowID ) -1;
10882 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10883 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10884 long _arg4 = (long ) 0;
10885 PyObject * _argo0 = 0;
10886 wxPoint temp;
10887 PyObject * _obj2 = 0;
10888 wxSize temp0;
10889 PyObject * _obj3 = 0;
10890 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10891 char _ptemp[128];
10892
10893 self = self;
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10895 return NULL;
10896 if (_argo0) {
10897 if (_argo0 == Py_None) { _arg0 = NULL; }
10898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10900 return NULL;
10901 }
10902 }
10903 if (_obj2)
10904{
10905 _arg2 = &temp;
10906 if (! wxPoint_helper(_obj2, &_arg2))
10907 return NULL;
10908}
10909 if (_obj3)
10910{
10911 _arg3 = &temp0;
10912 if (! wxSize_helper(_obj3, &_arg3))
10913 return NULL;
10914}
10915{
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10917 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
68320e40
RD
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) return NULL;
10921} if (_result) {
10922 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10923 _resultobj = Py_BuildValue("s",_ptemp);
10924 } else {
10925 Py_INCREF(Py_None);
10926 _resultobj = Py_None;
10927 }
10928 return _resultobj;
10929}
10930
10931#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10932static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject * _resultobj;
10934 wxDirFilterListCtrl * _result;
10935 char *_kwnames[] = { NULL };
10936 char _ptemp[128];
10937
10938 self = self;
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10940 return NULL;
10941{
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10943 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
68320e40
RD
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) return NULL;
10947} if (_result) {
10948 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10949 _resultobj = Py_BuildValue("s",_ptemp);
10950 } else {
10951 Py_INCREF(Py_None);
10952 _resultobj = Py_None;
10953 }
10954 return _resultobj;
10955}
10956
10957#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10958static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10959 PyObject * _resultobj;
10960 bool _result;
10961 wxDirFilterListCtrl * _arg0;
10962 wxGenericDirCtrl * _arg1;
10963 wxWindowID _arg2 = (wxWindowID ) -1;
10964 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10965 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10966 long _arg5 = (long ) 0;
10967 PyObject * _argo0 = 0;
10968 PyObject * _argo1 = 0;
10969 wxPoint temp;
10970 PyObject * _obj3 = 0;
10971 wxSize temp0;
10972 PyObject * _obj4 = 0;
10973 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10974
10975 self = self;
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10977 return NULL;
10978 if (_argo0) {
10979 if (_argo0 == Py_None) { _arg0 = NULL; }
10980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10982 return NULL;
10983 }
10984 }
10985 if (_argo1) {
10986 if (_argo1 == Py_None) { _arg1 = NULL; }
10987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10989 return NULL;
10990 }
10991 }
10992 if (_obj3)
10993{
10994 _arg3 = &temp;
10995 if (! wxPoint_helper(_obj3, &_arg3))
10996 return NULL;
10997}
10998 if (_obj4)
10999{
11000 _arg4 = &temp0;
11001 if (! wxSize_helper(_obj4, &_arg4))
11002 return NULL;
11003}
11004{
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11006 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
68320e40
RD
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) return NULL;
11010} _resultobj = Py_BuildValue("i",_result);
11011 return _resultobj;
11012}
11013
11014#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
11015static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject * _resultobj;
11017 wxDirFilterListCtrl * _arg0;
11018 wxString * _arg1;
11019 int _arg2;
11020 PyObject * _argo0 = 0;
11021 PyObject * _obj1 = 0;
11022 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
11023
11024 self = self;
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
11026 return NULL;
11027 if (_argo0) {
11028 if (_argo0 == Py_None) { _arg0 = NULL; }
11029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
11030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
11031 return NULL;
11032 }
11033 }
11034{
c8bc7bb8
RD
11035 _arg1 = wxString_in_helper(_obj1);
11036 if (_arg1 == NULL)
68320e40 11037 return NULL;
68320e40
RD
11038}
11039{
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11041 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
68320e40
RD
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) return NULL;
11045} Py_INCREF(Py_None);
11046 _resultobj = Py_None;
11047{
11048 if (_obj1)
11049 delete _arg1;
11050}
11051 return _resultobj;
11052}
11053
5a2a9da2
RD
11054#define new_wxFileIconsTable() (new wxFileIconsTable())
11055static PyObject *_wrap_new_wxFileIconsTable(PyObject *self, PyObject *args, PyObject *kwargs) {
11056 PyObject * _resultobj;
11057 wxFileIconsTable * _result;
11058 char *_kwnames[] = { NULL };
11059 char _ptemp[128];
11060
11061 self = self;
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFileIconsTable",_kwnames))
11063 return NULL;
11064{
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 _result = (wxFileIconsTable *)new_wxFileIconsTable();
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) return NULL;
11070} if (_result) {
11071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileIconsTable_p");
11072 _resultobj = Py_BuildValue("s",_ptemp);
11073 } else {
11074 Py_INCREF(Py_None);
11075 _resultobj = Py_None;
11076 }
11077 return _resultobj;
11078}
11079
11080#define delete_wxFileIconsTable(_swigobj) (delete _swigobj)
11081static PyObject *_wrap_delete_wxFileIconsTable(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject * _resultobj;
11083 wxFileIconsTable * _arg0;
11084 PyObject * _argo0 = 0;
11085 char *_kwnames[] = { "self", NULL };
11086
11087 self = self;
11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileIconsTable",_kwnames,&_argo0))
11089 return NULL;
11090 if (_argo0) {
11091 if (_argo0 == Py_None) { _arg0 = NULL; }
11092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileIconsTable_p")) {
11093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileIconsTable. Expected _wxFileIconsTable_p.");
11094 return NULL;
11095 }
11096 }
11097{
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 delete_wxFileIconsTable(_arg0);
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) return NULL;
11103} Py_INCREF(Py_None);
11104 _resultobj = Py_None;
11105 return _resultobj;
11106}
11107
11108#define wxFileIconsTable_GetIconID(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetIconID(_swigarg0,_swigarg1))
11109static PyObject *_wrap_wxFileIconsTable_GetIconID(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject * _resultobj;
11111 int _result;
11112 wxFileIconsTable * _arg0;
11113 wxString * _arg1;
11114 wxString * _arg2 = (wxString *) &wxEmptyString;
11115 PyObject * _argo0 = 0;
11116 PyObject * _obj1 = 0;
11117 PyObject * _obj2 = 0;
11118 char *_kwnames[] = { "self","extension","mime", NULL };
11119
11120 self = self;
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileIconsTable_GetIconID",_kwnames,&_argo0,&_obj1,&_obj2))
11122 return NULL;
11123 if (_argo0) {
11124 if (_argo0 == Py_None) { _arg0 = NULL; }
11125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileIconsTable_p")) {
11126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileIconsTable_GetIconID. Expected _wxFileIconsTable_p.");
11127 return NULL;
11128 }
11129 }
11130{
11131 _arg1 = wxString_in_helper(_obj1);
11132 if (_arg1 == NULL)
11133 return NULL;
11134}
11135 if (_obj2)
11136{
11137 _arg2 = wxString_in_helper(_obj2);
11138 if (_arg2 == NULL)
11139 return NULL;
11140}
11141{
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 _result = (int )wxFileIconsTable_GetIconID(_arg0,*_arg1,*_arg2);
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) return NULL;
11147} _resultobj = Py_BuildValue("i",_result);
11148{
11149 if (_obj1)
11150 delete _arg1;
11151}
11152{
11153 if (_obj2)
11154 delete _arg2;
11155}
11156 return _resultobj;
11157}
11158
11159#define wxFileIconsTable_GetSmallImageList(_swigobj) (_swigobj->GetSmallImageList())
11160static PyObject *_wrap_wxFileIconsTable_GetSmallImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11161 PyObject * _resultobj;
11162 wxImageList * _result;
11163 wxFileIconsTable * _arg0;
11164 PyObject * _argo0 = 0;
11165 char *_kwnames[] = { "self", NULL };
11166
11167 self = self;
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileIconsTable_GetSmallImageList",_kwnames,&_argo0))
11169 return NULL;
11170 if (_argo0) {
11171 if (_argo0 == Py_None) { _arg0 = NULL; }
11172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileIconsTable_p")) {
11173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileIconsTable_GetSmallImageList. Expected _wxFileIconsTable_p.");
11174 return NULL;
11175 }
11176 }
11177{
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 _result = (wxImageList *)wxFileIconsTable_GetSmallImageList(_arg0);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) return NULL;
11183}{ _resultobj = wxPyMake_wxObject(_result); }
11184 return _resultobj;
11185}
11186
8ab979d7 11187static PyMethodDef controls2cMethods[] = {
5a2a9da2
RD
11188 { "wxFileIconsTable_GetSmallImageList", (PyCFunction) _wrap_wxFileIconsTable_GetSmallImageList, METH_VARARGS | METH_KEYWORDS },
11189 { "wxFileIconsTable_GetIconID", (PyCFunction) _wrap_wxFileIconsTable_GetIconID, METH_VARARGS | METH_KEYWORDS },
11190 { "delete_wxFileIconsTable", (PyCFunction) _wrap_delete_wxFileIconsTable, METH_VARARGS | METH_KEYWORDS },
11191 { "new_wxFileIconsTable", (PyCFunction) _wrap_new_wxFileIconsTable, METH_VARARGS | METH_KEYWORDS },
68320e40
RD
11192 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
11193 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11194 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
11195 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11196 { "wxGenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_wxGenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
68320e40
RD
11197 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
11198 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
11199 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
11200 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
11201 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
11202 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
11203 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
11204 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
11205 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
11206 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
11207 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
11208 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
11209 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
11210 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
11211 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
11212 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11213 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
11214 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
11215 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
11216 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
11217 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
11218 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
11219 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
11220 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
11221 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
11222 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
11223 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
11224 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
11225 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
11226 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
d426c97e 11227 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11228 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
11229 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
11230 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11231 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11232 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
11233 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
11234 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 11235 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224 11236 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224 11237 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7e50db3f 11238 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11239 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
11240 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
11241 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
11242 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
11243 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
11244 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
11245 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
11246 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
11247 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
11248 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
11249 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
11250 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
11251 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11252 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11253 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
11254 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
11255 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 11256 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11257 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
11258 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
11259 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
11260 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
11261 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
11262 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
11263 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
11264 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 11265 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 11266 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11267 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11268 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
11269 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
11270 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
11271 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
11272 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
7e50db3f
RD
11273 { "wxTreeCtrl_GetItemFont", (PyCFunction) _wrap_wxTreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
11274 { "wxTreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11275 { "wxTreeCtrl_GetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11276 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
11277 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
11278 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
11279 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
11280 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
11281 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
11282 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
11283 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
11284 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
11285 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
11286 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11287 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
11288 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
11289 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
11290 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11291 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
11292 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
11293 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
11294 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
11295 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11296 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11297 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11298 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11299 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11300 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 11301 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11302 { "wxTreeEvent_SetEditCanceled", (PyCFunction) _wrap_wxTreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31988931 11303 { "wxTreeEvent_IsEditCancelled", (PyCFunction) _wrap_wxTreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11304 { "wxTreeEvent_SetLabel", (PyCFunction) _wrap_wxTreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224 11305 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11306 { "wxTreeEvent_SetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
64c06a50 11307 { "wxTreeEvent_GetKeyCode", (PyCFunction) _wrap_wxTreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
ecc08ead 11308 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11309 { "wxTreeEvent_SetPoint", (PyCFunction) _wrap_wxTreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
efc5f224 11310 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11311 { "wxTreeEvent_SetOldItem", (PyCFunction) _wrap_wxTreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 11312 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 11313 { "wxTreeEvent_SetItem", (PyCFunction) _wrap_wxTreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 11314 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
00b6c4e3 11315 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11316 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
11317 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
11318 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
11319 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
11320 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11321 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11322 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
11323 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
11324 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
11325 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11326 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11327 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11328 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11329 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11330 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11331 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11332 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11333 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11334 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
11335 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
11336 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
11337 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
11338 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
11339 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
11340 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
11341 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
11342 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
11343 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
11344 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
11345 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
6af85fcd 11346 { "wxListCtrl_GetMainWindow", (PyCFunction) _wrap_wxListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
dcd38683 11347 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
3bd1e033
RD
11348 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11349 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11350 { "wxListCtrl_GetItemTextColour", (PyCFunction) _wrap_wxListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
11351 { "wxListCtrl_SetItemTextColour", (PyCFunction) _wrap_wxListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 11352 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
11353 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
11354 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
11355 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11356 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
11357 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
11358 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
11359 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 11360 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11361 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
11362 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
11363 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
11364 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11365 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
11366 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
11367 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11368 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
11369 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
11370 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
11371 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
11372 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
11373 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
11374 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
11375 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
11376 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
11377 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
11378 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
11379 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
11380 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
11381 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
11382 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
11383 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11384 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11385 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
11386 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
11387 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
11388 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
11389 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
11390 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
11391 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
11392 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
11393 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
11394 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
11395 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
11396 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
11397 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
11398 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
11399 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
11400 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
11401 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
11402 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
11403 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
11404 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
11405 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
11406 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
11407 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11408 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11409 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11410 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11411 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11412 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 11413 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
11414 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
11415 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11416 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
11417 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
11418 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
11419 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
11420 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11421 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
11422 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11423 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11424 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
64c06a50 11425 { "wxListEvent_GetKeyCode", (PyCFunction) _wrap_wxListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
efc5f224 11426 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11427 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11428 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11429 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
ebf4302c 11430 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11431 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
6d19860f 11432 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11433 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
11434 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
11435 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
11436 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
11437 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
11438 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
11439 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
11440 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
11441 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
11442 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
11443 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
11444 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
11445 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
11446 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
11447 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
11448 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
11449 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
11450 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
11451 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
11452 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11453 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11454 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11455 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11456 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
11457 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
11458 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
11459 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
11460 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
11461 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
11462 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
11463 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
11464 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
11465 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11466 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11467 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11468 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11469 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11470 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11471 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11472 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11473 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11474 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11475 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11476 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11477 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11478 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11479 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11480 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11481 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11482 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11483 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11484 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11485 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11486 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11487 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11488 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11489 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11490 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11491 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11492 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11493 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11494 { NULL, NULL }
11495};
1d99702e
RD
11496#ifdef __cplusplus
11497}
11498#endif
11499/*
11500 * This table is used by the pointer type-checker
11501 */
11502static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11503 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11504 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11505 { "_signed_long","_long",0},
b1462dfa 11506 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11507 { "_wxPrintQuality","_int",0},
11508 { "_wxPrintQuality","_signed_int",0},
11509 { "_wxPrintQuality","_unsigned_int",0},
11510 { "_wxPrintQuality","_wxWindowID",0},
11511 { "_wxPrintQuality","_uint",0},
11512 { "_wxPrintQuality","_EBool",0},
11513 { "_wxPrintQuality","_size_t",0},
c368d904 11514 { "_wxPrintQuality","_time_t",0},
1d99702e 11515 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11516 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11517 { "_byte","_unsigned_char",0},
68320e40 11518 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11519 { "_long","_unsigned_long",0},
11520 { "_long","_signed_long",0},
b1462dfa 11521 { "_size_t","_wxCoord",0},
1d99702e 11522 { "_size_t","_wxPrintQuality",0},
c368d904 11523 { "_size_t","_time_t",0},
1d99702e
RD
11524 { "_size_t","_unsigned_int",0},
11525 { "_size_t","_int",0},
11526 { "_size_t","_wxWindowID",0},
11527 { "_size_t","_uint",0},
b1462dfa 11528 { "_uint","_wxCoord",0},
1d99702e 11529 { "_uint","_wxPrintQuality",0},
c368d904 11530 { "_uint","_time_t",0},
1d99702e
RD
11531 { "_uint","_size_t",0},
11532 { "_uint","_unsigned_int",0},
11533 { "_uint","_int",0},
11534 { "_uint","_wxWindowID",0},
f6bcfd97 11535 { "_wxChar","_char",0},
1d99702e 11536 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11537 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11538 { "_char","_wxChar",0},
cdf14688 11539 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11540 { "_EBool","_wxCoord",0},
1d99702e
RD
11541 { "_EBool","_wxPrintQuality",0},
11542 { "_EBool","_signed_int",0},
11543 { "_EBool","_int",0},
11544 { "_EBool","_wxWindowID",0},
1d99702e 11545 { "_unsigned_long","_long",0},
cdf14688 11546 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11547 { "_signed_int","_wxCoord",0},
1d99702e
RD
11548 { "_signed_int","_wxPrintQuality",0},
11549 { "_signed_int","_EBool",0},
11550 { "_signed_int","_wxWindowID",0},
11551 { "_signed_int","_int",0},
1d99702e
RD
11552 { "_WXTYPE","_short",0},
11553 { "_WXTYPE","_signed_short",0},
11554 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11555 { "_unsigned_short","_WXTYPE",0},
11556 { "_unsigned_short","_short",0},
68320e40
RD
11557 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11558 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11559 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9416aa89 11560 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9416aa89 11561 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
6d19860f 11562 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
c7e7022c 11563 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9416aa89 11564 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9416aa89 11565 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11566 { "_signed_short","_WXTYPE",0},
11567 { "_signed_short","_short",0},
1d99702e 11568 { "_unsigned_char","_byte",0},
68320e40
RD
11569 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11570 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11571 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
6d19860f 11572 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
c7e7022c 11573 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11574 { "_unsigned_int","_wxCoord",0},
1d99702e 11575 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11576 { "_unsigned_int","_time_t",0},
1d99702e
RD
11577 { "_unsigned_int","_size_t",0},
11578 { "_unsigned_int","_uint",0},
11579 { "_unsigned_int","_wxWindowID",0},
11580 { "_unsigned_int","_int",0},
1d99702e
RD
11581 { "_short","_WXTYPE",0},
11582 { "_short","_unsigned_short",0},
11583 { "_short","_signed_short",0},
68320e40 11584 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11585 { "_wxWindowID","_wxCoord",0},
1d99702e 11586 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11587 { "_wxWindowID","_time_t",0},
1d99702e
RD
11588 { "_wxWindowID","_size_t",0},
11589 { "_wxWindowID","_EBool",0},
11590 { "_wxWindowID","_uint",0},
11591 { "_wxWindowID","_int",0},
11592 { "_wxWindowID","_signed_int",0},
11593 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11594 { "_int","_wxCoord",0},
1d99702e 11595 { "_int","_wxPrintQuality",0},
c368d904 11596 { "_int","_time_t",0},
1d99702e
RD
11597 { "_int","_size_t",0},
11598 { "_int","_EBool",0},
11599 { "_int","_uint",0},
11600 { "_int","_wxWindowID",0},
11601 { "_int","_unsigned_int",0},
11602 { "_int","_signed_int",0},
c368d904
RD
11603 { "_time_t","_wxCoord",0},
11604 { "_time_t","_wxPrintQuality",0},
11605 { "_time_t","_unsigned_int",0},
11606 { "_time_t","_int",0},
11607 { "_time_t","_wxWindowID",0},
11608 { "_time_t","_uint",0},
11609 { "_time_t","_size_t",0},
b1462dfa
RD
11610 { "_wxCoord","_int",0},
11611 { "_wxCoord","_signed_int",0},
11612 { "_wxCoord","_unsigned_int",0},
11613 { "_wxCoord","_wxWindowID",0},
11614 { "_wxCoord","_uint",0},
11615 { "_wxCoord","_EBool",0},
11616 { "_wxCoord","_size_t",0},
c368d904 11617 { "_wxCoord","_time_t",0},
b1462dfa 11618 { "_wxCoord","_wxPrintQuality",0},
6d19860f 11619 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
68320e40
RD
11620 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11621 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11622 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
6d19860f 11623 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
c7e7022c 11624 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
68320e40
RD
11625 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11626 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11627 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
6d19860f 11628 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
c7e7022c 11629 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11630{0,0,0}};
11631
8ab979d7
RD
11632static PyObject *SWIG_globals;
11633#ifdef __cplusplus
11634extern "C"
11635#endif
1d99702e 11636SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11637 PyObject *m, *d;
11638 SWIG_globals = SWIG_newvarlink();
11639 m = Py_InitModule("controls2c", controls2cMethods);
11640 d = PyModule_GetDict(m);
c7e7022c
RD
11641 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11642 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11643 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11644 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11645 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11646 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11647 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11648 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11649 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11650 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11651 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11652 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11653 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11654 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11655 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11656 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11657 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
6d19860f
RD
11658 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11659 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11660 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11661 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
d8200036 11662 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
c7e7022c
RD
11663 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11664 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11665 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11666 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11667 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11668 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11669 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11670 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11671 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11672 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11673 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11674 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11675 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11676 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11677 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11678 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11679 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11680 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11681 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
6d19860f 11682 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
c7e7022c 11683 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11684 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11685 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11686 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
c7e7022c 11687 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11688 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11689 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11690 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11691 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11692 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11693 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11694 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11695 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11696 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11697 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11698 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11699 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11700 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11701 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11702 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11703 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11704 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11705 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11706 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11707 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11708 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11709 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11710 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11711 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11712 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11713 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11714 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11715 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11716 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11717 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11718 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11719 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11720 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11721 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11722 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11723 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11724 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11725 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11726 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
00b6c4e3
RD
11727 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11728 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
00b6c4e3 11729 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
5a2a9da2 11730 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
00b6c4e3
RD
11731 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11732 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11733 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
5a2a9da2 11734 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
00b6c4e3 11735 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
00b6c4e3
RD
11736 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11737 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
5a2a9da2 11738 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
00b6c4e3 11739 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
5a2a9da2
RD
11740 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11741 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
11742 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
694759cf
RD
11743 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11744 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11745 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11746 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11747 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11748 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11749 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11750 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11751 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11752 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11753 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11754 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11755 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11756 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11757 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11758 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11759 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11760 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11761 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1b62f00d
RD
11762 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11763 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11764 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11765 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11766 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11767 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11768 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11769 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11770 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11771 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11772 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11773 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11774 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11775 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11776 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11777 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11778 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
d1679124 11779 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
5a2a9da2 11780 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
68320e40
RD
11781 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11782 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11783 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11784 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
7cdaed0b 11785 PyDict_SetItemString(d,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS));
db0ff83e
RD
11786 PyDict_SetItemString(d,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL));
11787 PyDict_SetItemString(d,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL));
9416aa89 11788
a3fbed81 11789 // Map renamed classes back to their common name for OOR
9416aa89
RD
11790 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11791 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
a3fbed81 11792 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
5a2a9da2
RD
11793 PyDict_SetItemString(d,"wxFileIconsTable_folder", PyInt_FromLong((long) wxFileIconsTable::folder));
11794 PyDict_SetItemString(d,"wxFileIconsTable_folder_open", PyInt_FromLong((long) wxFileIconsTable::folder_open));
11795 PyDict_SetItemString(d,"wxFileIconsTable_computer", PyInt_FromLong((long) wxFileIconsTable::computer));
11796 PyDict_SetItemString(d,"wxFileIconsTable_drive", PyInt_FromLong((long) wxFileIconsTable::drive));
11797 PyDict_SetItemString(d,"wxFileIconsTable_cdrom", PyInt_FromLong((long) wxFileIconsTable::cdrom));
11798 PyDict_SetItemString(d,"wxFileIconsTable_floppy", PyInt_FromLong((long) wxFileIconsTable::floppy));
11799 PyDict_SetItemString(d,"wxFileIconsTable_removeable", PyInt_FromLong((long) wxFileIconsTable::removeable));
11800 PyDict_SetItemString(d,"wxFileIconsTable_file", PyInt_FromLong((long) wxFileIconsTable::file));
11801 PyDict_SetItemString(d,"wxFileIconsTable_executable", PyInt_FromLong((long) wxFileIconsTable::executable));
1d99702e
RD
11802{
11803 int i;
11804 for (i = 0; _swig_mapping[i].n1; i++)
11805 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11806}
8ab979d7 11807}