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