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