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