2 * FILE : src/mac/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
65 #include <wx/dirctrl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 #if PYTHON_API_VERSION >= 1009
95 static char* wxStringErrorMsg
= "String or Unicode type required";
97 static char* wxStringErrorMsg
= "String type required";
99 // C++ Version of a Python aware class
100 class wxPyListCtrl
: public wxListCtrl
{
101 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
103 wxPyListCtrl() : wxListCtrl() {}
104 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
108 const wxValidator
& validator
,
110 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
112 bool Create(wxWindow
* parent
, wxWindowID id
,
116 const wxValidator
& validator
,
118 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
121 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
122 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
123 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
128 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
130 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
131 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
132 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
133 // Python aware sorting function for wxPyListCtrl
134 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
136 PyObject
* func
= (PyObject
*)funcPtr
;
137 wxPyBeginBlockThreads();
139 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
140 PyObject
* result
= PyEval_CallObject(func
, args
);
143 retval
= PyInt_AsLong(result
);
147 wxPyEndBlockThreads();
152 class wxPyTreeItemData
: public wxTreeItemData
{
154 wxPyTreeItemData(PyObject
* obj
= NULL
) {
161 ~wxPyTreeItemData() {
162 wxPyBeginBlockThreads();
164 wxPyEndBlockThreads();
167 PyObject
* GetData() {
172 void SetData(PyObject
* obj
) {
173 wxPyBeginBlockThreads();
175 wxPyEndBlockThreads();
182 // C++ version of Python aware wxTreeCtrl
183 class wxPyTreeCtrl
: public wxTreeCtrl
{
184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
186 wxPyTreeCtrl() : wxTreeCtrl() {}
187 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
191 const wxValidator
& validator
,
193 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
195 bool Create(wxWindow
*parent
, wxWindowID id
,
199 const wxValidator
& validator
,
201 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
205 int OnCompareItems(const wxTreeItemId
& item1
,
206 const wxTreeItemId
& item2
) {
209 wxPyBeginBlockThreads();
210 if ((found
= m_myInst
.findCallback("OnCompareItems")))
211 rval
= m_myInst
.callCallback(Py_BuildValue(
213 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
214 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
215 wxPyEndBlockThreads();
217 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
223 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
228 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
229 static 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
;
236 PyObject
* _obj0
= 0;
238 PyObject
* _obj1
= 0;
239 PyObject
* _argo2
= 0;
240 char *_kwnames
[] = { "colText","colBack","font", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
249 if (! wxColour_helper(_obj0
, &_arg0
))
255 if (! wxColour_helper(_obj1
, &_arg1
))
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.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
273 _resultobj
= Py_BuildValue("s",_ptemp
);
276 _resultobj
= Py_None
;
281 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
282 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
284 wxListItemAttr
* _arg0
;
286 PyObject
* _argo0
= 0;
288 PyObject
* _obj1
= 0;
289 char *_kwnames
[] = { "self","colText", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
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.");
303 if (! wxColour_helper(_obj1
, &_arg1
))
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } Py_INCREF(Py_None
);
313 _resultobj
= Py_None
;
317 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
318 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
320 wxListItemAttr
* _arg0
;
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj1
= 0;
325 char *_kwnames
[] = { "self","colBack", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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.");
339 if (! wxColour_helper(_obj1
, &_arg1
))
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
354 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxListItemAttr
* _arg0
;
358 PyObject
* _argo0
= 0;
359 PyObject
* _argo1
= 0;
360 char *_kwnames
[] = { "self","font", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
381 wxListItemAttr_SetFont(_arg0
,*_arg1
);
383 wxPyEndAllowThreads(__tstate
);
384 if (PyErr_Occurred()) return NULL
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
390 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
391 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
394 wxListItemAttr
* _arg0
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_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.");
409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
410 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
412 wxPyEndAllowThreads(__tstate
);
413 if (PyErr_Occurred()) return NULL
;
414 } _resultobj
= Py_BuildValue("i",_result
);
418 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
419 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
422 wxListItemAttr
* _arg0
;
423 PyObject
* _argo0
= 0;
424 char *_kwnames
[] = { "self", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_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.");
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
438 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
440 wxPyEndAllowThreads(__tstate
);
441 if (PyErr_Occurred()) return NULL
;
442 } _resultobj
= Py_BuildValue("i",_result
);
446 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
447 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
450 wxListItemAttr
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_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.");
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } _resultobj
= Py_BuildValue("i",_result
);
474 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
475 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
478 wxListItemAttr
* _arg0
;
479 PyObject
* _argo0
= 0;
480 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_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.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
504 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
505 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 wxListItemAttr
* _arg0
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_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.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
530 _resultobj
= Py_BuildValue("s",_ptemp
);
534 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
535 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
538 wxListItemAttr
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_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.");
554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
555 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
557 wxPyEndAllowThreads(__tstate
);
558 if (PyErr_Occurred()) return NULL
;
559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
560 _resultobj
= Py_BuildValue("s",_ptemp
);
564 static void *SwigwxListItemTowxObject(void *ptr
) {
567 src
= (wxListItem
*) ptr
;
568 dest
= (wxObject
*) src
;
569 return (void *) dest
;
572 #define new_wxListItem() (new wxListItem())
573 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
575 wxListItem
* _result
;
576 char *_kwnames
[] = { NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
584 _result
= (wxListItem
*)new_wxListItem();
586 wxPyEndAllowThreads(__tstate
);
587 if (PyErr_Occurred()) return NULL
;
589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
593 _resultobj
= Py_None
;
598 #define delete_wxListItem(_swigobj) (delete _swigobj)
599 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_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.");
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 delete_wxListItem(_arg0
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
627 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_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.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 wxListItem_Clear(_arg0
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
649 } Py_INCREF(Py_None
);
650 _resultobj
= Py_None
;
654 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
655 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_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.");
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 wxListItem_ClearAttributes(_arg0
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) return NULL
;
677 } Py_INCREF(Py_None
);
678 _resultobj
= Py_None
;
682 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
683 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self","mask", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
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.");
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 wxListItem_SetMask(_arg0
,_arg1
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
712 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self","id", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
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.");
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 wxListItem_SetId(_arg0
,_arg1
);
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
740 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
741 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self","col", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
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.");
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 wxListItem_SetColumn(_arg0
,_arg1
);
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
764 } Py_INCREF(Py_None
);
765 _resultobj
= Py_None
;
769 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
770 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self","state", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
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.");
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 wxListItem_SetState(_arg0
,_arg1
);
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
793 } Py_INCREF(Py_None
);
794 _resultobj
= Py_None
;
798 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
799 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self","stateMask", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
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.");
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 wxListItem_SetStateMask(_arg0
,_arg1
);
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
822 } Py_INCREF(Py_None
);
823 _resultobj
= Py_None
;
827 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
828 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
832 PyObject
* _argo0
= 0;
833 PyObject
* _obj1
= 0;
834 char *_kwnames
[] = { "self","text", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
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.");
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
);
853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
855 _arg1
= new wxString(tmpPtr
, tmpSize
);
857 if (!PyString_Check(_obj1
)) {
858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxListItem_SetText(_arg0
,*_arg1
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
879 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
880 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self","image", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
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.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 wxListItem_SetImage(_arg0
,_arg1
);
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) return NULL
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
908 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
909 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self","data", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
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.");
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 wxListItem_SetData(_arg0
,_arg1
);
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) return NULL
;
932 } Py_INCREF(Py_None
);
933 _resultobj
= Py_None
;
937 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
938 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self","width", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
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.");
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 wxListItem_SetWidth(_arg0
,_arg1
);
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) return NULL
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
967 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxListColumnFormat _arg1
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self","align", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
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.");
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 wxListItem_SetAlign(_arg0
,_arg1
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
996 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1002 PyObject
* _obj1
= 0;
1003 char *_kwnames
[] = { "self","colText", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
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.");
1017 if (! wxColour_helper(_obj1
, &_arg1
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxListItem_SetTextColour(_arg0
,*_arg1
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1032 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1036 PyObject
* _argo0
= 0;
1038 PyObject
* _obj1
= 0;
1039 char *_kwnames
[] = { "self","colBack", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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.");
1053 if (! wxColour_helper(_obj1
, &_arg1
))
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) return NULL
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1067 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1068 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 PyObject
* _argo1
= 0;
1074 char *_kwnames
[] = { "self","font", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 wxListItem_SetFont(_arg0
,*_arg1
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } Py_INCREF(Py_None
);
1100 _resultobj
= Py_None
;
1104 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1105 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_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.");
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 _result
= (long )wxListItem_GetMask(_arg0
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } _resultobj
= Py_BuildValue("l",_result
);
1132 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1133 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_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.");
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 _result
= (long )wxListItem_GetId(_arg0
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) return NULL
;
1156 } _resultobj
= Py_BuildValue("l",_result
);
1160 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1161 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1165 PyObject
* _argo0
= 0;
1166 char *_kwnames
[] = { "self", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_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.");
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 _result
= (int )wxListItem_GetColumn(_arg0
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1189 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_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.");
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= (long )wxListItem_GetState(_arg0
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } _resultobj
= Py_BuildValue("l",_result
);
1216 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1217 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_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.");
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1237 _result
= (wxString
*) &_result_ref
;
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) return NULL
;
1242 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1247 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1248 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_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.");
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 _result
= (int )wxListItem_GetImage(_arg0
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } _resultobj
= Py_BuildValue("i",_result
);
1275 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1276 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_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.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 _result
= (long )wxListItem_GetData(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } _resultobj
= Py_BuildValue("l",_result
);
1303 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1304 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1308 PyObject
* _argo0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_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.");
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 _result
= (int )wxListItem_GetWidth(_arg0
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) return NULL
;
1327 } _resultobj
= Py_BuildValue("i",_result
);
1331 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1332 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxListColumnFormat _result
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_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.");
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) return NULL
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1359 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1360 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxListItemAttr
* _result
;
1364 PyObject
* _argo0
= 0;
1365 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_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.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1386 _resultobj
= Py_BuildValue("s",_ptemp
);
1389 _resultobj
= Py_None
;
1394 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1395 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_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.");
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) return NULL
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1423 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_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.");
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1448 _resultobj
= Py_BuildValue("s",_ptemp
);
1452 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1453 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_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.");
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1478 _resultobj
= Py_BuildValue("s",_ptemp
);
1482 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1483 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1487 PyObject
* _argo0
= 0;
1488 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_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.");
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1513 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self","m_mask", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } _resultobj
= Py_BuildValue("l",_result
);
1541 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1542 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_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.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (long )wxListItem_m_mask_get(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } _resultobj
= Py_BuildValue("l",_result
);
1569 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1570 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","m_itemId", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1594 } _resultobj
= Py_BuildValue("l",_result
);
1598 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1599 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1603 PyObject
* _argo0
= 0;
1604 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_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.");
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } _resultobj
= Py_BuildValue("l",_result
);
1626 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1627 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self","m_col", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1656 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_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.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxListItem_m_col_get(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1684 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self","m_state", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } _resultobj
= Py_BuildValue("l",_result
);
1712 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1713 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_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.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (long )wxListItem_m_state_get(_arg0
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } _resultobj
= Py_BuildValue("l",_result
);
1740 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1741 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } _resultobj
= Py_BuildValue("l",_result
);
1769 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1770 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_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.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("l",_result
);
1797 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1798 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1803 PyObject
* _argo0
= 0;
1804 PyObject
* _obj1
= 0;
1805 char *_kwnames
[] = { "self","m_text", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
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.");
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
);
1824 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1826 _arg1
= new wxString(tmpPtr
, tmpSize
);
1828 if (!PyString_Check(_obj1
)) {
1829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1832 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1851 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1852 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_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.");
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1876 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1881 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1882 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","m_image", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) return NULL
;
1906 } _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1911 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_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.");
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 _result
= (int )wxListItem_m_image_get(_arg0
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1939 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self","m_data", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
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.");
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) return NULL
;
1963 } _resultobj
= Py_BuildValue("l",_result
);
1967 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1968 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_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.");
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (long )wxListItem_m_data_get(_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } _resultobj
= Py_BuildValue("l",_result
);
1995 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1996 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self","m_format", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
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.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("i",_result
);
2024 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2025 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_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.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (int )wxListItem_m_format_get(_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2053 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self","m_width", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
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.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2082 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_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.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (int )wxListItem_m_width_get(_arg0
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2111 wxNotifyEvent
*dest
;
2112 src
= (wxListEvent
*) ptr
;
2113 dest
= (wxNotifyEvent
*) src
;
2114 return (void *) dest
;
2117 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2119 wxCommandEvent
*dest
;
2120 src
= (wxListEvent
*) ptr
;
2121 dest
= (wxCommandEvent
*) src
;
2122 return (void *) dest
;
2125 static void *SwigwxListEventTowxEvent(void *ptr
) {
2128 src
= (wxListEvent
*) ptr
;
2129 dest
= (wxEvent
*) src
;
2130 return (void *) dest
;
2133 static void *SwigwxListEventTowxObject(void *ptr
) {
2136 src
= (wxListEvent
*) ptr
;
2137 dest
= (wxObject
*) src
;
2138 return (void *) dest
;
2141 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2142 static 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
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2164 _resultobj
= Py_None
;
2169 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2170 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 wxListEvent
* _arg0
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self","m_code", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
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.");
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2199 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2202 wxListEvent
* _arg0
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_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.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (int )wxListEvent_m_code_get(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2227 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2230 wxListEvent
* _arg0
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) return NULL
;
2251 } _resultobj
= Py_BuildValue("l",_result
);
2255 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2256 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2259 wxListEvent
* _arg0
;
2260 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } _resultobj
= Py_BuildValue("l",_result
);
2283 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2284 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 wxListEvent
* _arg0
;
2289 PyObject
* _argo0
= 0;
2290 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } _resultobj
= Py_BuildValue("l",_result
);
2312 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2313 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2316 wxListEvent
* _arg0
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } _resultobj
= Py_BuildValue("l",_result
);
2340 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2341 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2344 wxListEvent
* _arg0
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self","m_col", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) return NULL
;
2365 } _resultobj
= Py_BuildValue("i",_result
);
2369 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2370 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2373 wxListEvent
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 _result
= (int )wxListEvent_m_col_get(_arg0
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } _resultobj
= Py_BuildValue("i",_result
);
2397 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2398 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2401 wxListEvent
* _arg0
;
2403 PyObject
* _argo0
= 0;
2405 PyObject
* _obj1
= 0;
2406 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
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.");
2421 if (! wxPoint_helper(_obj1
, &_arg1
))
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) return NULL
;
2431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2435 _resultobj
= Py_None
;
2440 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2441 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2444 wxListEvent
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_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.");
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 _resultobj
= Py_None
;
2475 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2476 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2478 wxListItem
* _result
;
2479 wxListEvent
* _arg0
;
2481 PyObject
* _argo0
= 0;
2482 PyObject
* _argo1
= 0;
2483 char *_kwnames
[] = { "self","m_item", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2508 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2512 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2513 static 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
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_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.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2540 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2541 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2544 wxListEvent
* _arg0
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_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.");
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 _result
= (int )wxListEvent_GetCode(_arg0
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } _resultobj
= Py_BuildValue("i",_result
);
2568 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2569 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 wxListEvent
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_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.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 _result
= (long )wxListEvent_GetIndex(_arg0
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } _resultobj
= Py_BuildValue("l",_result
);
2596 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2597 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2600 wxListEvent
* _arg0
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_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.");
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 _result
= (int )wxListEvent_GetColumn(_arg0
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) return NULL
;
2620 } _resultobj
= Py_BuildValue("i",_result
);
2624 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2625 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2628 wxListEvent
* _arg0
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_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.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2655 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2658 wxListEvent
* _arg0
;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_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.");
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2675 _result
= (wxString
*) &_result_ref
;
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) return NULL
;
2680 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2685 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2686 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2689 wxListEvent
* _arg0
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_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.");
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2706 _result
= (wxString
*) &_result_ref
;
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) return NULL
;
2711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2716 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2717 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2720 wxListEvent
* _arg0
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_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.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 _result
= (int )wxListEvent_GetImage(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2745 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2748 wxListEvent
* _arg0
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_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.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= (long )wxListEvent_GetData(_arg0
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } _resultobj
= Py_BuildValue("l",_result
);
2772 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2773 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2776 wxListEvent
* _arg0
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_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.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (long )wxListEvent_GetMask(_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2796 } _resultobj
= Py_BuildValue("l",_result
);
2800 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2801 static 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
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_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.");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2821 _result
= (wxListItem
*) &_result_ref
;
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2829 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2830 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxListEvent
* _arg0
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_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.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } _resultobj
= Py_BuildValue("l",_result
);
2857 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2858 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2861 wxListEvent
* _arg0
;
2862 PyObject
* _argo0
= 0;
2863 char *_kwnames
[] = { "self", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_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.");
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 } _resultobj
= Py_BuildValue("l",_result
);
2885 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2888 src
= (wxPyListCtrl
*) ptr
;
2889 dest
= (wxControl
*) src
;
2890 return (void *) dest
;
2893 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2896 src
= (wxPyListCtrl
*) ptr
;
2897 dest
= (wxWindow
*) src
;
2898 return (void *) dest
;
2901 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2904 src
= (wxPyListCtrl
*) ptr
;
2905 dest
= (wxEvtHandler
*) src
;
2906 return (void *) dest
;
2909 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2912 src
= (wxPyListCtrl
*) ptr
;
2913 dest
= (wxObject
*) src
;
2914 return (void *) dest
;
2917 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2918 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPyListCtrl
* _result
;
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;
2930 PyObject
* _obj2
= 0;
2932 PyObject
* _obj3
= 0;
2933 PyObject
* _argo5
= 0;
2934 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
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.");
2950 if (! wxPoint_helper(_obj2
, &_arg2
))
2956 if (! wxSize_helper(_obj3
, &_arg3
))
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.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2974 _resultobj
= Py_BuildValue("s",_ptemp
);
2977 _resultobj
= Py_None
;
2982 #define new_wxPreListCtrl() (new wxPyListCtrl())
2983 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2985 wxPyListCtrl
* _result
;
2986 char *_kwnames
[] = { NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3000 _resultobj
= Py_BuildValue("s",_ptemp
);
3003 _resultobj
= Py_None
;
3008 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3009 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3012 wxPyListCtrl
* _arg0
;
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;
3023 PyObject
* _obj3
= 0;
3025 PyObject
* _obj4
= 0;
3026 PyObject
* _argo6
= 0;
3027 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
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.");
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.");
3049 if (! wxPoint_helper(_obj3
, &_arg3
))
3055 if (! wxSize_helper(_obj4
, &_arg4
))
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.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3076 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3078 wxPyListCtrl
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 PyObject
* _obj1
= 0;
3083 PyObject
* _obj2
= 0;
3084 char *_kwnames
[] = { "self","self","_class", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
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.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3114 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3117 wxPyListCtrl
* _arg0
;
3119 PyObject
* _argo0
= 0;
3121 PyObject
* _obj1
= 0;
3122 char *_kwnames
[] = { "self","col", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
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.");
3136 if (! wxColour_helper(_obj1
, &_arg1
))
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) return NULL
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3150 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 wxPyListCtrl
* _arg0
;
3155 PyObject
* _argo0
= 0;
3157 PyObject
* _obj1
= 0;
3158 char *_kwnames
[] = { "self","col", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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.");
3172 if (! wxColour_helper(_obj1
, &_arg1
))
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } _resultobj
= Py_BuildValue("i",_result
);
3185 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3186 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3189 wxPyListCtrl
* _arg0
;
3192 PyObject
* _argo0
= 0;
3193 PyObject
* _argo2
= 0;
3194 char *_kwnames
[] = { "self","col","item", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
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.");
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.");
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) return NULL
;
3219 } _resultobj
= Py_BuildValue("i",_result
);
3223 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3224 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3227 wxPyListCtrl
* _arg0
;
3230 PyObject
* _argo0
= 0;
3231 PyObject
* _argo2
= 0;
3232 char *_kwnames
[] = { "self","col","item", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
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.");
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.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3257 } _resultobj
= Py_BuildValue("i",_result
);
3261 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3262 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3265 wxPyListCtrl
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self","col", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
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.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3286 } _resultobj
= Py_BuildValue("i",_result
);
3290 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3291 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3294 wxPyListCtrl
* _arg0
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self","col","width", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 } _resultobj
= Py_BuildValue("i",_result
);
3320 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3321 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3324 wxPyListCtrl
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_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.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } _resultobj
= Py_BuildValue("i",_result
);
3348 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3349 wxListItem
* info
= new wxListItem
;
3350 info
->m_itemId
= itemId
;
3352 info
->m_mask
= 0xFFFF;
3353 self
->GetItem(*info
);
3356 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3358 wxListItem
* _result
;
3359 wxPyListCtrl
* _arg0
;
3361 int _arg2
= (int ) 0;
3362 PyObject
* _argo0
= 0;
3363 char *_kwnames
[] = { "self","itemId","col", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) return NULL
;
3381 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3385 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3386 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3389 wxPyListCtrl
* _arg0
;
3391 PyObject
* _argo0
= 0;
3392 PyObject
* _argo1
= 0;
3393 char *_kwnames
[] = { "self","info", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) return NULL
;
3418 } _resultobj
= Py_BuildValue("i",_result
);
3422 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3423 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3426 wxPyListCtrl
* _arg0
;
3430 int _arg4
= (int ) -1;
3431 PyObject
* _argo0
= 0;
3432 PyObject
* _obj3
= 0;
3433 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
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.");
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
);
3452 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3454 _arg3
= new wxString(tmpPtr
, tmpSize
);
3456 if (!PyString_Check(_obj3
)) {
3457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3460 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) return NULL
;
3469 } _resultobj
= Py_BuildValue("l",_result
);
3477 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3478 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3481 wxPyListCtrl
* _arg0
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) return NULL
;
3503 } _resultobj
= Py_BuildValue("i",_result
);
3507 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3508 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3511 wxPyListCtrl
* _arg0
;
3515 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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.");
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) return NULL
;
3534 } _resultobj
= Py_BuildValue("i",_result
);
3538 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3539 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3542 wxPyListCtrl
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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.");
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) return NULL
;
3565 } _resultobj
= Py_BuildValue("i",_result
);
3569 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3570 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3573 wxPyListCtrl
* _arg0
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self","item", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
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.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3595 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3603 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3604 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3606 wxPyListCtrl
* _arg0
;
3609 PyObject
* _argo0
= 0;
3610 PyObject
* _obj2
= 0;
3611 char *_kwnames
[] = { "self","item","str", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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.");
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
);
3630 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3632 _arg2
= new wxString(tmpPtr
, tmpSize
);
3634 if (!PyString_Check(_obj2
)) {
3635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3638 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) return NULL
;
3647 } Py_INCREF(Py_None
);
3648 _resultobj
= Py_None
;
3656 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3657 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3660 wxPyListCtrl
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self","item", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
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.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } _resultobj
= Py_BuildValue("l",_result
);
3685 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3686 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3689 wxPyListCtrl
* _arg0
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self","item","data", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3716 wxPoint
* pos
= new wxPoint
;
3717 self
->GetItemPosition(item
, *pos
);
3720 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3723 wxPyListCtrl
* _arg0
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self","item", NULL
};
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
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.");
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) return NULL
;
3746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3747 _resultobj
= Py_BuildValue("s",_ptemp
);
3750 _resultobj
= Py_None
;
3755 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3756 wxRect
* rect
= new wxRect
;
3757 self
->GetItemRect(item
, *rect
, code
);
3760 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3763 wxPyListCtrl
* _arg0
;
3765 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3766 PyObject
* _argo0
= 0;
3767 char *_kwnames
[] = { "self","item","code", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) return NULL
;
3787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3788 _resultobj
= Py_BuildValue("s",_ptemp
);
3791 _resultobj
= Py_None
;
3796 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3797 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3800 wxPyListCtrl
* _arg0
;
3803 PyObject
* _argo0
= 0;
3805 PyObject
* _obj2
= 0;
3806 char *_kwnames
[] = { "self","item","pos", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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.");
3820 if (! wxPoint_helper(_obj2
, &_arg2
))
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3829 } _resultobj
= Py_BuildValue("i",_result
);
3833 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3834 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3837 wxPyListCtrl
* _arg0
;
3838 PyObject
* _argo0
= 0;
3839 char *_kwnames
[] = { "self", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_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.");
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) return NULL
;
3857 } _resultobj
= Py_BuildValue("i",_result
);
3861 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3862 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3865 wxPyListCtrl
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_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.");
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } _resultobj
= Py_BuildValue("i",_result
);
3889 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3890 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3893 wxPyListCtrl
* _arg0
;
3895 PyObject
* _argo0
= 0;
3897 char *_kwnames
[] = { "self","isSmall", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
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.");
3909 _arg1
= (bool ) tempbool1
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3921 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3924 wxPyListCtrl
* _arg0
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_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.");
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3948 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3949 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxPyListCtrl
* _arg0
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_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.");
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) return NULL
;
3973 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3974 _resultobj
= Py_BuildValue("s",_ptemp
);
3978 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3979 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3981 wxPyListCtrl
* _arg0
;
3983 PyObject
* _argo0
= 0;
3985 PyObject
* _obj1
= 0;
3986 char *_kwnames
[] = { "self","col", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
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.");
4000 if (! wxColour_helper(_obj1
, &_arg1
))
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) return NULL
;
4009 } Py_INCREF(Py_None
);
4010 _resultobj
= Py_None
;
4014 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4015 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4018 wxPyListCtrl
* _arg0
;
4019 PyObject
* _argo0
= 0;
4020 char *_kwnames
[] = { "self", NULL
};
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_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.");
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) return NULL
;
4038 } _resultobj
= Py_BuildValue("l",_result
);
4042 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4043 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4045 wxPyListCtrl
* _arg0
;
4047 bool _arg2
= (bool ) TRUE
;
4048 PyObject
* _argo0
= 0;
4049 int tempbool2
= (int) TRUE
;
4050 char *_kwnames
[] = { "self","style","add", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
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.");
4062 _arg2
= (bool ) tempbool2
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4069 } Py_INCREF(Py_None
);
4070 _resultobj
= Py_None
;
4074 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4075 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4077 wxPyListCtrl
* _arg0
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self","style", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
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.");
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) return NULL
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4104 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4107 wxPyListCtrl
* _arg0
;
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
};
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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.");
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) return NULL
;
4130 } _resultobj
= Py_BuildValue("l",_result
);
4134 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4135 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
* _resultobj
;
4137 wxImageList
* _result
;
4138 wxPyListCtrl
* _arg0
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self","which", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
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.");
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) return NULL
;
4159 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4163 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4164 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4166 wxPyListCtrl
* _arg0
;
4167 wxImageList
* _arg1
;
4169 PyObject
* _argo0
= 0;
4170 PyObject
* _argo1
= 0;
4171 char *_kwnames
[] = { "self","imageList","which", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) return NULL
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4201 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4202 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4204 wxPyListCtrl
* _arg0
;
4205 wxImageList
* _arg1
;
4207 PyObject
* _argo0
= 0;
4208 PyObject
* _argo1
= 0;
4209 char *_kwnames
[] = { "self","imageList","which", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4239 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4240 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4243 wxPyListCtrl
* _arg0
;
4244 PyObject
* _argo0
= 0;
4245 char *_kwnames
[] = { "self", NULL
};
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_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.");
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) return NULL
;
4263 } _resultobj
= Py_BuildValue("i",_result
);
4267 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4268 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4270 wxPyListCtrl
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self","item", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
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.");
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) return NULL
;
4291 } Py_INCREF(Py_None
);
4292 _resultobj
= Py_None
;
4296 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4297 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4299 wxPyListCtrl
* _arg0
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) return NULL
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4327 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4330 wxPyListCtrl
* _arg0
;
4331 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self","flag", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
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.");
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) return NULL
;
4351 } _resultobj
= Py_BuildValue("i",_result
);
4355 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4356 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
* _resultobj
;
4359 wxPyListCtrl
* _arg0
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self","item", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
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.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } _resultobj
= Py_BuildValue("i",_result
);
4384 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4385 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4388 wxPyListCtrl
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_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.");
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) return NULL
;
4408 } _resultobj
= Py_BuildValue("i",_result
);
4412 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4413 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4416 wxPyListCtrl
* _arg0
;
4418 PyObject
* _argo0
= 0;
4419 char *_kwnames
[] = { "self","col", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
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.");
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) return NULL
;
4437 } _resultobj
= Py_BuildValue("i",_result
);
4441 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4442 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
* _resultobj
;
4445 wxPyListCtrl
* _arg0
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_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.");
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) return NULL
;
4465 } _resultobj
= Py_BuildValue("i",_result
);
4469 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4470 static 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
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_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.");
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxListCtrl_ClearAll(_arg0
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) return NULL
;
4492 } Py_INCREF(Py_None
);
4493 _resultobj
= Py_None
;
4497 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4498 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4501 wxPyListCtrl
* _arg0
;
4503 PyObject
* _argo0
= 0;
4504 char *_kwnames
[] = { "self","item", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
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.");
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) return NULL
;
4522 } _resultobj
= Py_BuildValue("i",_result
);
4526 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4527 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4530 wxPyListCtrl
* _arg0
;
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
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
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.");
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
);
4556 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4558 _arg2
= new wxString(tmpPtr
, tmpSize
);
4560 if (!PyString_Check(_obj2
)) {
4561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4564 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4567 _arg3
= (bool ) tempbool3
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) return NULL
;
4574 } _resultobj
= Py_BuildValue("l",_result
);
4582 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4583 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4586 wxPyListCtrl
* _arg0
;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "self","start","data", NULL
};
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) return NULL
;
4608 } _resultobj
= Py_BuildValue("l",_result
);
4612 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4613 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
* _resultobj
;
4616 wxPyListCtrl
* _arg0
;
4620 PyObject
* _argo0
= 0;
4622 PyObject
* _obj2
= 0;
4623 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
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.");
4637 if (! wxPoint_helper(_obj2
, &_arg2
))
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) return NULL
;
4646 } _resultobj
= Py_BuildValue("l",_result
);
4650 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4651 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
* _resultobj
;
4654 wxPyListCtrl
* _arg0
;
4658 PyObject
* _argo0
= 0;
4660 PyObject
* _obj1
= 0;
4661 char *_kwnames
[] = { "self","point", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
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.");
4678 if (! wxPoint_helper(_obj1
, &_arg1
))
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) return NULL
;
4687 } _resultobj
= Py_BuildValue("l",_result
);
4690 o
= PyInt_FromLong((long) (*_arg2
));
4691 _resultobj
= t_output_helper(_resultobj
, o
);
4696 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4697 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4700 wxPyListCtrl
* _arg0
;
4702 PyObject
* _argo0
= 0;
4703 PyObject
* _argo1
= 0;
4704 char *_kwnames
[] = { "self","info", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) return NULL
;
4729 } _resultobj
= Py_BuildValue("l",_result
);
4733 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4734 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4737 wxPyListCtrl
* _arg0
;
4740 PyObject
* _argo0
= 0;
4741 PyObject
* _obj2
= 0;
4742 char *_kwnames
[] = { "self","index","label", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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.");
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
);
4761 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4763 _arg2
= new wxString(tmpPtr
, tmpSize
);
4765 if (!PyString_Check(_obj2
)) {
4766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4769 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) return NULL
;
4778 } _resultobj
= Py_BuildValue("l",_result
);
4786 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4787 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4790 wxPyListCtrl
* _arg0
;
4793 PyObject
* _argo0
= 0;
4794 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) return NULL
;
4812 } _resultobj
= Py_BuildValue("l",_result
);
4816 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4817 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
* _resultobj
;
4820 wxPyListCtrl
* _arg0
;
4824 PyObject
* _argo0
= 0;
4825 PyObject
* _obj2
= 0;
4826 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
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.");
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
);
4845 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4847 _arg2
= new wxString(tmpPtr
, tmpSize
);
4849 if (!PyString_Check(_obj2
)) {
4850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4853 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4862 } _resultobj
= Py_BuildValue("l",_result
);
4870 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4871 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4874 wxPyListCtrl
* _arg0
;
4877 PyObject
* _argo0
= 0;
4878 PyObject
* _argo2
= 0;
4879 char *_kwnames
[] = { "self","col","info", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
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.");
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.");
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) return NULL
;
4904 } _resultobj
= Py_BuildValue("l",_result
);
4908 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4909 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
* _resultobj
;
4912 wxPyListCtrl
* _arg0
;
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
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
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.");
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
);
4938 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4940 _arg2
= new wxString(tmpPtr
, tmpSize
);
4942 if (!PyString_Check(_obj2
)) {
4943 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4946 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) return NULL
;
4955 } _resultobj
= Py_BuildValue("l",_result
);
4963 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4964 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
* _resultobj
;
4966 wxPyListCtrl
* _arg0
;
4968 PyObject
* _argo0
= 0;
4969 char *_kwnames
[] = { "self","count", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
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.");
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) return NULL
;
4987 } Py_INCREF(Py_None
);
4988 _resultobj
= Py_None
;
4992 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4993 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4996 wxPyListCtrl
* _arg0
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self","dx","dy", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } _resultobj
= Py_BuildValue("i",_result
);
5022 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5023 if (!PyCallable_Check(func
))
5025 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5027 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5030 wxPyListCtrl
* _arg0
;
5032 PyObject
* _argo0
= 0;
5033 PyObject
* _obj1
= 0;
5034 char *_kwnames
[] = { "self","func", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
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.");
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) return NULL
;
5055 } _resultobj
= Py_BuildValue("i",_result
);
5059 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5062 src
= (wxListView
*) ptr
;
5063 dest
= (wxPyListCtrl
*) src
;
5064 return (void *) dest
;
5067 static void *SwigwxListViewTowxControl(void *ptr
) {
5070 src
= (wxListView
*) ptr
;
5071 dest
= (wxControl
*) src
;
5072 return (void *) dest
;
5075 static void *SwigwxListViewTowxWindow(void *ptr
) {
5078 src
= (wxListView
*) ptr
;
5079 dest
= (wxWindow
*) src
;
5080 return (void *) dest
;
5083 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5086 src
= (wxListView
*) ptr
;
5087 dest
= (wxEvtHandler
*) src
;
5088 return (void *) dest
;
5091 static void *SwigwxListViewTowxObject(void *ptr
) {
5094 src
= (wxListView
*) ptr
;
5095 dest
= (wxObject
*) src
;
5096 return (void *) dest
;
5099 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5100 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
* _resultobj
;
5102 wxListView
* _result
;
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;
5112 PyObject
* _obj2
= 0;
5114 PyObject
* _obj3
= 0;
5115 PyObject
* _argo5
= 0;
5116 PyObject
* _obj6
= 0;
5117 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
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.");
5133 if (! wxPoint_helper(_obj2
, &_arg2
))
5139 if (! wxSize_helper(_obj3
, &_arg3
))
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.");
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
);
5157 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5159 _arg6
= new wxString(tmpPtr
, tmpSize
);
5161 if (!PyString_Check(_obj6
)) {
5162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5165 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5176 _resultobj
= Py_BuildValue("s",_ptemp
);
5179 _resultobj
= Py_None
;
5188 #define new_wxPreListView() (new wxListView())
5189 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5191 wxListView
* _result
;
5192 char *_kwnames
[] = { NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 _result
= (wxListView
*)new_wxPreListView();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) return NULL
;
5205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5206 _resultobj
= Py_BuildValue("s",_ptemp
);
5209 _resultobj
= Py_None
;
5214 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5215 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
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;
5229 PyObject
* _obj3
= 0;
5231 PyObject
* _obj4
= 0;
5232 PyObject
* _argo6
= 0;
5233 PyObject
* _obj7
= 0;
5234 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
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.");
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.");
5256 if (! wxPoint_helper(_obj3
, &_arg3
))
5262 if (! wxSize_helper(_obj4
, &_arg4
))
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.");
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
);
5280 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5282 _arg7
= new wxString(tmpPtr
, tmpSize
);
5284 if (!PyString_Check(_obj7
)) {
5285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5288 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) return NULL
;
5297 } _resultobj
= Py_BuildValue("i",_result
);
5305 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5306 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
* _resultobj
;
5310 bool _arg2
= (bool ) TRUE
;
5311 PyObject
* _argo0
= 0;
5312 int tempbool2
= (int) TRUE
;
5313 char *_kwnames
[] = { "self","n","on", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
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.");
5325 _arg2
= (bool ) tempbool2
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxListView_Select(_arg0
,_arg1
,_arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) return NULL
;
5332 } Py_INCREF(Py_None
);
5333 _resultobj
= Py_None
;
5337 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5338 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5342 PyObject
* _argo0
= 0;
5343 char *_kwnames
[] = { "self","index", NULL
};
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
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.");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 wxListView_Focus(_arg0
,_arg1
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) return NULL
;
5361 } Py_INCREF(Py_None
);
5362 _resultobj
= Py_None
;
5366 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5367 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5371 PyObject
* _argo0
= 0;
5372 char *_kwnames
[] = { "self", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_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.");
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) return NULL
;
5390 } _resultobj
= Py_BuildValue("l",_result
);
5394 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5395 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5400 PyObject
* _argo0
= 0;
5401 char *_kwnames
[] = { "self","item", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
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.");
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) return NULL
;
5419 } _resultobj
= Py_BuildValue("l",_result
);
5423 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5424 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5428 PyObject
* _argo0
= 0;
5429 char *_kwnames
[] = { "self", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_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.");
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) return NULL
;
5447 } _resultobj
= Py_BuildValue("l",_result
);
5451 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5452 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5457 PyObject
* _argo0
= 0;
5458 char *_kwnames
[] = { "self","index", NULL
};
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
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.");
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) return NULL
;
5476 } _resultobj
= Py_BuildValue("i",_result
);
5480 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5481 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5486 PyObject
* _argo0
= 0;
5487 char *_kwnames
[] = { "self","col","image", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) return NULL
;
5505 } Py_INCREF(Py_None
);
5506 _resultobj
= Py_None
;
5510 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5511 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
* _resultobj
;
5515 PyObject
* _argo0
= 0;
5516 char *_kwnames
[] = { "self","col", NULL
};
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
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.");
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 wxListView_ClearColumnImage(_arg0
,_arg1
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) return NULL
;
5534 } Py_INCREF(Py_None
);
5535 _resultobj
= Py_None
;
5539 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5540 static 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
;
5547 PyObject
* _obj0
= 0;
5549 PyObject
* _obj1
= 0;
5550 PyObject
* _argo2
= 0;
5551 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5560 if (! wxColour_helper(_obj0
, &_arg0
))
5566 if (! wxColour_helper(_obj1
, &_arg1
))
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.");
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) return NULL
;
5583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5584 _resultobj
= Py_BuildValue("s",_ptemp
);
5587 _resultobj
= Py_None
;
5592 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5593 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
* _resultobj
;
5595 wxTreeItemAttr
* _arg0
;
5597 PyObject
* _argo0
= 0;
5599 PyObject
* _obj1
= 0;
5600 char *_kwnames
[] = { "self","colText", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
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.");
5614 if (! wxColour_helper(_obj1
, &_arg1
))
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5628 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5629 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5631 wxTreeItemAttr
* _arg0
;
5633 PyObject
* _argo0
= 0;
5635 PyObject
* _obj1
= 0;
5636 char *_kwnames
[] = { "self","colBack", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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.");
5650 if (! wxColour_helper(_obj1
, &_arg1
))
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) return NULL
;
5659 } Py_INCREF(Py_None
);
5660 _resultobj
= Py_None
;
5664 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5665 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5667 wxTreeItemAttr
* _arg0
;
5669 PyObject
* _argo0
= 0;
5670 PyObject
* _argo1
= 0;
5671 char *_kwnames
[] = { "self","font", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5702 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5705 wxTreeItemAttr
* _arg0
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_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.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } _resultobj
= Py_BuildValue("i",_result
);
5729 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5730 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5733 wxTreeItemAttr
* _arg0
;
5734 PyObject
* _argo0
= 0;
5735 char *_kwnames
[] = { "self", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_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.");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5753 } _resultobj
= Py_BuildValue("i",_result
);
5757 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5758 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5761 wxTreeItemAttr
* _arg0
;
5762 PyObject
* _argo0
= 0;
5763 char *_kwnames
[] = { "self", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_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.");
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) return NULL
;
5781 } _resultobj
= Py_BuildValue("i",_result
);
5785 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5786 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
* _resultobj
;
5789 wxTreeItemAttr
* _arg0
;
5790 PyObject
* _argo0
= 0;
5791 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_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.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5811 _resultobj
= Py_BuildValue("s",_ptemp
);
5815 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5816 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5819 wxTreeItemAttr
* _arg0
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_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.");
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) return NULL
;
5840 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5841 _resultobj
= Py_BuildValue("s",_ptemp
);
5845 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5846 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5849 wxTreeItemAttr
* _arg0
;
5850 PyObject
* _argo0
= 0;
5851 char *_kwnames
[] = { "self", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_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.");
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) return NULL
;
5870 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5871 _resultobj
= Py_BuildValue("s",_ptemp
);
5875 #define new_wxTreeItemId() (new wxTreeItemId())
5876 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5878 wxTreeItemId
* _result
;
5879 char *_kwnames
[] = { NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) return NULL
;
5892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5893 _resultobj
= Py_BuildValue("s",_ptemp
);
5896 _resultobj
= Py_None
;
5901 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5902 static 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
};
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_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.");
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 delete_wxTreeItemId(_arg0
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) return NULL
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5929 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5930 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5933 wxTreeItemId
* _arg0
;
5934 PyObject
* _argo0
= 0;
5935 char *_kwnames
[] = { "self", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_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.");
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) return NULL
;
5953 } _resultobj
= Py_BuildValue("i",_result
);
5957 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5958 if (! other
) return -1;
5959 return *self
!= *other
;
5961 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
* _resultobj
;
5964 wxTreeItemId
* _arg0
;
5965 wxTreeItemId
* _arg1
;
5966 PyObject
* _argo0
= 0;
5967 PyObject
* _argo1
= 0;
5968 char *_kwnames
[] = { "self","other", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5993 } _resultobj
= Py_BuildValue("i",_result
);
5997 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5998 wxPyTreeItemData
*src
;
6000 src
= (wxPyTreeItemData
*) ptr
;
6001 dest
= (wxObject
*) src
;
6002 return (void *) dest
;
6005 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6006 static 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
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) return NULL
;
6028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6029 _resultobj
= Py_BuildValue("s",_ptemp
);
6032 _resultobj
= Py_None
;
6037 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6038 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
* _resultobj
;
6041 wxPyTreeItemData
* _arg0
;
6042 PyObject
* _argo0
= 0;
6043 char *_kwnames
[] = { "self", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_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.");
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) return NULL
;
6062 _resultobj
= _result
;
6067 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6068 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6070 wxPyTreeItemData
* _arg0
;
6072 PyObject
* _argo0
= 0;
6073 PyObject
* _obj1
= 0;
6074 char *_kwnames
[] = { "self","obj", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
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.");
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 wxTreeItemData_SetData(_arg0
,_arg1
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) return NULL
;
6095 } Py_INCREF(Py_None
);
6096 _resultobj
= Py_None
;
6100 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6101 static 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
};
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_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.");
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6122 _result
= (wxTreeItemId
*) &_result_ref
;
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6128 _resultobj
= Py_BuildValue("s",_ptemp
);
6131 _resultobj
= Py_None
;
6136 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6137 static 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
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 wxTreeItemData_SetId(_arg0
,*_arg1
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } Py_INCREF(Py_None
);
6169 _resultobj
= Py_None
;
6173 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6175 wxNotifyEvent
*dest
;
6176 src
= (wxTreeEvent
*) ptr
;
6177 dest
= (wxNotifyEvent
*) src
;
6178 return (void *) dest
;
6181 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6183 wxCommandEvent
*dest
;
6184 src
= (wxTreeEvent
*) ptr
;
6185 dest
= (wxCommandEvent
*) src
;
6186 return (void *) dest
;
6189 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6192 src
= (wxTreeEvent
*) ptr
;
6193 dest
= (wxEvent
*) src
;
6194 return (void *) dest
;
6197 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6200 src
= (wxTreeEvent
*) ptr
;
6201 dest
= (wxObject
*) src
;
6202 return (void *) dest
;
6205 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6206 static 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
};
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) return NULL
;
6224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6225 _resultobj
= Py_BuildValue("s",_ptemp
);
6228 _resultobj
= Py_None
;
6233 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6234 static 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
};
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_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.");
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) return NULL
;
6258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6259 _resultobj
= Py_BuildValue("s",_ptemp
);
6263 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6264 static 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
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_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.");
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) return NULL
;
6288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6289 _resultobj
= Py_BuildValue("s",_ptemp
);
6293 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6294 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6297 wxTreeEvent
* _arg0
;
6298 PyObject
* _argo0
= 0;
6299 char *_kwnames
[] = { "self", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_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.");
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6319 _resultobj
= Py_BuildValue("s",_ptemp
);
6323 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6324 static 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
};
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_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.");
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6345 _result
= (wxKeyEvent
*) &_result_ref
;
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) return NULL
;
6350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6351 _resultobj
= Py_BuildValue("s",_ptemp
);
6354 _resultobj
= Py_None
;
6359 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6360 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
* _resultobj
;
6363 wxTreeEvent
* _arg0
;
6364 PyObject
* _argo0
= 0;
6365 char *_kwnames
[] = { "self", NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_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.");
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) return NULL
;
6383 } _resultobj
= Py_BuildValue("i",_result
);
6387 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6388 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6391 wxTreeEvent
* _arg0
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_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.");
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6408 _result
= (wxString
*) &_result_ref
;
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) return NULL
;
6413 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6418 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6421 src
= (wxPyTreeCtrl
*) ptr
;
6422 dest
= (wxControl
*) src
;
6423 return (void *) dest
;
6426 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6429 src
= (wxPyTreeCtrl
*) ptr
;
6430 dest
= (wxWindow
*) src
;
6431 return (void *) dest
;
6434 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6437 src
= (wxPyTreeCtrl
*) ptr
;
6438 dest
= (wxEvtHandler
*) src
;
6439 return (void *) dest
;
6442 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6445 src
= (wxPyTreeCtrl
*) ptr
;
6446 dest
= (wxObject
*) src
;
6447 return (void *) dest
;
6450 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6451 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6453 wxPyTreeCtrl
* _result
;
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;
6463 PyObject
* _obj2
= 0;
6465 PyObject
* _obj3
= 0;
6466 PyObject
* _argo5
= 0;
6467 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
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.");
6483 if (! wxPoint_helper(_obj2
, &_arg2
))
6489 if (! wxSize_helper(_obj3
, &_arg3
))
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.");
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) return NULL
;
6506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6507 _resultobj
= Py_BuildValue("s",_ptemp
);
6510 _resultobj
= Py_None
;
6515 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6516 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6518 wxPyTreeCtrl
* _result
;
6519 char *_kwnames
[] = { NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) return NULL
;
6532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6533 _resultobj
= Py_BuildValue("s",_ptemp
);
6536 _resultobj
= Py_None
;
6541 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6542 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
* _resultobj
;
6545 wxPyTreeCtrl
* _arg0
;
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;
6556 PyObject
* _obj3
= 0;
6558 PyObject
* _obj4
= 0;
6559 PyObject
* _argo6
= 0;
6560 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
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.");
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.");
6582 if (! wxPoint_helper(_obj3
, &_arg3
))
6588 if (! wxSize_helper(_obj4
, &_arg4
))
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.");
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) return NULL
;
6604 } _resultobj
= Py_BuildValue("i",_result
);
6608 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6609 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
* _resultobj
;
6611 wxPyTreeCtrl
* _arg0
;
6614 PyObject
* _argo0
= 0;
6615 PyObject
* _obj1
= 0;
6616 PyObject
* _obj2
= 0;
6617 char *_kwnames
[] = { "self","self","_class", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
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.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6641 } Py_INCREF(Py_None
);
6642 _resultobj
= Py_None
;
6646 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6647 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
* _resultobj
;
6650 wxPyTreeCtrl
* _arg0
;
6651 PyObject
* _argo0
= 0;
6652 char *_kwnames
[] = { "self", NULL
};
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_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.");
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) return NULL
;
6670 } _resultobj
= Py_BuildValue("i",_result
);
6674 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6675 static 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
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_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.");
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6698 } _resultobj
= Py_BuildValue("i",_result
);
6702 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6703 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
* _resultobj
;
6705 wxPyTreeCtrl
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self","indent", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
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.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6732 static 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
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_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.");
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) return NULL
;
6755 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6759 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6760 static 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
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_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.");
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) return NULL
;
6783 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6787 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6788 static 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
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) return NULL
;
6819 } Py_INCREF(Py_None
);
6820 _resultobj
= Py_None
;
6824 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6825 static 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
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } Py_INCREF(Py_None
);
6857 _resultobj
= Py_None
;
6861 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6862 static 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
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } Py_INCREF(Py_None
);
6894 _resultobj
= Py_None
;
6898 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6899 static 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
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6935 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6936 static 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
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_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.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("i",_result
);
6963 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6964 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6966 wxPyTreeCtrl
* _arg0
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self","spacing", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
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.");
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) return NULL
;
6987 } Py_INCREF(Py_None
);
6988 _resultobj
= Py_None
;
6992 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6993 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6996 wxPyTreeCtrl
* _arg0
;
6997 wxTreeItemId
* _arg1
;
6998 PyObject
* _argo0
= 0;
6999 PyObject
* _argo1
= 0;
7000 char *_kwnames
[] = { "self","item", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) return NULL
;
7026 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7034 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7035 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
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
};
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) return NULL
;
7068 } _resultobj
= Py_BuildValue("i",_result
);
7072 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7073 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7076 wxPyTreeCtrl
* _arg0
;
7077 wxTreeItemId
* _arg1
;
7078 PyObject
* _argo0
= 0;
7079 PyObject
* _argo1
= 0;
7080 char *_kwnames
[] = { "self","item", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) return NULL
;
7105 } _resultobj
= Py_BuildValue("i",_result
);
7109 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7110 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
* _resultobj
;
7112 wxPyTreeCtrl
* _arg0
;
7113 wxTreeItemId
* _arg1
;
7115 PyObject
* _argo0
= 0;
7116 PyObject
* _argo1
= 0;
7117 PyObject
* _obj2
= 0;
7118 char *_kwnames
[] = { "self","item","text", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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.");
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.");
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
);
7144 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7146 _arg2
= new wxString(tmpPtr
, tmpSize
);
7148 if (!PyString_Check(_obj2
)) {
7149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7152 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) return NULL
;
7161 } Py_INCREF(Py_None
);
7162 _resultobj
= Py_None
;
7170 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7171 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7173 wxPyTreeCtrl
* _arg0
;
7174 wxTreeItemId
* _arg1
;
7176 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7177 PyObject
* _argo0
= 0;
7178 PyObject
* _argo1
= 0;
7179 char *_kwnames
[] = { "self","item","image","which", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
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.");
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.");
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) return NULL
;
7204 } Py_INCREF(Py_None
);
7205 _resultobj
= Py_None
;
7209 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7210 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7212 wxPyTreeCtrl
* _arg0
;
7213 wxTreeItemId
* _arg1
;
7215 PyObject
* _argo0
= 0;
7216 PyObject
* _argo1
= 0;
7217 char *_kwnames
[] = { "self","item","image", NULL
};
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) return NULL
;
7242 } Py_INCREF(Py_None
);
7243 _resultobj
= Py_None
;
7247 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7248 static 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
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
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.");
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.");
7275 _arg2
= (bool ) tempbool2
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) return NULL
;
7282 } Py_INCREF(Py_None
);
7283 _resultobj
= Py_None
;
7287 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7288 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7290 data
= new wxPyTreeItemData();
7291 data
->SetId(item
); // set the id
7292 self
->SetItemData(item
, data
);
7296 static 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
};
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) return NULL
;
7330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7331 _resultobj
= Py_BuildValue("s",_ptemp
);
7334 _resultobj
= Py_None
;
7339 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7340 data
->SetId(item
); // set the id
7341 self
->SetItemData(item
, data
);
7343 static 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
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
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.");
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.");
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.");
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) return NULL
;
7383 } Py_INCREF(Py_None
);
7384 _resultobj
= Py_None
;
7388 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7389 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7391 data
= new wxPyTreeItemData();
7392 data
->SetId(item
); // set the id
7393 self
->SetItemData(item
, data
);
7395 return data
->GetData();
7397 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7400 wxPyTreeCtrl
* _arg0
;
7401 wxTreeItemId
* _arg1
;
7402 PyObject
* _argo0
= 0;
7403 PyObject
* _argo1
= 0;
7404 char *_kwnames
[] = { "self","item", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7430 _resultobj
= _result
;
7435 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7436 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7438 data
= new wxPyTreeItemData(obj
);
7439 data
->SetId(item
); // set the id
7440 self
->SetItemData(item
, data
);
7444 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7446 wxPyTreeCtrl
* _arg0
;
7447 wxTreeItemId
* _arg1
;
7449 PyObject
* _argo0
= 0;
7450 PyObject
* _argo1
= 0;
7451 PyObject
* _obj2
= 0;
7452 char *_kwnames
[] = { "self","item","obj", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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.");
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.");
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) return NULL
;
7480 } Py_INCREF(Py_None
);
7481 _resultobj
= Py_None
;
7485 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7486 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
* _resultobj
;
7489 wxPyTreeCtrl
* _arg0
;
7490 wxTreeItemId
* _arg1
;
7491 PyObject
* _argo0
= 0;
7492 PyObject
* _argo1
= 0;
7493 char *_kwnames
[] = { "self","item", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) return NULL
;
7518 } _resultobj
= Py_BuildValue("i",_result
);
7522 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7523 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
* _resultobj
;
7526 wxPyTreeCtrl
* _arg0
;
7527 wxTreeItemId
* _arg1
;
7528 PyObject
* _argo0
= 0;
7529 PyObject
* _argo1
= 0;
7530 char *_kwnames
[] = { "self","item", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) return NULL
;
7555 } _resultobj
= Py_BuildValue("i",_result
);
7559 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7560 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7563 wxPyTreeCtrl
* _arg0
;
7564 wxTreeItemId
* _arg1
;
7565 PyObject
* _argo0
= 0;
7566 PyObject
* _argo1
= 0;
7567 char *_kwnames
[] = { "self","item", NULL
};
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) return NULL
;
7592 } _resultobj
= Py_BuildValue("i",_result
);
7596 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7597 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
* _resultobj
;
7600 wxPyTreeCtrl
* _arg0
;
7601 wxTreeItemId
* _arg1
;
7602 PyObject
* _argo0
= 0;
7603 PyObject
* _argo1
= 0;
7604 char *_kwnames
[] = { "self","item", NULL
};
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7629 } _resultobj
= Py_BuildValue("i",_result
);
7633 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7634 static 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
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_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.");
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) return NULL
;
7658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7659 _resultobj
= Py_BuildValue("s",_ptemp
);
7663 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7664 static 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
};
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_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.");
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) return NULL
;
7688 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7689 _resultobj
= Py_BuildValue("s",_ptemp
);
7693 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7694 static 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
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) return NULL
;
7727 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7728 _resultobj
= Py_BuildValue("s",_ptemp
);
7732 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7733 wxPyBeginBlockThreads();
7734 PyObject
* rval
= PyList_New(0);
7735 wxArrayTreeItemIds array
;
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
);
7743 wxPyEndBlockThreads();
7746 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7749 wxPyTreeCtrl
* _arg0
;
7750 PyObject
* _argo0
= 0;
7751 char *_kwnames
[] = { "self", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_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.");
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) return NULL
;
7770 _resultobj
= _result
;
7775 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7776 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
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
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
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.");
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.");
7804 _arg2
= (bool ) tempbool2
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) return NULL
;
7811 } _resultobj
= Py_BuildValue("i",_result
);
7815 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7816 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7818 wxTreeItemId
* _result
;
7819 wxPyTreeCtrl
* _arg0
;
7820 wxTreeItemId
* _arg1
;
7822 PyObject
* _argo0
= 0;
7823 PyObject
* _argo1
= 0;
7825 PyObject
* _obj2
= 0;
7826 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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.");
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.");
7847 temp
= (long) PyInt_AsLong(_obj2
);
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) return NULL
;
7856 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7857 _resultobj
= Py_BuildValue("s",_ptemp
);
7860 o
= PyInt_FromLong((long) (*_arg2
));
7861 _resultobj
= t_output_helper(_resultobj
, o
);
7866 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7867 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
* _resultobj
;
7869 wxTreeItemId
* _result
;
7870 wxPyTreeCtrl
* _arg0
;
7871 wxTreeItemId
* _arg1
;
7873 PyObject
* _argo0
= 0;
7874 PyObject
* _argo1
= 0;
7876 PyObject
* _obj2
= 0;
7877 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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.");
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.");
7898 temp
= (long) PyInt_AsLong(_obj2
);
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) return NULL
;
7907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7908 _resultobj
= Py_BuildValue("s",_ptemp
);
7911 o
= PyInt_FromLong((long) (*_arg2
));
7912 _resultobj
= t_output_helper(_resultobj
, o
);
7917 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7918 static 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
};
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) return NULL
;
7951 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7952 _resultobj
= Py_BuildValue("s",_ptemp
);
7956 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7957 static 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
};
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) return NULL
;
7990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7991 _resultobj
= Py_BuildValue("s",_ptemp
);
7995 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7996 static 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
};
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_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.");
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) return NULL
;
8020 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8021 _resultobj
= Py_BuildValue("s",_ptemp
);
8025 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8026 static 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
};
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) return NULL
;
8059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8060 _resultobj
= Py_BuildValue("s",_ptemp
);
8064 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8065 static 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
};
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8099 _resultobj
= Py_BuildValue("s",_ptemp
);
8103 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8104 static 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
};
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) return NULL
;
8137 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8138 _resultobj
= Py_BuildValue("s",_ptemp
);
8142 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8143 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8145 wxTreeItemId
* _result
;
8146 wxPyTreeCtrl
* _arg0
;
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
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
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.");
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
);
8174 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8176 _arg1
= new wxString(tmpPtr
, tmpSize
);
8178 if (!PyString_Check(_obj1
)) {
8179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8182 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
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.");
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8199 _resultobj
= Py_BuildValue("s",_ptemp
);
8207 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8208 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8210 wxTreeItemId
* _result
;
8211 wxPyTreeCtrl
* _arg0
;
8212 wxTreeItemId
* _arg1
;
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
};
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
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.");
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.");
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
);
8248 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8250 _arg2
= new wxString(tmpPtr
, tmpSize
);
8252 if (!PyString_Check(_obj2
)) {
8253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8256 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
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.");
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8273 _resultobj
= Py_BuildValue("s",_ptemp
);
8281 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8282 static 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
;
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
};
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
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.");
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.");
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.");
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
);
8331 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8333 _arg3
= new wxString(tmpPtr
, tmpSize
);
8335 if (!PyString_Check(_obj3
)) {
8336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8339 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
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.");
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) return NULL
;
8355 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8356 _resultobj
= Py_BuildValue("s",_ptemp
);
8364 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8365 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
* _resultobj
;
8367 wxTreeItemId
* _result
;
8368 wxPyTreeCtrl
* _arg0
;
8369 wxTreeItemId
* _arg1
;
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
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
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.");
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.");
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
);
8406 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8408 _arg3
= new wxString(tmpPtr
, tmpSize
);
8410 if (!PyString_Check(_obj3
)) {
8411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8414 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
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.");
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) return NULL
;
8430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8431 _resultobj
= Py_BuildValue("s",_ptemp
);
8439 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8440 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
* _resultobj
;
8442 wxTreeItemId
* _result
;
8443 wxPyTreeCtrl
* _arg0
;
8444 wxTreeItemId
* _arg1
;
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
};
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
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.");
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.");
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
);
8480 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8482 _arg2
= new wxString(tmpPtr
, tmpSize
);
8484 if (!PyString_Check(_obj2
)) {
8485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8488 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
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.");
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) return NULL
;
8504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8505 _resultobj
= Py_BuildValue("s",_ptemp
);
8513 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8514 static 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
};
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) return NULL
;
8545 } Py_INCREF(Py_None
);
8546 _resultobj
= Py_None
;
8550 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8551 static 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
};
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) return NULL
;
8582 } Py_INCREF(Py_None
);
8583 _resultobj
= Py_None
;
8587 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8588 static 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
};
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_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.");
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 wxTreeCtrl_DeleteAllItems(_arg0
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) return NULL
;
8610 } Py_INCREF(Py_None
);
8611 _resultobj
= Py_None
;
8615 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8616 static 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
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) return NULL
;
8647 } Py_INCREF(Py_None
);
8648 _resultobj
= Py_None
;
8652 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8653 static 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
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) return NULL
;
8684 } Py_INCREF(Py_None
);
8685 _resultobj
= Py_None
;
8689 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8690 static 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
};
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) return NULL
;
8721 } Py_INCREF(Py_None
);
8722 _resultobj
= Py_None
;
8726 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8727 static 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
};
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) return NULL
;
8758 } Py_INCREF(Py_None
);
8759 _resultobj
= Py_None
;
8763 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8764 static 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
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_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.");
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 wxTreeCtrl_Unselect(_arg0
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) return NULL
;
8786 } Py_INCREF(Py_None
);
8787 _resultobj
= Py_None
;
8791 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8792 static 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
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_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.");
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 wxTreeCtrl_UnselectAll(_arg0
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) return NULL
;
8814 } Py_INCREF(Py_None
);
8815 _resultobj
= Py_None
;
8819 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8820 static 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
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) return NULL
;
8851 } Py_INCREF(Py_None
);
8852 _resultobj
= Py_None
;
8856 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8857 static 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
};
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) return NULL
;
8888 } Py_INCREF(Py_None
);
8889 _resultobj
= Py_None
;
8893 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8894 static 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
};
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) return NULL
;
8925 } Py_INCREF(Py_None
);
8926 _resultobj
= Py_None
;
8930 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8931 static 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
};
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) return NULL
;
8962 } Py_INCREF(Py_None
);
8963 _resultobj
= Py_None
;
8967 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8968 static 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
};
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) return NULL
;
8999 } Py_INCREF(Py_None
);
9000 _resultobj
= Py_None
;
9004 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9005 static 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
};
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) return NULL
;
9037 } Py_INCREF(Py_None
);
9038 _resultobj
= Py_None
;
9042 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9043 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
* _resultobj
;
9046 wxPyTreeCtrl
* _arg0
;
9047 wxTreeItemId
* _arg1
;
9048 PyObject
* _argo0
= 0;
9049 PyObject
* _argo1
= 0;
9050 char *_kwnames
[] = { "self","item", NULL
};
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) return NULL
;
9075 } _resultobj
= Py_BuildValue("i",_result
);
9079 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9080 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
* _resultobj
;
9082 wxTreeItemId
* _result
;
9083 wxPyTreeCtrl
* _arg0
;
9087 PyObject
* _argo0
= 0;
9089 PyObject
* _obj1
= 0;
9090 char *_kwnames
[] = { "self","point", NULL
};
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
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.");
9108 if (! wxPoint_helper(_obj1
, &_arg1
))
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) return NULL
;
9117 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9118 _resultobj
= Py_BuildValue("s",_ptemp
);
9121 o
= PyInt_FromLong((long) (*_arg2
));
9122 _resultobj
= t_output_helper(_resultobj
, o
);
9127 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9128 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
* _resultobj
;
9130 wxPyTreeCtrl
* _arg0
;
9131 wxTreeItemId
* _arg1
;
9133 PyObject
* _argo0
= 0;
9134 PyObject
* _argo1
= 0;
9136 PyObject
* _obj2
= 0;
9137 char *_kwnames
[] = { "self","item","col", NULL
};
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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.");
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.");
9158 if (! wxColour_helper(_obj2
, &_arg2
))
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) return NULL
;
9167 } Py_INCREF(Py_None
);
9168 _resultobj
= Py_None
;
9172 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9173 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
* _resultobj
;
9175 wxPyTreeCtrl
* _arg0
;
9176 wxTreeItemId
* _arg1
;
9178 PyObject
* _argo0
= 0;
9179 PyObject
* _argo1
= 0;
9181 PyObject
* _obj2
= 0;
9182 char *_kwnames
[] = { "self","item","col", NULL
};
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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.");
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.");
9203 if (! wxColour_helper(_obj2
, &_arg2
))
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) return NULL
;
9212 } Py_INCREF(Py_None
);
9213 _resultobj
= Py_None
;
9217 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9218 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
* _resultobj
;
9220 wxPyTreeCtrl
* _arg0
;
9221 wxTreeItemId
* _arg1
;
9223 PyObject
* _argo0
= 0;
9224 PyObject
* _argo1
= 0;
9225 PyObject
* _argo2
= 0;
9226 char *_kwnames
[] = { "self","item","font", NULL
};
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
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.");
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.");
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.");
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) return NULL
;
9258 } Py_INCREF(Py_None
);
9259 _resultobj
= Py_None
;
9263 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9265 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9266 wxPyBeginBlockThreads();
9267 wxRect
* r
= new wxRect(rect
);
9268 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9269 wxPyEndBlockThreads();
9277 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
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
};
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) return NULL
;
9311 _resultobj
= _result
;
9316 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9319 src
= (wxDirItemData
*) ptr
;
9320 dest
= (wxObject
*) src
;
9321 return (void *) dest
;
9324 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9325 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
* _resultobj
;
9327 wxDirItemData
* _result
;
9331 PyObject
* _obj0
= 0;
9332 PyObject
* _obj1
= 0;
9334 char *_kwnames
[] = { "path","name","isDir", NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
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
);
9347 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9349 _arg0
= new wxString(tmpPtr
, tmpSize
);
9351 if (!PyString_Check(_obj0
)) {
9352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9355 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
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
);
9365 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9367 _arg1
= new wxString(tmpPtr
, tmpSize
);
9369 if (!PyString_Check(_obj1
)) {
9370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9373 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9376 _arg2
= (bool ) tempbool2
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) return NULL
;
9384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9385 _resultobj
= Py_BuildValue("s",_ptemp
);
9388 _resultobj
= Py_None
;
9401 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9402 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9404 wxDirItemData
* _arg0
;
9406 PyObject
* _argo0
= 0;
9407 PyObject
* _obj1
= 0;
9408 char *_kwnames
[] = { "self","path", NULL
};
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
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.");
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
);
9427 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9429 _arg1
= new wxString(tmpPtr
, tmpSize
);
9431 if (!PyString_Check(_obj1
)) {
9432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9435 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) return NULL
;
9444 } Py_INCREF(Py_None
);
9445 _resultobj
= Py_None
;
9453 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9454 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9457 wxDirItemData
* _arg0
;
9459 PyObject
* _argo0
= 0;
9460 PyObject
* _obj1
= 0;
9461 char *_kwnames
[] = { "self","m_path", NULL
};
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
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.");
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
);
9480 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9482 _arg1
= new wxString(tmpPtr
, tmpSize
);
9484 if (!PyString_Check(_obj1
)) {
9485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9488 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9498 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9507 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9508 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
* _resultobj
;
9511 wxDirItemData
* _arg0
;
9512 PyObject
* _argo0
= 0;
9513 char *_kwnames
[] = { "self", NULL
};
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_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.");
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9532 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9537 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9538 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9541 wxDirItemData
* _arg0
;
9543 PyObject
* _argo0
= 0;
9544 PyObject
* _obj1
= 0;
9545 char *_kwnames
[] = { "self","m_name", NULL
};
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
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.");
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
);
9564 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9566 _arg1
= new wxString(tmpPtr
, tmpSize
);
9568 if (!PyString_Check(_obj1
)) {
9569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9572 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) return NULL
;
9582 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9591 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9592 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
* _resultobj
;
9595 wxDirItemData
* _arg0
;
9596 PyObject
* _argo0
= 0;
9597 char *_kwnames
[] = { "self", NULL
};
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_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.");
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) return NULL
;
9616 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9621 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9622 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
* _resultobj
;
9625 wxDirItemData
* _arg0
;
9627 PyObject
* _argo0
= 0;
9629 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
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.");
9641 _arg1
= (bool ) tempbool1
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) return NULL
;
9648 } _resultobj
= Py_BuildValue("i",_result
);
9652 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9653 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
* _resultobj
;
9656 wxDirItemData
* _arg0
;
9657 PyObject
* _argo0
= 0;
9658 char *_kwnames
[] = { "self", NULL
};
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_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.");
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) return NULL
;
9676 } _resultobj
= Py_BuildValue("i",_result
);
9680 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9681 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
* _resultobj
;
9684 wxDirItemData
* _arg0
;
9686 PyObject
* _argo0
= 0;
9688 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
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.");
9700 _arg1
= (bool ) tempbool1
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) return NULL
;
9707 } _resultobj
= Py_BuildValue("i",_result
);
9711 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9712 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
* _resultobj
;
9715 wxDirItemData
* _arg0
;
9716 PyObject
* _argo0
= 0;
9717 char *_kwnames
[] = { "self", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_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.");
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) return NULL
;
9735 } _resultobj
= Py_BuildValue("i",_result
);
9739 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9740 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9743 wxDirItemData
* _arg0
;
9745 PyObject
* _argo0
= 0;
9747 char *_kwnames
[] = { "self","m_isDir", NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
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.");
9759 _arg1
= (bool ) tempbool1
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) return NULL
;
9766 } _resultobj
= Py_BuildValue("i",_result
);
9770 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9771 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
* _resultobj
;
9774 wxDirItemData
* _arg0
;
9775 PyObject
* _argo0
= 0;
9776 char *_kwnames
[] = { "self", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_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.");
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) return NULL
;
9794 } _resultobj
= Py_BuildValue("i",_result
);
9798 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9799 wxGenericDirCtrl
*src
;
9801 src
= (wxGenericDirCtrl
*) ptr
;
9802 dest
= (wxControl
*) src
;
9803 return (void *) dest
;
9806 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9807 wxGenericDirCtrl
*src
;
9809 src
= (wxGenericDirCtrl
*) ptr
;
9810 dest
= (wxWindow
*) src
;
9811 return (void *) dest
;
9814 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9815 wxGenericDirCtrl
*src
;
9817 src
= (wxGenericDirCtrl
*) ptr
;
9818 dest
= (wxEvtHandler
*) src
;
9819 return (void *) dest
;
9822 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9823 wxGenericDirCtrl
*src
;
9825 src
= (wxGenericDirCtrl
*) ptr
;
9826 dest
= (wxObject
*) src
;
9827 return (void *) dest
;
9830 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9831 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
* _resultobj
;
9833 wxGenericDirCtrl
* _result
;
9835 wxWindowID _arg1
= (wxWindowID
) -1;
9836 wxString
* _arg2
= (wxString
*) &wxDirDialogDefaultFolderStr
;
9837 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9838 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9839 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9840 wxString
* _arg6
= (wxString
*) &wxEmptyString
;
9841 int _arg7
= (int ) 0;
9842 wxString
* _arg8
= (wxString
*) &"dirCtrl";
9843 PyObject
* _argo0
= 0;
9844 PyObject
* _obj2
= 0;
9846 PyObject
* _obj3
= 0;
9848 PyObject
* _obj4
= 0;
9849 PyObject
* _obj6
= 0;
9850 PyObject
* _obj8
= 0;
9851 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9866 #if PYTHON_API_VERSION >= 1009
9867 char* tmpPtr
; int tmpSize
;
9868 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9872 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9874 _arg2
= new wxString(tmpPtr
, tmpSize
);
9876 if (!PyString_Check(_obj2
)) {
9877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9880 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9886 if (! wxPoint_helper(_obj3
, &_arg3
))
9892 if (! wxSize_helper(_obj4
, &_arg4
))
9897 #if PYTHON_API_VERSION >= 1009
9898 char* tmpPtr
; int tmpSize
;
9899 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
9900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9903 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
9905 _arg6
= new wxString(tmpPtr
, tmpSize
);
9907 if (!PyString_Check(_obj6
)) {
9908 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9911 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
9916 #if PYTHON_API_VERSION >= 1009
9917 char* tmpPtr
; int tmpSize
;
9918 if (!PyString_Check(_obj8
) && !PyUnicode_Check(_obj8
)) {
9919 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9922 if (PyString_AsStringAndSize(_obj8
, &tmpPtr
, &tmpSize
) == -1)
9924 _arg8
= new wxString(tmpPtr
, tmpSize
);
9926 if (!PyString_Check(_obj8
)) {
9927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9930 _arg8
= new wxString(PyString_AS_STRING(_obj8
), PyString_GET_SIZE(_obj8
));
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) return NULL
;
9940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9941 _resultobj
= Py_BuildValue("s",_ptemp
);
9944 _resultobj
= Py_None
;
9961 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9962 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
* _resultobj
;
9964 wxGenericDirCtrl
* _result
;
9965 char *_kwnames
[] = { NULL
};
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) return NULL
;
9978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9979 _resultobj
= Py_BuildValue("s",_ptemp
);
9982 _resultobj
= Py_None
;
9987 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9988 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
* _resultobj
;
9991 wxGenericDirCtrl
* _arg0
;
9993 wxWindowID _arg2
= (wxWindowID
) -1;
9994 wxString
* _arg3
= (wxString
*) &wxDirDialogDefaultFolderStr
;
9995 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9996 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9997 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9998 wxString
* _arg7
= (wxString
*) &wxEmptyString
;
9999 int _arg8
= (int ) 0;
10000 wxString
* _arg9
= (wxString
*) &"treeCtrl";
10001 PyObject
* _argo0
= 0;
10002 PyObject
* _argo1
= 0;
10003 PyObject
* _obj3
= 0;
10005 PyObject
* _obj4
= 0;
10007 PyObject
* _obj5
= 0;
10008 PyObject
* _obj7
= 0;
10009 PyObject
* _obj9
= 0;
10010 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
10016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10031 #if PYTHON_API_VERSION >= 1009
10032 char* tmpPtr
; int tmpSize
;
10033 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
10034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10037 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
10039 _arg3
= new wxString(tmpPtr
, tmpSize
);
10041 if (!PyString_Check(_obj3
)) {
10042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10045 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
10051 if (! wxPoint_helper(_obj4
, &_arg4
))
10057 if (! wxSize_helper(_obj5
, &_arg5
))
10062 #if PYTHON_API_VERSION >= 1009
10063 char* tmpPtr
; int tmpSize
;
10064 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
10065 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10068 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
10070 _arg7
= new wxString(tmpPtr
, tmpSize
);
10072 if (!PyString_Check(_obj7
)) {
10073 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10076 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
10081 #if PYTHON_API_VERSION >= 1009
10082 char* tmpPtr
; int tmpSize
;
10083 if (!PyString_Check(_obj9
) && !PyUnicode_Check(_obj9
)) {
10084 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10087 if (PyString_AsStringAndSize(_obj9
, &tmpPtr
, &tmpSize
) == -1)
10089 _arg9
= new wxString(tmpPtr
, tmpSize
);
10091 if (!PyString_Check(_obj9
)) {
10092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10095 _arg9
= new wxString(PyString_AS_STRING(_obj9
), PyString_GET_SIZE(_obj9
));
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) return NULL
;
10104 } _resultobj
= Py_BuildValue("i",_result
);
10120 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10121 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
* _resultobj
;
10124 wxGenericDirCtrl
* _arg0
;
10126 PyObject
* _argo0
= 0;
10127 PyObject
* _obj1
= 0;
10128 char *_kwnames
[] = { "self","path", NULL
};
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10141 #if PYTHON_API_VERSION >= 1009
10142 char* tmpPtr
; int tmpSize
;
10143 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10147 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10149 _arg1
= new wxString(tmpPtr
, tmpSize
);
10151 if (!PyString_Check(_obj1
)) {
10152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10155 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) return NULL
;
10164 } _resultobj
= Py_BuildValue("i",_result
);
10172 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10173 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
* _resultobj
;
10175 wxString
* _result
;
10176 wxGenericDirCtrl
* _arg0
;
10177 PyObject
* _argo0
= 0;
10178 char *_kwnames
[] = { "self", NULL
};
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) return NULL
;
10197 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10205 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10206 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10208 wxGenericDirCtrl
* _arg0
;
10210 PyObject
* _argo0
= 0;
10211 PyObject
* _obj1
= 0;
10212 char *_kwnames
[] = { "self","path", NULL
};
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10225 #if PYTHON_API_VERSION >= 1009
10226 char* tmpPtr
; int tmpSize
;
10227 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10228 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10231 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10233 _arg1
= new wxString(tmpPtr
, tmpSize
);
10235 if (!PyString_Check(_obj1
)) {
10236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10239 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) return NULL
;
10248 } Py_INCREF(Py_None
);
10249 _resultobj
= Py_None
;
10257 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10258 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
* _resultobj
;
10260 wxString
* _result
;
10261 wxGenericDirCtrl
* _arg0
;
10262 PyObject
* _argo0
= 0;
10263 char *_kwnames
[] = { "self", NULL
};
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) return NULL
;
10282 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10290 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10291 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
* _resultobj
;
10293 wxString
* _result
;
10294 wxGenericDirCtrl
* _arg0
;
10295 PyObject
* _argo0
= 0;
10296 char *_kwnames
[] = { "self", NULL
};
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_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_GetFilePath. Expected _wxGenericDirCtrl_p.");
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) return NULL
;
10315 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10323 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10324 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
* _resultobj
;
10326 wxGenericDirCtrl
* _arg0
;
10328 PyObject
* _argo0
= 0;
10329 PyObject
* _obj1
= 0;
10330 char *_kwnames
[] = { "self","path", NULL
};
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
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_SetPath. Expected _wxGenericDirCtrl_p.");
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
);
10349 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10351 _arg1
= new wxString(tmpPtr
, tmpSize
);
10353 if (!PyString_Check(_obj1
)) {
10354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10357 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) return NULL
;
10366 } Py_INCREF(Py_None
);
10367 _resultobj
= Py_None
;
10375 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10376 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10378 wxGenericDirCtrl
* _arg0
;
10380 PyObject
* _argo0
= 0;
10382 char *_kwnames
[] = { "self","show", NULL
};
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10394 _arg1
= (bool ) tempbool1
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) return NULL
;
10401 } Py_INCREF(Py_None
);
10402 _resultobj
= Py_None
;
10406 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10407 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
* _resultobj
;
10410 wxGenericDirCtrl
* _arg0
;
10411 PyObject
* _argo0
= 0;
10412 char *_kwnames
[] = { "self", NULL
};
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) return NULL
;
10430 } _resultobj
= Py_BuildValue("i",_result
);
10434 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10435 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
* _resultobj
;
10437 wxString
* _result
;
10438 wxGenericDirCtrl
* _arg0
;
10439 PyObject
* _argo0
= 0;
10440 char *_kwnames
[] = { "self", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) return NULL
;
10459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10467 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10468 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
* _resultobj
;
10470 wxGenericDirCtrl
* _arg0
;
10472 PyObject
* _argo0
= 0;
10473 PyObject
* _obj1
= 0;
10474 char *_kwnames
[] = { "self","filter", NULL
};
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10487 #if PYTHON_API_VERSION >= 1009
10488 char* tmpPtr
; int tmpSize
;
10489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10495 _arg1
= new wxString(tmpPtr
, tmpSize
);
10497 if (!PyString_Check(_obj1
)) {
10498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) return NULL
;
10510 } Py_INCREF(Py_None
);
10511 _resultobj
= Py_None
;
10519 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10520 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
* _resultobj
;
10523 wxGenericDirCtrl
* _arg0
;
10524 PyObject
* _argo0
= 0;
10525 char *_kwnames
[] = { "self", NULL
};
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) return NULL
;
10543 } _resultobj
= Py_BuildValue("i",_result
);
10547 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10548 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
* _resultobj
;
10550 wxGenericDirCtrl
* _arg0
;
10552 PyObject
* _argo0
= 0;
10553 char *_kwnames
[] = { "self","n", NULL
};
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) return NULL
;
10571 } Py_INCREF(Py_None
);
10572 _resultobj
= Py_None
;
10576 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10577 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
* _resultobj
;
10579 wxTreeItemId
* _result
;
10580 wxGenericDirCtrl
* _arg0
;
10581 PyObject
* _argo0
= 0;
10582 char *_kwnames
[] = { "self", NULL
};
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) return NULL
;
10601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10602 _resultobj
= Py_BuildValue("s",_ptemp
);
10606 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10607 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
* _resultobj
;
10609 wxTreeCtrl
* _result
;
10610 wxGenericDirCtrl
* _arg0
;
10611 PyObject
* _argo0
= 0;
10612 char *_kwnames
[] = { "self", NULL
};
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) return NULL
;
10632 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10633 _resultobj
= Py_BuildValue("s",_ptemp
);
10635 Py_INCREF(Py_None
);
10636 _resultobj
= Py_None
;
10641 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10642 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
* _resultobj
;
10644 wxDirFilterListCtrl
* _result
;
10645 wxGenericDirCtrl
* _arg0
;
10646 PyObject
* _argo0
= 0;
10647 char *_kwnames
[] = { "self", NULL
};
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) return NULL
;
10667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10668 _resultobj
= Py_BuildValue("s",_ptemp
);
10670 Py_INCREF(Py_None
);
10671 _resultobj
= Py_None
;
10676 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10677 wxDirFilterListCtrl
*src
;
10679 src
= (wxDirFilterListCtrl
*) ptr
;
10680 dest
= (wxChoice
*) src
;
10681 return (void *) dest
;
10684 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10685 wxDirFilterListCtrl
*src
;
10686 wxControlWithItems
*dest
;
10687 src
= (wxDirFilterListCtrl
*) ptr
;
10688 dest
= (wxControlWithItems
*) src
;
10689 return (void *) dest
;
10692 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10693 wxDirFilterListCtrl
*src
;
10695 src
= (wxDirFilterListCtrl
*) ptr
;
10696 dest
= (wxControl
*) src
;
10697 return (void *) dest
;
10700 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10701 wxDirFilterListCtrl
*src
;
10703 src
= (wxDirFilterListCtrl
*) ptr
;
10704 dest
= (wxWindow
*) src
;
10705 return (void *) dest
;
10708 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10709 wxDirFilterListCtrl
*src
;
10710 wxEvtHandler
*dest
;
10711 src
= (wxDirFilterListCtrl
*) ptr
;
10712 dest
= (wxEvtHandler
*) src
;
10713 return (void *) dest
;
10716 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10717 wxDirFilterListCtrl
*src
;
10719 src
= (wxDirFilterListCtrl
*) ptr
;
10720 dest
= (wxObject
*) src
;
10721 return (void *) dest
;
10724 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10725 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
* _resultobj
;
10727 wxDirFilterListCtrl
* _result
;
10728 wxGenericDirCtrl
* _arg0
;
10729 wxWindowID _arg1
= (wxWindowID
) -1;
10730 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10731 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10732 long _arg4
= (long ) 0;
10733 PyObject
* _argo0
= 0;
10735 PyObject
* _obj2
= 0;
10737 PyObject
* _obj3
= 0;
10738 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10754 if (! wxPoint_helper(_obj2
, &_arg2
))
10760 if (! wxSize_helper(_obj3
, &_arg3
))
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) return NULL
;
10770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10771 _resultobj
= Py_BuildValue("s",_ptemp
);
10773 Py_INCREF(Py_None
);
10774 _resultobj
= Py_None
;
10779 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10780 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
* _resultobj
;
10782 wxDirFilterListCtrl
* _result
;
10783 char *_kwnames
[] = { NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) return NULL
;
10796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10797 _resultobj
= Py_BuildValue("s",_ptemp
);
10799 Py_INCREF(Py_None
);
10800 _resultobj
= Py_None
;
10805 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10806 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
* _resultobj
;
10809 wxDirFilterListCtrl
* _arg0
;
10810 wxGenericDirCtrl
* _arg1
;
10811 wxWindowID _arg2
= (wxWindowID
) -1;
10812 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10813 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10814 long _arg5
= (long ) 0;
10815 PyObject
* _argo0
= 0;
10816 PyObject
* _argo1
= 0;
10818 PyObject
* _obj3
= 0;
10820 PyObject
* _obj4
= 0;
10821 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10843 if (! wxPoint_helper(_obj3
, &_arg3
))
10849 if (! wxSize_helper(_obj4
, &_arg4
))
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) return NULL
;
10858 } _resultobj
= Py_BuildValue("i",_result
);
10862 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10863 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
* _resultobj
;
10865 wxDirFilterListCtrl
* _arg0
;
10868 PyObject
* _argo0
= 0;
10869 PyObject
* _obj1
= 0;
10870 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10883 #if PYTHON_API_VERSION >= 1009
10884 char* tmpPtr
; int tmpSize
;
10885 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10889 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10891 _arg1
= new wxString(tmpPtr
, tmpSize
);
10893 if (!PyString_Check(_obj1
)) {
10894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10897 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) return NULL
;
10906 } Py_INCREF(Py_None
);
10907 _resultobj
= Py_None
;
10915 static PyMethodDef controls2cMethods
[] = {
10916 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11208 * This table is used by the pointer type-checker
11210 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11211 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11212 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11213 { "_signed_long","_long",0},
11214 { "_wxPrintQuality","_wxCoord",0},
11215 { "_wxPrintQuality","_int",0},
11216 { "_wxPrintQuality","_signed_int",0},
11217 { "_wxPrintQuality","_unsigned_int",0},
11218 { "_wxPrintQuality","_wxWindowID",0},
11219 { "_wxPrintQuality","_uint",0},
11220 { "_wxPrintQuality","_EBool",0},
11221 { "_wxPrintQuality","_size_t",0},
11222 { "_wxPrintQuality","_time_t",0},
11223 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11224 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11225 { "_byte","_unsigned_char",0},
11226 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11227 { "_long","_unsigned_long",0},
11228 { "_long","_signed_long",0},
11229 { "_size_t","_wxCoord",0},
11230 { "_size_t","_wxPrintQuality",0},
11231 { "_size_t","_time_t",0},
11232 { "_size_t","_unsigned_int",0},
11233 { "_size_t","_int",0},
11234 { "_size_t","_wxWindowID",0},
11235 { "_size_t","_uint",0},
11236 { "_uint","_wxCoord",0},
11237 { "_uint","_wxPrintQuality",0},
11238 { "_uint","_time_t",0},
11239 { "_uint","_size_t",0},
11240 { "_uint","_unsigned_int",0},
11241 { "_uint","_int",0},
11242 { "_uint","_wxWindowID",0},
11243 { "_wxChar","_char",0},
11244 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11245 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11246 { "_char","_wxChar",0},
11247 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11248 { "_EBool","_wxCoord",0},
11249 { "_EBool","_wxPrintQuality",0},
11250 { "_EBool","_signed_int",0},
11251 { "_EBool","_int",0},
11252 { "_EBool","_wxWindowID",0},
11253 { "_unsigned_long","_long",0},
11254 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11255 { "_signed_int","_wxCoord",0},
11256 { "_signed_int","_wxPrintQuality",0},
11257 { "_signed_int","_EBool",0},
11258 { "_signed_int","_wxWindowID",0},
11259 { "_signed_int","_int",0},
11260 { "_WXTYPE","_short",0},
11261 { "_WXTYPE","_signed_short",0},
11262 { "_WXTYPE","_unsigned_short",0},
11263 { "_unsigned_short","_WXTYPE",0},
11264 { "_unsigned_short","_short",0},
11265 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11266 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11267 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11268 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11269 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11270 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11271 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11272 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11273 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11274 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11275 { "_signed_short","_WXTYPE",0},
11276 { "_signed_short","_short",0},
11277 { "_unsigned_char","_byte",0},
11278 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11279 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11280 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11281 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11282 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11283 { "_unsigned_int","_wxCoord",0},
11284 { "_unsigned_int","_wxPrintQuality",0},
11285 { "_unsigned_int","_time_t",0},
11286 { "_unsigned_int","_size_t",0},
11287 { "_unsigned_int","_uint",0},
11288 { "_unsigned_int","_wxWindowID",0},
11289 { "_unsigned_int","_int",0},
11290 { "_short","_WXTYPE",0},
11291 { "_short","_unsigned_short",0},
11292 { "_short","_signed_short",0},
11293 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11294 { "_wxWindowID","_wxCoord",0},
11295 { "_wxWindowID","_wxPrintQuality",0},
11296 { "_wxWindowID","_time_t",0},
11297 { "_wxWindowID","_size_t",0},
11298 { "_wxWindowID","_EBool",0},
11299 { "_wxWindowID","_uint",0},
11300 { "_wxWindowID","_int",0},
11301 { "_wxWindowID","_signed_int",0},
11302 { "_wxWindowID","_unsigned_int",0},
11303 { "_int","_wxCoord",0},
11304 { "_int","_wxPrintQuality",0},
11305 { "_int","_time_t",0},
11306 { "_int","_size_t",0},
11307 { "_int","_EBool",0},
11308 { "_int","_uint",0},
11309 { "_int","_wxWindowID",0},
11310 { "_int","_unsigned_int",0},
11311 { "_int","_signed_int",0},
11312 { "_time_t","_wxCoord",0},
11313 { "_time_t","_wxPrintQuality",0},
11314 { "_time_t","_unsigned_int",0},
11315 { "_time_t","_int",0},
11316 { "_time_t","_wxWindowID",0},
11317 { "_time_t","_uint",0},
11318 { "_time_t","_size_t",0},
11319 { "_wxCoord","_int",0},
11320 { "_wxCoord","_signed_int",0},
11321 { "_wxCoord","_unsigned_int",0},
11322 { "_wxCoord","_wxWindowID",0},
11323 { "_wxCoord","_uint",0},
11324 { "_wxCoord","_EBool",0},
11325 { "_wxCoord","_size_t",0},
11326 { "_wxCoord","_time_t",0},
11327 { "_wxCoord","_wxPrintQuality",0},
11328 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11329 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11330 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11331 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11332 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11333 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11334 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11335 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11336 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11337 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11338 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11341 static PyObject
*SWIG_globals
;
11345 SWIGEXPORT(void) initcontrols2c() {
11347 SWIG_globals
= SWIG_newvarlink();
11348 m
= Py_InitModule("controls2c", controls2cMethods
);
11349 d
= PyModule_GetDict(m
);
11350 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11351 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11352 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11353 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11354 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11355 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11356 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11357 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11358 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11359 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11360 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11361 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11362 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11363 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11364 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11365 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11366 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11367 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11368 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11369 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11370 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11371 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11372 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11373 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11374 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11375 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11376 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11377 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11378 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11379 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11380 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11381 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11382 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11383 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11384 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11385 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11386 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11387 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11388 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11389 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11390 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11391 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11392 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11393 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11394 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11395 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11396 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11397 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11398 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11399 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11400 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11401 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11402 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11403 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11404 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11405 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11406 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11407 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11408 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11409 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11410 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11411 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11412 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11413 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11414 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11415 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11416 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11417 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11418 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11419 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11420 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11421 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11422 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11423 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11424 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11425 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11426 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11427 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11428 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11429 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11430 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11431 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11432 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11433 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11434 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11435 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11436 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11437 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11438 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11439 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11440 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11441 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11442 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11443 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11444 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11445 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11446 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11447 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11448 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11449 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11450 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11451 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11452 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11453 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11454 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11455 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11456 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11457 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11458 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11459 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11460 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11461 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11462 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11463 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11464 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11465 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11466 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11467 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11468 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11469 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11470 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11471 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11472 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11473 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11474 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11475 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11476 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11477 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11478 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11479 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11480 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11481 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11482 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11483 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11484 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11485 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11486 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11487 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11488 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11489 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11490 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11491 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11492 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11494 // Map renamed classes back to their common name for OOR
11495 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11496 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11497 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11500 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11501 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);