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