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