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