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