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