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