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