2 * FILE : src/gtk/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 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3187 if (self
->GetColumn(col
, item
))
3188 return new wxListItem(item
);
3192 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3194 wxListItem
* _result
;
3195 wxPyListCtrl
* _arg0
;
3197 PyObject
* _argo0
= 0;
3198 char *_kwnames
[] = { "self","col", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3220 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3221 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3224 wxPyListCtrl
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 PyObject
* _argo2
= 0;
3229 char *_kwnames
[] = { "self","col","item", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3242 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) return NULL
;
3254 } _resultobj
= Py_BuildValue("i",_result
);
3258 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3259 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
* _resultobj
;
3262 wxPyListCtrl
* _arg0
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self","col", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3283 } _resultobj
= Py_BuildValue("i",_result
);
3287 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3291 wxPyListCtrl
* _arg0
;
3294 PyObject
* _argo0
= 0;
3295 char *_kwnames
[] = { "self","col","width", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) return NULL
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3318 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3321 wxPyListCtrl
* _arg0
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3346 wxListItem
* info
= new wxListItem
;
3347 info
->m_itemId
= itemId
;
3349 info
->m_mask
= 0xFFFF;
3350 self
->GetItem(*info
);
3353 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3355 wxListItem
* _result
;
3356 wxPyListCtrl
* _arg0
;
3358 int _arg2
= (int ) 0;
3359 PyObject
* _argo0
= 0;
3360 char *_kwnames
[] = { "self","itemId","col", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) return NULL
;
3378 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3382 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3383 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3386 wxPyListCtrl
* _arg0
;
3388 PyObject
* _argo0
= 0;
3389 PyObject
* _argo1
= 0;
3390 char *_kwnames
[] = { "self","info", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) return NULL
;
3415 } _resultobj
= Py_BuildValue("i",_result
);
3419 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3420 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3423 wxPyListCtrl
* _arg0
;
3427 int _arg4
= (int ) -1;
3428 PyObject
* _argo0
= 0;
3429 PyObject
* _obj3
= 0;
3430 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3443 #if PYTHON_API_VERSION >= 1009
3444 char* tmpPtr
; int tmpSize
;
3445 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3449 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3451 _arg3
= new wxString(tmpPtr
, tmpSize
);
3453 if (!PyString_Check(_obj3
)) {
3454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3457 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3466 } _resultobj
= Py_BuildValue("l",_result
);
3474 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3475 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3478 wxPyListCtrl
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } _resultobj
= Py_BuildValue("i",_result
);
3504 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3505 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 wxPyListCtrl
* _arg0
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3536 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxPyListCtrl
* _arg0
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3567 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3570 wxPyListCtrl
* _arg0
;
3572 PyObject
* _argo0
= 0;
3573 char *_kwnames
[] = { "self","item", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3592 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3600 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3601 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3603 wxPyListCtrl
* _arg0
;
3606 PyObject
* _argo0
= 0;
3607 PyObject
* _obj2
= 0;
3608 char *_kwnames
[] = { "self","item","str", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3621 #if PYTHON_API_VERSION >= 1009
3622 char* tmpPtr
; int tmpSize
;
3623 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3627 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3629 _arg2
= new wxString(tmpPtr
, tmpSize
);
3631 if (!PyString_Check(_obj2
)) {
3632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3635 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) return NULL
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3653 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3654 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3657 wxPyListCtrl
* _arg0
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self","item", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) return NULL
;
3678 } _resultobj
= Py_BuildValue("l",_result
);
3682 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3683 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxPyListCtrl
* _arg0
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self","item","data", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3708 } _resultobj
= Py_BuildValue("i",_result
);
3712 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3713 wxPoint
* pos
= new wxPoint
;
3714 self
->GetItemPosition(item
, *pos
);
3717 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3720 wxPyListCtrl
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self","item", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) return NULL
;
3743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3744 _resultobj
= Py_BuildValue("s",_ptemp
);
3747 _resultobj
= Py_None
;
3752 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3753 wxRect
* rect
= new wxRect
;
3754 self
->GetItemRect(item
, *rect
, code
);
3757 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3760 wxPyListCtrl
* _arg0
;
3762 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self","item","code", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3785 _resultobj
= Py_BuildValue("s",_ptemp
);
3788 _resultobj
= Py_None
;
3793 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3794 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3797 wxPyListCtrl
* _arg0
;
3800 PyObject
* _argo0
= 0;
3802 PyObject
* _obj2
= 0;
3803 char *_kwnames
[] = { "self","item","pos", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3817 if (! wxPoint_helper(_obj2
, &_arg2
))
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3831 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3834 wxPyListCtrl
* _arg0
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3859 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxPyListCtrl
* _arg0
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } _resultobj
= Py_BuildValue("i",_result
);
3886 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3887 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3890 wxPyListCtrl
* _arg0
;
3892 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self","isSmall", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3906 _arg1
= (bool ) tempbool1
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3918 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxPyListCtrl
* _arg0
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "self", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3941 } _resultobj
= Py_BuildValue("i",_result
);
3945 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3946 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3949 wxPyListCtrl
* _arg0
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3970 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3971 _resultobj
= Py_BuildValue("s",_ptemp
);
3975 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3976 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3978 wxPyListCtrl
* _arg0
;
3980 PyObject
* _argo0
= 0;
3982 PyObject
* _obj1
= 0;
3983 char *_kwnames
[] = { "self","col", NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3997 if (! wxColour_helper(_obj1
, &_arg1
))
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) return NULL
;
4006 } Py_INCREF(Py_None
);
4007 _resultobj
= Py_None
;
4011 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4012 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxPyListCtrl
* _arg0
;
4016 PyObject
* _argo0
= 0;
4017 char *_kwnames
[] = { "self", NULL
};
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) return NULL
;
4035 } _resultobj
= Py_BuildValue("l",_result
);
4039 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4040 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4042 wxPyListCtrl
* _arg0
;
4044 bool _arg2
= (bool ) TRUE
;
4045 PyObject
* _argo0
= 0;
4046 int tempbool2
= (int) TRUE
;
4047 char *_kwnames
[] = { "self","style","add", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4059 _arg2
= (bool ) tempbool2
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4066 } Py_INCREF(Py_None
);
4067 _resultobj
= Py_None
;
4071 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4072 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4074 wxPyListCtrl
* _arg0
;
4076 PyObject
* _argo0
= 0;
4077 char *_kwnames
[] = { "self","style", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) return NULL
;
4095 } Py_INCREF(Py_None
);
4096 _resultobj
= Py_None
;
4100 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4101 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4104 wxPyListCtrl
* _arg0
;
4106 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4107 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } _resultobj
= Py_BuildValue("l",_result
);
4131 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4132 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4134 wxImageList
* _result
;
4135 wxPyListCtrl
* _arg0
;
4137 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self","which", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) return NULL
;
4156 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4160 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4161 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4163 wxPyListCtrl
* _arg0
;
4164 wxImageList
* _arg1
;
4166 PyObject
* _argo0
= 0;
4167 PyObject
* _argo1
= 0;
4168 char *_kwnames
[] = { "self","imageList","which", NULL
};
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) return NULL
;
4193 } Py_INCREF(Py_None
);
4194 _resultobj
= Py_None
;
4198 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4199 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4201 wxPyListCtrl
* _arg0
;
4202 wxImageList
* _arg1
;
4204 PyObject
* _argo0
= 0;
4205 PyObject
* _argo1
= 0;
4206 char *_kwnames
[] = { "self","imageList","which", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) return NULL
;
4231 } Py_INCREF(Py_None
);
4232 _resultobj
= Py_None
;
4236 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4237 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4240 wxPyListCtrl
* _arg0
;
4241 PyObject
* _argo0
= 0;
4242 char *_kwnames
[] = { "self", NULL
};
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) return NULL
;
4260 } _resultobj
= Py_BuildValue("i",_result
);
4264 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4265 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4267 wxPyListCtrl
* _arg0
;
4269 PyObject
* _argo0
= 0;
4270 char *_kwnames
[] = { "self","item", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) return NULL
;
4288 } Py_INCREF(Py_None
);
4289 _resultobj
= Py_None
;
4293 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4294 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4296 wxPyListCtrl
* _arg0
;
4299 PyObject
* _argo0
= 0;
4300 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) return NULL
;
4318 } Py_INCREF(Py_None
);
4319 _resultobj
= Py_None
;
4323 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4324 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
* _resultobj
;
4327 wxPyListCtrl
* _arg0
;
4328 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self","flag", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) return NULL
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4353 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4356 wxPyListCtrl
* _arg0
;
4358 PyObject
* _argo0
= 0;
4359 char *_kwnames
[] = { "self","item", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) return NULL
;
4377 } _resultobj
= Py_BuildValue("i",_result
);
4381 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4382 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4385 wxPyListCtrl
* _arg0
;
4386 PyObject
* _argo0
= 0;
4387 char *_kwnames
[] = { "self", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 } _resultobj
= Py_BuildValue("i",_result
);
4409 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4410 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxPyListCtrl
* _arg0
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self","col", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) return NULL
;
4434 } _resultobj
= Py_BuildValue("i",_result
);
4438 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4439 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 wxPyListCtrl
* _arg0
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } _resultobj
= Py_BuildValue("i",_result
);
4466 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4467 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxPyListCtrl
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 wxListCtrl_ClearAll(_arg0
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) return NULL
;
4489 } Py_INCREF(Py_None
);
4490 _resultobj
= Py_None
;
4494 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4495 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4498 wxPyListCtrl
* _arg0
;
4500 PyObject
* _argo0
= 0;
4501 char *_kwnames
[] = { "self","item", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) return NULL
;
4519 } _resultobj
= Py_BuildValue("i",_result
);
4523 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4524 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4527 wxPyListCtrl
* _arg0
;
4530 bool _arg3
= (bool ) FALSE
;
4531 PyObject
* _argo0
= 0;
4532 PyObject
* _obj2
= 0;
4533 int tempbool3
= (int) FALSE
;
4534 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4547 #if PYTHON_API_VERSION >= 1009
4548 char* tmpPtr
; int tmpSize
;
4549 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4550 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4553 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4555 _arg2
= new wxString(tmpPtr
, tmpSize
);
4557 if (!PyString_Check(_obj2
)) {
4558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4561 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4564 _arg3
= (bool ) tempbool3
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) return NULL
;
4571 } _resultobj
= Py_BuildValue("l",_result
);
4579 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4580 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4583 wxPyListCtrl
* _arg0
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self","start","data", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4605 } _resultobj
= Py_BuildValue("l",_result
);
4609 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4610 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
* _resultobj
;
4613 wxPyListCtrl
* _arg0
;
4617 PyObject
* _argo0
= 0;
4619 PyObject
* _obj2
= 0;
4620 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4634 if (! wxPoint_helper(_obj2
, &_arg2
))
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) return NULL
;
4643 } _resultobj
= Py_BuildValue("l",_result
);
4647 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4648 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4651 wxPyListCtrl
* _arg0
;
4655 PyObject
* _argo0
= 0;
4657 PyObject
* _obj1
= 0;
4658 char *_kwnames
[] = { "self","point", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4675 if (! wxPoint_helper(_obj1
, &_arg1
))
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } _resultobj
= Py_BuildValue("l",_result
);
4687 o
= PyInt_FromLong((long) (*_arg2
));
4688 _resultobj
= t_output_helper(_resultobj
, o
);
4693 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4694 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4697 wxPyListCtrl
* _arg0
;
4699 PyObject
* _argo0
= 0;
4700 PyObject
* _argo1
= 0;
4701 char *_kwnames
[] = { "self","info", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } _resultobj
= Py_BuildValue("l",_result
);
4730 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4731 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
* _resultobj
;
4734 wxPyListCtrl
* _arg0
;
4737 PyObject
* _argo0
= 0;
4738 PyObject
* _obj2
= 0;
4739 char *_kwnames
[] = { "self","index","label", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4752 #if PYTHON_API_VERSION >= 1009
4753 char* tmpPtr
; int tmpSize
;
4754 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4755 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4758 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4760 _arg2
= new wxString(tmpPtr
, tmpSize
);
4762 if (!PyString_Check(_obj2
)) {
4763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4766 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) return NULL
;
4775 } _resultobj
= Py_BuildValue("l",_result
);
4783 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4784 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4787 wxPyListCtrl
* _arg0
;
4790 PyObject
* _argo0
= 0;
4791 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) return NULL
;
4809 } _resultobj
= Py_BuildValue("l",_result
);
4813 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4814 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4817 wxPyListCtrl
* _arg0
;
4821 PyObject
* _argo0
= 0;
4822 PyObject
* _obj2
= 0;
4823 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4836 #if PYTHON_API_VERSION >= 1009
4837 char* tmpPtr
; int tmpSize
;
4838 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4839 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4842 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4844 _arg2
= new wxString(tmpPtr
, tmpSize
);
4846 if (!PyString_Check(_obj2
)) {
4847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4850 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } _resultobj
= Py_BuildValue("l",_result
);
4867 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4868 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4871 wxPyListCtrl
* _arg0
;
4874 PyObject
* _argo0
= 0;
4875 PyObject
* _argo2
= 0;
4876 char *_kwnames
[] = { "self","col","info", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4889 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) return NULL
;
4901 } _resultobj
= Py_BuildValue("l",_result
);
4905 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4906 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
* _resultobj
;
4909 wxPyListCtrl
* _arg0
;
4912 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4913 int _arg4
= (int ) -1;
4914 PyObject
* _argo0
= 0;
4915 PyObject
* _obj2
= 0;
4916 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4929 #if PYTHON_API_VERSION >= 1009
4930 char* tmpPtr
; int tmpSize
;
4931 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4935 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4937 _arg2
= new wxString(tmpPtr
, tmpSize
);
4939 if (!PyString_Check(_obj2
)) {
4940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4943 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } _resultobj
= Py_BuildValue("l",_result
);
4960 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4961 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
* _resultobj
;
4963 wxPyListCtrl
* _arg0
;
4965 PyObject
* _argo0
= 0;
4966 char *_kwnames
[] = { "self","count", NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) return NULL
;
4984 } Py_INCREF(Py_None
);
4985 _resultobj
= Py_None
;
4989 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4990 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4993 wxPyListCtrl
* _arg0
;
4996 PyObject
* _argo0
= 0;
4997 char *_kwnames
[] = { "self","dx","dy", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5015 } _resultobj
= Py_BuildValue("i",_result
);
5019 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5020 if (!PyCallable_Check(func
))
5022 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5024 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5027 wxPyListCtrl
* _arg0
;
5029 PyObject
* _argo0
= 0;
5030 PyObject
* _obj1
= 0;
5031 char *_kwnames
[] = { "self","func", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) return NULL
;
5052 } _resultobj
= Py_BuildValue("i",_result
);
5056 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5059 src
= (wxListView
*) ptr
;
5060 dest
= (wxPyListCtrl
*) src
;
5061 return (void *) dest
;
5064 static void *SwigwxListViewTowxControl(void *ptr
) {
5067 src
= (wxListView
*) ptr
;
5068 dest
= (wxControl
*) src
;
5069 return (void *) dest
;
5072 static void *SwigwxListViewTowxWindow(void *ptr
) {
5075 src
= (wxListView
*) ptr
;
5076 dest
= (wxWindow
*) src
;
5077 return (void *) dest
;
5080 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5083 src
= (wxListView
*) ptr
;
5084 dest
= (wxEvtHandler
*) src
;
5085 return (void *) dest
;
5088 static void *SwigwxListViewTowxObject(void *ptr
) {
5091 src
= (wxListView
*) ptr
;
5092 dest
= (wxObject
*) src
;
5093 return (void *) dest
;
5096 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5097 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5099 wxListView
* _result
;
5101 wxWindowID _arg1
= (wxWindowID
) -1;
5102 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5103 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5104 long _arg4
= (long ) (wxLC_REPORT
);
5105 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5106 wxString
* _arg6
= (wxString
*) &"listctrl";
5107 PyObject
* _argo0
= 0;
5109 PyObject
* _obj2
= 0;
5111 PyObject
* _obj3
= 0;
5112 PyObject
* _argo5
= 0;
5113 PyObject
* _obj6
= 0;
5114 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5130 if (! wxPoint_helper(_obj2
, &_arg2
))
5136 if (! wxSize_helper(_obj3
, &_arg3
))
5140 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5148 #if PYTHON_API_VERSION >= 1009
5149 char* tmpPtr
; int tmpSize
;
5150 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5154 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5156 _arg6
= new wxString(tmpPtr
, tmpSize
);
5158 if (!PyString_Check(_obj6
)) {
5159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5162 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) return NULL
;
5172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5173 _resultobj
= Py_BuildValue("s",_ptemp
);
5176 _resultobj
= Py_None
;
5185 #define new_wxPreListView() (new wxListView())
5186 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5188 wxListView
* _result
;
5189 char *_kwnames
[] = { NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 _result
= (wxListView
*)new_wxPreListView();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) return NULL
;
5202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5203 _resultobj
= Py_BuildValue("s",_ptemp
);
5206 _resultobj
= Py_None
;
5211 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5212 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5217 wxWindowID _arg2
= (wxWindowID
) -1;
5218 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5219 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5220 long _arg5
= (long ) (wxLC_REPORT
);
5221 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5222 wxString
* _arg7
= (wxString
*) &"listctrl";
5223 PyObject
* _argo0
= 0;
5224 PyObject
* _argo1
= 0;
5226 PyObject
* _obj3
= 0;
5228 PyObject
* _obj4
= 0;
5229 PyObject
* _argo6
= 0;
5230 PyObject
* _obj7
= 0;
5231 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5253 if (! wxPoint_helper(_obj3
, &_arg3
))
5259 if (! wxSize_helper(_obj4
, &_arg4
))
5263 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5271 #if PYTHON_API_VERSION >= 1009
5272 char* tmpPtr
; int tmpSize
;
5273 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5277 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5279 _arg7
= new wxString(tmpPtr
, tmpSize
);
5281 if (!PyString_Check(_obj7
)) {
5282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5285 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) return NULL
;
5294 } _resultobj
= Py_BuildValue("i",_result
);
5302 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5303 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5307 bool _arg2
= (bool ) TRUE
;
5308 PyObject
* _argo0
= 0;
5309 int tempbool2
= (int) TRUE
;
5310 char *_kwnames
[] = { "self","n","on", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5322 _arg2
= (bool ) tempbool2
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 wxListView_Select(_arg0
,_arg1
,_arg2
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) return NULL
;
5329 } Py_INCREF(Py_None
);
5330 _resultobj
= Py_None
;
5334 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5335 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self","index", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxListView_Focus(_arg0
,_arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5364 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 } _resultobj
= Py_BuildValue("l",_result
);
5391 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5392 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5397 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self","item", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5416 } _resultobj
= Py_BuildValue("l",_result
);
5420 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5421 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) return NULL
;
5444 } _resultobj
= Py_BuildValue("l",_result
);
5448 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5449 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5454 PyObject
* _argo0
= 0;
5455 char *_kwnames
[] = { "self","index", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) return NULL
;
5473 } _resultobj
= Py_BuildValue("i",_result
);
5477 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5478 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5483 PyObject
* _argo0
= 0;
5484 char *_kwnames
[] = { "self","col","image", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) return NULL
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5508 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self","col", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 wxListView_ClearColumnImage(_arg0
,_arg1
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5531 } Py_INCREF(Py_None
);
5532 _resultobj
= Py_None
;
5536 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5537 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5539 wxTreeItemAttr
* _result
;
5540 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5541 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5542 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5544 PyObject
* _obj0
= 0;
5546 PyObject
* _obj1
= 0;
5547 PyObject
* _argo2
= 0;
5548 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5557 if (! wxColour_helper(_obj0
, &_arg0
))
5563 if (! wxColour_helper(_obj1
, &_arg1
))
5567 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) return NULL
;
5580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5581 _resultobj
= Py_BuildValue("s",_ptemp
);
5584 _resultobj
= Py_None
;
5589 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5590 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
* _resultobj
;
5592 wxTreeItemAttr
* _arg0
;
5594 PyObject
* _argo0
= 0;
5596 PyObject
* _obj1
= 0;
5597 char *_kwnames
[] = { "self","colText", NULL
};
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5611 if (! wxColour_helper(_obj1
, &_arg1
))
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5620 } Py_INCREF(Py_None
);
5621 _resultobj
= Py_None
;
5625 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5626 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5628 wxTreeItemAttr
* _arg0
;
5630 PyObject
* _argo0
= 0;
5632 PyObject
* _obj1
= 0;
5633 char *_kwnames
[] = { "self","colBack", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5647 if (! wxColour_helper(_obj1
, &_arg1
))
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) return NULL
;
5656 } Py_INCREF(Py_None
);
5657 _resultobj
= Py_None
;
5661 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5662 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5664 wxTreeItemAttr
* _arg0
;
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _argo1
= 0;
5668 char *_kwnames
[] = { "self","font", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) return NULL
;
5693 } Py_INCREF(Py_None
);
5694 _resultobj
= Py_None
;
5698 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5699 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5702 wxTreeItemAttr
* _arg0
;
5703 PyObject
* _argo0
= 0;
5704 char *_kwnames
[] = { "self", NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) return NULL
;
5722 } _resultobj
= Py_BuildValue("i",_result
);
5726 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5727 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 wxTreeItemAttr
* _arg0
;
5731 PyObject
* _argo0
= 0;
5732 char *_kwnames
[] = { "self", NULL
};
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) return NULL
;
5750 } _resultobj
= Py_BuildValue("i",_result
);
5754 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5755 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5758 wxTreeItemAttr
* _arg0
;
5759 PyObject
* _argo0
= 0;
5760 char *_kwnames
[] = { "self", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) return NULL
;
5778 } _resultobj
= Py_BuildValue("i",_result
);
5782 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5783 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5786 wxTreeItemAttr
* _arg0
;
5787 PyObject
* _argo0
= 0;
5788 char *_kwnames
[] = { "self", NULL
};
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) return NULL
;
5807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5808 _resultobj
= Py_BuildValue("s",_ptemp
);
5812 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5813 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
* _resultobj
;
5816 wxTreeItemAttr
* _arg0
;
5817 PyObject
* _argo0
= 0;
5818 char *_kwnames
[] = { "self", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) return NULL
;
5837 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5838 _resultobj
= Py_BuildValue("s",_ptemp
);
5842 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5843 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5846 wxTreeItemAttr
* _arg0
;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) return NULL
;
5867 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5868 _resultobj
= Py_BuildValue("s",_ptemp
);
5872 #define new_wxTreeItemId() (new wxTreeItemId())
5873 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5875 wxTreeItemId
* _result
;
5876 char *_kwnames
[] = { NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5890 _resultobj
= Py_BuildValue("s",_ptemp
);
5893 _resultobj
= Py_None
;
5898 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5899 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5901 wxTreeItemId
* _arg0
;
5902 PyObject
* _argo0
= 0;
5903 char *_kwnames
[] = { "self", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 delete_wxTreeItemId(_arg0
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5926 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5927 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5930 wxTreeItemId
* _arg0
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5950 } _resultobj
= Py_BuildValue("i",_result
);
5954 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5955 if (! other
) return -1;
5956 return *self
!= *other
;
5958 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
* _resultobj
;
5961 wxTreeItemId
* _arg0
;
5962 wxTreeItemId
* _arg1
;
5963 PyObject
* _argo0
= 0;
5964 PyObject
* _argo1
= 0;
5965 char *_kwnames
[] = { "self","other", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) return NULL
;
5990 } _resultobj
= Py_BuildValue("i",_result
);
5994 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5995 wxPyTreeItemData
*src
;
5997 src
= (wxPyTreeItemData
*) ptr
;
5998 dest
= (wxObject
*) src
;
5999 return (void *) dest
;
6002 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6003 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6005 wxPyTreeItemData
* _result
;
6006 PyObject
* _arg0
= (PyObject
*) NULL
;
6007 PyObject
* _obj0
= 0;
6008 char *_kwnames
[] = { "obj", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) return NULL
;
6025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6026 _resultobj
= Py_BuildValue("s",_ptemp
);
6029 _resultobj
= Py_None
;
6034 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6035 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6038 wxPyTreeItemData
* _arg0
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) return NULL
;
6059 _resultobj
= _result
;
6064 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6065 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6067 wxPyTreeItemData
* _arg0
;
6069 PyObject
* _argo0
= 0;
6070 PyObject
* _obj1
= 0;
6071 char *_kwnames
[] = { "self","obj", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 wxTreeItemData_SetData(_arg0
,_arg1
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) return NULL
;
6092 } Py_INCREF(Py_None
);
6093 _resultobj
= Py_None
;
6097 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6098 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxTreeItemId
* _result
;
6101 wxPyTreeItemData
* _arg0
;
6102 PyObject
* _argo0
= 0;
6103 char *_kwnames
[] = { "self", NULL
};
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6119 _result
= (wxTreeItemId
*) &_result_ref
;
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) return NULL
;
6124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6125 _resultobj
= Py_BuildValue("s",_ptemp
);
6128 _resultobj
= Py_None
;
6133 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6134 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6136 wxPyTreeItemData
* _arg0
;
6137 wxTreeItemId
* _arg1
;
6138 PyObject
* _argo0
= 0;
6139 PyObject
* _argo1
= 0;
6140 char *_kwnames
[] = { "self","id", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 wxTreeItemData_SetId(_arg0
,*_arg1
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) return NULL
;
6165 } Py_INCREF(Py_None
);
6166 _resultobj
= Py_None
;
6170 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6172 wxNotifyEvent
*dest
;
6173 src
= (wxTreeEvent
*) ptr
;
6174 dest
= (wxNotifyEvent
*) src
;
6175 return (void *) dest
;
6178 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6180 wxCommandEvent
*dest
;
6181 src
= (wxTreeEvent
*) ptr
;
6182 dest
= (wxCommandEvent
*) src
;
6183 return (void *) dest
;
6186 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6189 src
= (wxTreeEvent
*) ptr
;
6190 dest
= (wxEvent
*) src
;
6191 return (void *) dest
;
6194 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6197 src
= (wxTreeEvent
*) ptr
;
6198 dest
= (wxObject
*) src
;
6199 return (void *) dest
;
6202 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6203 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6205 wxTreeEvent
* _result
;
6206 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6207 int _arg1
= (int ) 0;
6208 char *_kwnames
[] = { "commandType","id", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) return NULL
;
6221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6222 _resultobj
= Py_BuildValue("s",_ptemp
);
6225 _resultobj
= Py_None
;
6230 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6231 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
* _resultobj
;
6233 wxTreeItemId
* _result
;
6234 wxTreeEvent
* _arg0
;
6235 PyObject
* _argo0
= 0;
6236 char *_kwnames
[] = { "self", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6255 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6256 _resultobj
= Py_BuildValue("s",_ptemp
);
6260 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6261 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6263 wxTreeItemId
* _result
;
6264 wxTreeEvent
* _arg0
;
6265 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) return NULL
;
6285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6286 _resultobj
= Py_BuildValue("s",_ptemp
);
6290 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6291 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6294 wxTreeEvent
* _arg0
;
6295 PyObject
* _argo0
= 0;
6296 char *_kwnames
[] = { "self", NULL
};
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) return NULL
;
6315 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6316 _resultobj
= Py_BuildValue("s",_ptemp
);
6320 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6321 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxKeyEvent
* _result
;
6324 wxTreeEvent
* _arg0
;
6325 PyObject
* _argo0
= 0;
6326 char *_kwnames
[] = { "self", NULL
};
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6342 _result
= (wxKeyEvent
*) &_result_ref
;
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6348 _resultobj
= Py_BuildValue("s",_ptemp
);
6351 _resultobj
= Py_None
;
6356 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6357 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
* _resultobj
;
6360 wxTreeEvent
* _arg0
;
6361 PyObject
* _argo0
= 0;
6362 char *_kwnames
[] = { "self", NULL
};
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) return NULL
;
6380 } _resultobj
= Py_BuildValue("i",_result
);
6384 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6385 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
* _resultobj
;
6388 wxTreeEvent
* _arg0
;
6389 PyObject
* _argo0
= 0;
6390 char *_kwnames
[] = { "self", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6405 _result
= (wxString
*) &_result_ref
;
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) return NULL
;
6410 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6415 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6418 src
= (wxPyTreeCtrl
*) ptr
;
6419 dest
= (wxControl
*) src
;
6420 return (void *) dest
;
6423 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6426 src
= (wxPyTreeCtrl
*) ptr
;
6427 dest
= (wxWindow
*) src
;
6428 return (void *) dest
;
6431 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6434 src
= (wxPyTreeCtrl
*) ptr
;
6435 dest
= (wxEvtHandler
*) src
;
6436 return (void *) dest
;
6439 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6442 src
= (wxPyTreeCtrl
*) ptr
;
6443 dest
= (wxObject
*) src
;
6444 return (void *) dest
;
6447 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6448 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6450 wxPyTreeCtrl
* _result
;
6452 wxWindowID _arg1
= (wxWindowID
) -1;
6453 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6454 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6455 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6456 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6457 char * _arg6
= (char *) "wxTreeCtrl";
6458 PyObject
* _argo0
= 0;
6460 PyObject
* _obj2
= 0;
6462 PyObject
* _obj3
= 0;
6463 PyObject
* _argo5
= 0;
6464 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6480 if (! wxPoint_helper(_obj2
, &_arg2
))
6486 if (! wxSize_helper(_obj3
, &_arg3
))
6490 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) return NULL
;
6503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6504 _resultobj
= Py_BuildValue("s",_ptemp
);
6507 _resultobj
= Py_None
;
6512 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6513 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6515 wxPyTreeCtrl
* _result
;
6516 char *_kwnames
[] = { NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) return NULL
;
6529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6530 _resultobj
= Py_BuildValue("s",_ptemp
);
6533 _resultobj
= Py_None
;
6538 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6539 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6542 wxPyTreeCtrl
* _arg0
;
6544 wxWindowID _arg2
= (wxWindowID
) -1;
6545 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6546 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6547 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6548 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6549 char * _arg7
= (char *) "wxTreeCtrl";
6550 PyObject
* _argo0
= 0;
6551 PyObject
* _argo1
= 0;
6553 PyObject
* _obj3
= 0;
6555 PyObject
* _obj4
= 0;
6556 PyObject
* _argo6
= 0;
6557 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6579 if (! wxPoint_helper(_obj3
, &_arg3
))
6585 if (! wxSize_helper(_obj4
, &_arg4
))
6589 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) return NULL
;
6601 } _resultobj
= Py_BuildValue("i",_result
);
6605 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6606 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
* _resultobj
;
6608 wxPyTreeCtrl
* _arg0
;
6611 PyObject
* _argo0
= 0;
6612 PyObject
* _obj1
= 0;
6613 PyObject
* _obj2
= 0;
6614 char *_kwnames
[] = { "self","self","_class", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) return NULL
;
6638 } Py_INCREF(Py_None
);
6639 _resultobj
= Py_None
;
6643 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6644 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6647 wxPyTreeCtrl
* _arg0
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6667 } _resultobj
= Py_BuildValue("i",_result
);
6671 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6672 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6674 unsigned int _result
;
6675 wxPyTreeCtrl
* _arg0
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) return NULL
;
6695 } _resultobj
= Py_BuildValue("i",_result
);
6699 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6700 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6702 wxPyTreeCtrl
* _arg0
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self","indent", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) return NULL
;
6723 } Py_INCREF(Py_None
);
6724 _resultobj
= Py_None
;
6728 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6729 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
* _resultobj
;
6731 wxImageList
* _result
;
6732 wxPyTreeCtrl
* _arg0
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6756 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6757 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6759 wxImageList
* _result
;
6760 wxPyTreeCtrl
* _arg0
;
6761 PyObject
* _argo0
= 0;
6762 char *_kwnames
[] = { "self", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) return NULL
;
6780 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6784 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6785 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6787 wxPyTreeCtrl
* _arg0
;
6788 wxImageList
* _arg1
;
6789 PyObject
* _argo0
= 0;
6790 PyObject
* _argo1
= 0;
6791 char *_kwnames
[] = { "self","imageList", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) return NULL
;
6816 } Py_INCREF(Py_None
);
6817 _resultobj
= Py_None
;
6821 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6822 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6824 wxPyTreeCtrl
* _arg0
;
6825 wxImageList
* _arg1
;
6826 PyObject
* _argo0
= 0;
6827 PyObject
* _argo1
= 0;
6828 char *_kwnames
[] = { "self","imageList", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6841 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) return NULL
;
6853 } Py_INCREF(Py_None
);
6854 _resultobj
= Py_None
;
6858 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6859 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
* _resultobj
;
6861 wxPyTreeCtrl
* _arg0
;
6862 wxImageList
* _arg1
;
6863 PyObject
* _argo0
= 0;
6864 PyObject
* _argo1
= 0;
6865 char *_kwnames
[] = { "self","imageList", NULL
};
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) return NULL
;
6890 } Py_INCREF(Py_None
);
6891 _resultobj
= Py_None
;
6895 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6896 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6898 wxPyTreeCtrl
* _arg0
;
6899 wxImageList
* _arg1
;
6900 PyObject
* _argo0
= 0;
6901 PyObject
* _argo1
= 0;
6902 char *_kwnames
[] = { "self","imageList", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) return NULL
;
6927 } Py_INCREF(Py_None
);
6928 _resultobj
= Py_None
;
6932 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6933 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6935 unsigned int _result
;
6936 wxPyTreeCtrl
* _arg0
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) return NULL
;
6956 } _resultobj
= Py_BuildValue("i",_result
);
6960 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6961 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6963 wxPyTreeCtrl
* _arg0
;
6965 PyObject
* _argo0
= 0;
6966 char *_kwnames
[] = { "self","spacing", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6984 } Py_INCREF(Py_None
);
6985 _resultobj
= Py_None
;
6989 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6990 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
* _resultobj
;
6993 wxPyTreeCtrl
* _arg0
;
6994 wxTreeItemId
* _arg1
;
6995 PyObject
* _argo0
= 0;
6996 PyObject
* _argo1
= 0;
6997 char *_kwnames
[] = { "self","item", NULL
};
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7010 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) return NULL
;
7023 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7031 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7032 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
* _resultobj
;
7035 wxPyTreeCtrl
* _arg0
;
7036 wxTreeItemId
* _arg1
;
7037 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 char *_kwnames
[] = { "self","item","which", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7065 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7070 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7073 wxPyTreeCtrl
* _arg0
;
7074 wxTreeItemId
* _arg1
;
7075 PyObject
* _argo0
= 0;
7076 PyObject
* _argo1
= 0;
7077 char *_kwnames
[] = { "self","item", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) return NULL
;
7102 } _resultobj
= Py_BuildValue("i",_result
);
7106 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7107 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
* _resultobj
;
7109 wxPyTreeCtrl
* _arg0
;
7110 wxTreeItemId
* _arg1
;
7112 PyObject
* _argo0
= 0;
7113 PyObject
* _argo1
= 0;
7114 PyObject
* _obj2
= 0;
7115 char *_kwnames
[] = { "self","item","text", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7135 #if PYTHON_API_VERSION >= 1009
7136 char* tmpPtr
; int tmpSize
;
7137 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7141 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7143 _arg2
= new wxString(tmpPtr
, tmpSize
);
7145 if (!PyString_Check(_obj2
)) {
7146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7149 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) return NULL
;
7158 } Py_INCREF(Py_None
);
7159 _resultobj
= Py_None
;
7167 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7168 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
* _resultobj
;
7170 wxPyTreeCtrl
* _arg0
;
7171 wxTreeItemId
* _arg1
;
7173 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7174 PyObject
* _argo0
= 0;
7175 PyObject
* _argo1
= 0;
7176 char *_kwnames
[] = { "self","item","image","which", NULL
};
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) return NULL
;
7201 } Py_INCREF(Py_None
);
7202 _resultobj
= Py_None
;
7206 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7207 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7209 wxPyTreeCtrl
* _arg0
;
7210 wxTreeItemId
* _arg1
;
7212 PyObject
* _argo0
= 0;
7213 PyObject
* _argo1
= 0;
7214 char *_kwnames
[] = { "self","item","image", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) return NULL
;
7239 } Py_INCREF(Py_None
);
7240 _resultobj
= Py_None
;
7244 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7245 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
* _resultobj
;
7247 wxPyTreeCtrl
* _arg0
;
7248 wxTreeItemId
* _arg1
;
7249 bool _arg2
= (bool ) TRUE
;
7250 PyObject
* _argo0
= 0;
7251 PyObject
* _argo1
= 0;
7252 int tempbool2
= (int) TRUE
;
7253 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7272 _arg2
= (bool ) tempbool2
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) return NULL
;
7279 } Py_INCREF(Py_None
);
7280 _resultobj
= Py_None
;
7284 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7285 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7287 data
= new wxPyTreeItemData();
7288 data
->SetId(item
); // set the id
7289 self
->SetItemData(item
, data
);
7293 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7295 wxPyTreeItemData
* _result
;
7296 wxPyTreeCtrl
* _arg0
;
7297 wxTreeItemId
* _arg1
;
7298 PyObject
* _argo0
= 0;
7299 PyObject
* _argo1
= 0;
7300 char *_kwnames
[] = { "self","item", NULL
};
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) return NULL
;
7327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7328 _resultobj
= Py_BuildValue("s",_ptemp
);
7331 _resultobj
= Py_None
;
7336 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7337 data
->SetId(item
); // set the id
7338 self
->SetItemData(item
, data
);
7340 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7342 wxPyTreeCtrl
* _arg0
;
7343 wxTreeItemId
* _arg1
;
7344 wxPyTreeItemData
* _arg2
;
7345 PyObject
* _argo0
= 0;
7346 PyObject
* _argo1
= 0;
7347 PyObject
* _argo2
= 0;
7348 char *_kwnames
[] = { "self","item","data", NULL
};
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7368 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) return NULL
;
7380 } Py_INCREF(Py_None
);
7381 _resultobj
= Py_None
;
7385 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7386 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7388 data
= new wxPyTreeItemData();
7389 data
->SetId(item
); // set the id
7390 self
->SetItemData(item
, data
);
7392 return data
->GetData();
7394 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
* _resultobj
;
7397 wxPyTreeCtrl
* _arg0
;
7398 wxTreeItemId
* _arg1
;
7399 PyObject
* _argo0
= 0;
7400 PyObject
* _argo1
= 0;
7401 char *_kwnames
[] = { "self","item", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) return NULL
;
7427 _resultobj
= _result
;
7432 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7433 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7435 data
= new wxPyTreeItemData(obj
);
7436 data
->SetId(item
); // set the id
7437 self
->SetItemData(item
, data
);
7441 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
* _resultobj
;
7443 wxPyTreeCtrl
* _arg0
;
7444 wxTreeItemId
* _arg1
;
7446 PyObject
* _argo0
= 0;
7447 PyObject
* _argo1
= 0;
7448 PyObject
* _obj2
= 0;
7449 char *_kwnames
[] = { "self","item","obj", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) return NULL
;
7477 } Py_INCREF(Py_None
);
7478 _resultobj
= Py_None
;
7482 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7483 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7486 wxPyTreeCtrl
* _arg0
;
7487 wxTreeItemId
* _arg1
;
7488 PyObject
* _argo0
= 0;
7489 PyObject
* _argo1
= 0;
7490 char *_kwnames
[] = { "self","item", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) return NULL
;
7515 } _resultobj
= Py_BuildValue("i",_result
);
7519 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7520 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7523 wxPyTreeCtrl
* _arg0
;
7524 wxTreeItemId
* _arg1
;
7525 PyObject
* _argo0
= 0;
7526 PyObject
* _argo1
= 0;
7527 char *_kwnames
[] = { "self","item", NULL
};
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) return NULL
;
7552 } _resultobj
= Py_BuildValue("i",_result
);
7556 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7557 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7560 wxPyTreeCtrl
* _arg0
;
7561 wxTreeItemId
* _arg1
;
7562 PyObject
* _argo0
= 0;
7563 PyObject
* _argo1
= 0;
7564 char *_kwnames
[] = { "self","item", NULL
};
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) return NULL
;
7589 } _resultobj
= Py_BuildValue("i",_result
);
7593 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7594 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
* _resultobj
;
7597 wxPyTreeCtrl
* _arg0
;
7598 wxTreeItemId
* _arg1
;
7599 PyObject
* _argo0
= 0;
7600 PyObject
* _argo1
= 0;
7601 char *_kwnames
[] = { "self","item", NULL
};
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) return NULL
;
7626 } _resultobj
= Py_BuildValue("i",_result
);
7630 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7631 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7633 wxTreeItemId
* _result
;
7634 wxPyTreeCtrl
* _arg0
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) return NULL
;
7655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7656 _resultobj
= Py_BuildValue("s",_ptemp
);
7660 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7661 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7663 wxTreeItemId
* _result
;
7664 wxPyTreeCtrl
* _arg0
;
7665 PyObject
* _argo0
= 0;
7666 char *_kwnames
[] = { "self", NULL
};
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) return NULL
;
7685 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7686 _resultobj
= Py_BuildValue("s",_ptemp
);
7690 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7691 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7693 wxTreeItemId
* _result
;
7694 wxPyTreeCtrl
* _arg0
;
7695 wxTreeItemId
* _arg1
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7698 char *_kwnames
[] = { "self","item", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) return NULL
;
7724 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7725 _resultobj
= Py_BuildValue("s",_ptemp
);
7729 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7730 wxPyBeginBlockThreads();
7731 PyObject
* rval
= PyList_New(0);
7732 wxArrayTreeItemIds array
;
7734 num
= self
->GetSelections(array
);
7735 for (x
=0; x
< num
; x
++) {
7736 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7737 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7738 PyList_Append(rval
, item
);
7740 wxPyEndBlockThreads();
7743 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7746 wxPyTreeCtrl
* _arg0
;
7747 PyObject
* _argo0
= 0;
7748 char *_kwnames
[] = { "self", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) return NULL
;
7767 _resultobj
= _result
;
7772 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7773 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
* _resultobj
;
7776 wxPyTreeCtrl
* _arg0
;
7777 wxTreeItemId
* _arg1
;
7778 bool _arg2
= (bool ) TRUE
;
7779 PyObject
* _argo0
= 0;
7780 PyObject
* _argo1
= 0;
7781 int tempbool2
= (int) TRUE
;
7782 char *_kwnames
[] = { "self","item","recursively", NULL
};
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7801 _arg2
= (bool ) tempbool2
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) return NULL
;
7808 } _resultobj
= Py_BuildValue("i",_result
);
7812 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7813 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7815 wxTreeItemId
* _result
;
7816 wxPyTreeCtrl
* _arg0
;
7817 wxTreeItemId
* _arg1
;
7819 PyObject
* _argo0
= 0;
7820 PyObject
* _argo1
= 0;
7822 PyObject
* _obj2
= 0;
7823 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7844 temp
= (long) PyInt_AsLong(_obj2
);
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) return NULL
;
7853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7854 _resultobj
= Py_BuildValue("s",_ptemp
);
7857 o
= PyInt_FromLong((long) (*_arg2
));
7858 _resultobj
= t_output_helper(_resultobj
, o
);
7863 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7864 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7866 wxTreeItemId
* _result
;
7867 wxPyTreeCtrl
* _arg0
;
7868 wxTreeItemId
* _arg1
;
7870 PyObject
* _argo0
= 0;
7871 PyObject
* _argo1
= 0;
7873 PyObject
* _obj2
= 0;
7874 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7895 temp
= (long) PyInt_AsLong(_obj2
);
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) return NULL
;
7904 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7905 _resultobj
= Py_BuildValue("s",_ptemp
);
7908 o
= PyInt_FromLong((long) (*_arg2
));
7909 _resultobj
= t_output_helper(_resultobj
, o
);
7914 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7915 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
* _resultobj
;
7917 wxTreeItemId
* _result
;
7918 wxPyTreeCtrl
* _arg0
;
7919 wxTreeItemId
* _arg1
;
7920 PyObject
* _argo0
= 0;
7921 PyObject
* _argo1
= 0;
7922 char *_kwnames
[] = { "self","item", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) return NULL
;
7948 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7949 _resultobj
= Py_BuildValue("s",_ptemp
);
7953 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7954 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
* _resultobj
;
7956 wxTreeItemId
* _result
;
7957 wxPyTreeCtrl
* _arg0
;
7958 wxTreeItemId
* _arg1
;
7959 PyObject
* _argo0
= 0;
7960 PyObject
* _argo1
= 0;
7961 char *_kwnames
[] = { "self","item", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) return NULL
;
7987 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7988 _resultobj
= Py_BuildValue("s",_ptemp
);
7992 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7993 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
7995 wxTreeItemId
* _result
;
7996 wxPyTreeCtrl
* _arg0
;
7997 PyObject
* _argo0
= 0;
7998 char *_kwnames
[] = { "self", NULL
};
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) return NULL
;
8017 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8018 _resultobj
= Py_BuildValue("s",_ptemp
);
8022 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8023 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
* _resultobj
;
8025 wxTreeItemId
* _result
;
8026 wxPyTreeCtrl
* _arg0
;
8027 wxTreeItemId
* _arg1
;
8028 PyObject
* _argo0
= 0;
8029 PyObject
* _argo1
= 0;
8030 char *_kwnames
[] = { "self","item", NULL
};
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8056 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8057 _resultobj
= Py_BuildValue("s",_ptemp
);
8061 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8062 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
* _resultobj
;
8064 wxTreeItemId
* _result
;
8065 wxPyTreeCtrl
* _arg0
;
8066 wxTreeItemId
* _arg1
;
8067 PyObject
* _argo0
= 0;
8068 PyObject
* _argo1
= 0;
8069 char *_kwnames
[] = { "self","item", NULL
};
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8083 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8084 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) return NULL
;
8095 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8096 _resultobj
= Py_BuildValue("s",_ptemp
);
8100 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8101 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
* _resultobj
;
8103 wxTreeItemId
* _result
;
8104 wxPyTreeCtrl
* _arg0
;
8105 wxTreeItemId
* _arg1
;
8106 PyObject
* _argo0
= 0;
8107 PyObject
* _argo1
= 0;
8108 char *_kwnames
[] = { "self","item", NULL
};
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) return NULL
;
8134 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8135 _resultobj
= Py_BuildValue("s",_ptemp
);
8139 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8140 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
* _resultobj
;
8142 wxTreeItemId
* _result
;
8143 wxPyTreeCtrl
* _arg0
;
8145 int _arg2
= (int ) -1;
8146 int _arg3
= (int ) -1;
8147 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8148 PyObject
* _argo0
= 0;
8149 PyObject
* _obj1
= 0;
8150 PyObject
* _argo4
= 0;
8151 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8165 #if PYTHON_API_VERSION >= 1009
8166 char* tmpPtr
; int tmpSize
;
8167 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8171 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8173 _arg1
= new wxString(tmpPtr
, tmpSize
);
8175 if (!PyString_Check(_obj1
)) {
8176 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8179 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8183 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) return NULL
;
8195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8196 _resultobj
= Py_BuildValue("s",_ptemp
);
8204 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8205 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
* _resultobj
;
8207 wxTreeItemId
* _result
;
8208 wxPyTreeCtrl
* _arg0
;
8209 wxTreeItemId
* _arg1
;
8211 int _arg3
= (int ) -1;
8212 int _arg4
= (int ) -1;
8213 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8214 PyObject
* _argo0
= 0;
8215 PyObject
* _argo1
= 0;
8216 PyObject
* _obj2
= 0;
8217 PyObject
* _argo5
= 0;
8218 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8239 #if PYTHON_API_VERSION >= 1009
8240 char* tmpPtr
; int tmpSize
;
8241 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8245 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8247 _arg2
= new wxString(tmpPtr
, tmpSize
);
8249 if (!PyString_Check(_obj2
)) {
8250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8253 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8257 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8258 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) return NULL
;
8269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8270 _resultobj
= Py_BuildValue("s",_ptemp
);
8278 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8279 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
* _resultobj
;
8281 wxTreeItemId
* _result
;
8282 wxPyTreeCtrl
* _arg0
;
8283 wxTreeItemId
* _arg1
;
8284 wxTreeItemId
* _arg2
;
8286 int _arg4
= (int ) -1;
8287 int _arg5
= (int ) -1;
8288 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8289 PyObject
* _argo0
= 0;
8290 PyObject
* _argo1
= 0;
8291 PyObject
* _argo2
= 0;
8292 PyObject
* _obj3
= 0;
8293 PyObject
* _argo6
= 0;
8294 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8315 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8322 #if PYTHON_API_VERSION >= 1009
8323 char* tmpPtr
; int tmpSize
;
8324 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8328 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8330 _arg3
= new wxString(tmpPtr
, tmpSize
);
8332 if (!PyString_Check(_obj3
)) {
8333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8336 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8340 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8341 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) return NULL
;
8352 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8353 _resultobj
= Py_BuildValue("s",_ptemp
);
8361 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8362 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
* _resultobj
;
8364 wxTreeItemId
* _result
;
8365 wxPyTreeCtrl
* _arg0
;
8366 wxTreeItemId
* _arg1
;
8369 int _arg4
= (int ) -1;
8370 int _arg5
= (int ) -1;
8371 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8372 PyObject
* _argo0
= 0;
8373 PyObject
* _argo1
= 0;
8374 PyObject
* _obj3
= 0;
8375 PyObject
* _argo6
= 0;
8376 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8397 #if PYTHON_API_VERSION >= 1009
8398 char* tmpPtr
; int tmpSize
;
8399 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8403 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8405 _arg3
= new wxString(tmpPtr
, tmpSize
);
8407 if (!PyString_Check(_obj3
)) {
8408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8411 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8415 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8416 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) return NULL
;
8427 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8428 _resultobj
= Py_BuildValue("s",_ptemp
);
8436 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8437 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
* _resultobj
;
8439 wxTreeItemId
* _result
;
8440 wxPyTreeCtrl
* _arg0
;
8441 wxTreeItemId
* _arg1
;
8443 int _arg3
= (int ) -1;
8444 int _arg4
= (int ) -1;
8445 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8446 PyObject
* _argo0
= 0;
8447 PyObject
* _argo1
= 0;
8448 PyObject
* _obj2
= 0;
8449 PyObject
* _argo5
= 0;
8450 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8471 #if PYTHON_API_VERSION >= 1009
8472 char* tmpPtr
; int tmpSize
;
8473 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8477 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8479 _arg2
= new wxString(tmpPtr
, tmpSize
);
8481 if (!PyString_Check(_obj2
)) {
8482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8485 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8489 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) return NULL
;
8501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8502 _resultobj
= Py_BuildValue("s",_ptemp
);
8510 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8511 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
* _resultobj
;
8513 wxPyTreeCtrl
* _arg0
;
8514 wxTreeItemId
* _arg1
;
8515 PyObject
* _argo0
= 0;
8516 PyObject
* _argo1
= 0;
8517 char *_kwnames
[] = { "self","item", NULL
};
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) return NULL
;
8542 } Py_INCREF(Py_None
);
8543 _resultobj
= Py_None
;
8547 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8548 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
* _resultobj
;
8550 wxPyTreeCtrl
* _arg0
;
8551 wxTreeItemId
* _arg1
;
8552 PyObject
* _argo0
= 0;
8553 PyObject
* _argo1
= 0;
8554 char *_kwnames
[] = { "self","item", NULL
};
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) return NULL
;
8579 } Py_INCREF(Py_None
);
8580 _resultobj
= Py_None
;
8584 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8585 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
* _resultobj
;
8587 wxPyTreeCtrl
* _arg0
;
8588 PyObject
* _argo0
= 0;
8589 char *_kwnames
[] = { "self", NULL
};
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 wxTreeCtrl_DeleteAllItems(_arg0
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) return NULL
;
8607 } Py_INCREF(Py_None
);
8608 _resultobj
= Py_None
;
8612 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8613 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
* _resultobj
;
8615 wxPyTreeCtrl
* _arg0
;
8616 wxTreeItemId
* _arg1
;
8617 PyObject
* _argo0
= 0;
8618 PyObject
* _argo1
= 0;
8619 char *_kwnames
[] = { "self","item", NULL
};
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) return NULL
;
8644 } Py_INCREF(Py_None
);
8645 _resultobj
= Py_None
;
8649 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8650 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
* _resultobj
;
8652 wxPyTreeCtrl
* _arg0
;
8653 wxTreeItemId
* _arg1
;
8654 PyObject
* _argo0
= 0;
8655 PyObject
* _argo1
= 0;
8656 char *_kwnames
[] = { "self","item", NULL
};
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) return NULL
;
8681 } Py_INCREF(Py_None
);
8682 _resultobj
= Py_None
;
8686 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8687 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
* _resultobj
;
8689 wxPyTreeCtrl
* _arg0
;
8690 wxTreeItemId
* _arg1
;
8691 PyObject
* _argo0
= 0;
8692 PyObject
* _argo1
= 0;
8693 char *_kwnames
[] = { "self","item", NULL
};
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) return NULL
;
8718 } Py_INCREF(Py_None
);
8719 _resultobj
= Py_None
;
8723 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8724 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
* _resultobj
;
8726 wxPyTreeCtrl
* _arg0
;
8727 wxTreeItemId
* _arg1
;
8728 PyObject
* _argo0
= 0;
8729 PyObject
* _argo1
= 0;
8730 char *_kwnames
[] = { "self","item", NULL
};
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) return NULL
;
8755 } Py_INCREF(Py_None
);
8756 _resultobj
= Py_None
;
8760 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8761 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8763 wxPyTreeCtrl
* _arg0
;
8764 PyObject
* _argo0
= 0;
8765 char *_kwnames
[] = { "self", NULL
};
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxTreeCtrl_Unselect(_arg0
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } Py_INCREF(Py_None
);
8784 _resultobj
= Py_None
;
8788 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8789 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8791 wxPyTreeCtrl
* _arg0
;
8792 PyObject
* _argo0
= 0;
8793 char *_kwnames
[] = { "self", NULL
};
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 wxTreeCtrl_UnselectAll(_arg0
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) return NULL
;
8811 } Py_INCREF(Py_None
);
8812 _resultobj
= Py_None
;
8816 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8817 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8819 wxPyTreeCtrl
* _arg0
;
8820 wxTreeItemId
* _arg1
;
8821 PyObject
* _argo0
= 0;
8822 PyObject
* _argo1
= 0;
8823 char *_kwnames
[] = { "self","item", NULL
};
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) return NULL
;
8848 } Py_INCREF(Py_None
);
8849 _resultobj
= Py_None
;
8853 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8854 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
* _resultobj
;
8856 wxPyTreeCtrl
* _arg0
;
8857 wxTreeItemId
* _arg1
;
8858 PyObject
* _argo0
= 0;
8859 PyObject
* _argo1
= 0;
8860 char *_kwnames
[] = { "self","item", NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) return NULL
;
8885 } Py_INCREF(Py_None
);
8886 _resultobj
= Py_None
;
8890 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8891 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8893 wxPyTreeCtrl
* _arg0
;
8894 wxTreeItemId
* _arg1
;
8895 PyObject
* _argo0
= 0;
8896 PyObject
* _argo1
= 0;
8897 char *_kwnames
[] = { "self","item", NULL
};
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) return NULL
;
8922 } Py_INCREF(Py_None
);
8923 _resultobj
= Py_None
;
8927 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8928 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
* _resultobj
;
8930 wxPyTreeCtrl
* _arg0
;
8931 wxTreeItemId
* _arg1
;
8932 PyObject
* _argo0
= 0;
8933 PyObject
* _argo1
= 0;
8934 char *_kwnames
[] = { "self","item", NULL
};
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) return NULL
;
8959 } Py_INCREF(Py_None
);
8960 _resultobj
= Py_None
;
8964 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8965 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
* _resultobj
;
8967 wxPyTreeCtrl
* _arg0
;
8968 wxTreeItemId
* _arg1
;
8969 PyObject
* _argo0
= 0;
8970 PyObject
* _argo1
= 0;
8971 char *_kwnames
[] = { "self","item", NULL
};
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) return NULL
;
8996 } Py_INCREF(Py_None
);
8997 _resultobj
= Py_None
;
9001 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9002 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
* _resultobj
;
9004 wxPyTreeCtrl
* _arg0
;
9005 wxTreeItemId
* _arg1
;
9006 int _arg2
= (int ) TRUE
;
9007 PyObject
* _argo0
= 0;
9008 PyObject
* _argo1
= 0;
9009 char *_kwnames
[] = { "self","item","bold", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) return NULL
;
9034 } Py_INCREF(Py_None
);
9035 _resultobj
= Py_None
;
9039 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9040 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
* _resultobj
;
9043 wxPyTreeCtrl
* _arg0
;
9044 wxTreeItemId
* _arg1
;
9045 PyObject
* _argo0
= 0;
9046 PyObject
* _argo1
= 0;
9047 char *_kwnames
[] = { "self","item", NULL
};
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) return NULL
;
9072 } _resultobj
= Py_BuildValue("i",_result
);
9076 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9077 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
* _resultobj
;
9079 wxTreeItemId
* _result
;
9080 wxPyTreeCtrl
* _arg0
;
9084 PyObject
* _argo0
= 0;
9086 PyObject
* _obj1
= 0;
9087 char *_kwnames
[] = { "self","point", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9105 if (! wxPoint_helper(_obj1
, &_arg1
))
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) return NULL
;
9114 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9115 _resultobj
= Py_BuildValue("s",_ptemp
);
9118 o
= PyInt_FromLong((long) (*_arg2
));
9119 _resultobj
= t_output_helper(_resultobj
, o
);
9124 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9125 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
* _resultobj
;
9127 wxPyTreeCtrl
* _arg0
;
9128 wxTreeItemId
* _arg1
;
9130 PyObject
* _argo0
= 0;
9131 PyObject
* _argo1
= 0;
9133 PyObject
* _obj2
= 0;
9134 char *_kwnames
[] = { "self","item","col", NULL
};
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9155 if (! wxColour_helper(_obj2
, &_arg2
))
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) return NULL
;
9164 } Py_INCREF(Py_None
);
9165 _resultobj
= Py_None
;
9169 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9170 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
* _resultobj
;
9172 wxPyTreeCtrl
* _arg0
;
9173 wxTreeItemId
* _arg1
;
9175 PyObject
* _argo0
= 0;
9176 PyObject
* _argo1
= 0;
9178 PyObject
* _obj2
= 0;
9179 char *_kwnames
[] = { "self","item","col", NULL
};
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9200 if (! wxColour_helper(_obj2
, &_arg2
))
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) return NULL
;
9209 } Py_INCREF(Py_None
);
9210 _resultobj
= Py_None
;
9214 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9215 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9217 wxPyTreeCtrl
* _arg0
;
9218 wxTreeItemId
* _arg1
;
9220 PyObject
* _argo0
= 0;
9221 PyObject
* _argo1
= 0;
9222 PyObject
* _argo2
= 0;
9223 char *_kwnames
[] = { "self","item","font", NULL
};
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9243 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9244 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) return NULL
;
9255 } Py_INCREF(Py_None
);
9256 _resultobj
= Py_None
;
9260 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9262 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9263 wxPyBeginBlockThreads();
9264 wxRect
* r
= new wxRect(rect
);
9265 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9266 wxPyEndBlockThreads();
9274 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9277 wxPyTreeCtrl
* _arg0
;
9278 wxTreeItemId
* _arg1
;
9279 int _arg2
= (int ) FALSE
;
9280 PyObject
* _argo0
= 0;
9281 PyObject
* _argo1
= 0;
9282 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) return NULL
;
9308 _resultobj
= _result
;
9313 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9316 src
= (wxDirItemData
*) ptr
;
9317 dest
= (wxObject
*) src
;
9318 return (void *) dest
;
9321 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9322 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
* _resultobj
;
9324 wxDirItemData
* _result
;
9328 PyObject
* _obj0
= 0;
9329 PyObject
* _obj1
= 0;
9331 char *_kwnames
[] = { "path","name","isDir", NULL
};
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9338 #if PYTHON_API_VERSION >= 1009
9339 char* tmpPtr
; int tmpSize
;
9340 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9344 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9346 _arg0
= new wxString(tmpPtr
, tmpSize
);
9348 if (!PyString_Check(_obj0
)) {
9349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9352 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9356 #if PYTHON_API_VERSION >= 1009
9357 char* tmpPtr
; int tmpSize
;
9358 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9362 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9364 _arg1
= new wxString(tmpPtr
, tmpSize
);
9366 if (!PyString_Check(_obj1
)) {
9367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9370 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9373 _arg2
= (bool ) tempbool2
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) return NULL
;
9381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9382 _resultobj
= Py_BuildValue("s",_ptemp
);
9385 _resultobj
= Py_None
;
9398 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9399 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
* _resultobj
;
9401 wxDirItemData
* _arg0
;
9403 PyObject
* _argo0
= 0;
9404 PyObject
* _obj1
= 0;
9405 char *_kwnames
[] = { "self","path", NULL
};
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9418 #if PYTHON_API_VERSION >= 1009
9419 char* tmpPtr
; int tmpSize
;
9420 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9424 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9426 _arg1
= new wxString(tmpPtr
, tmpSize
);
9428 if (!PyString_Check(_obj1
)) {
9429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9432 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) return NULL
;
9441 } Py_INCREF(Py_None
);
9442 _resultobj
= Py_None
;
9450 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9451 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
* _resultobj
;
9454 wxDirItemData
* _arg0
;
9456 PyObject
* _argo0
= 0;
9457 PyObject
* _obj1
= 0;
9458 char *_kwnames
[] = { "self","m_path", NULL
};
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9471 #if PYTHON_API_VERSION >= 1009
9472 char* tmpPtr
; int tmpSize
;
9473 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9477 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9479 _arg1
= new wxString(tmpPtr
, tmpSize
);
9481 if (!PyString_Check(_obj1
)) {
9482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9485 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) return NULL
;
9495 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9504 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9505 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9508 wxDirItemData
* _arg0
;
9509 PyObject
* _argo0
= 0;
9510 char *_kwnames
[] = { "self", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) return NULL
;
9529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9534 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9535 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
* _resultobj
;
9538 wxDirItemData
* _arg0
;
9540 PyObject
* _argo0
= 0;
9541 PyObject
* _obj1
= 0;
9542 char *_kwnames
[] = { "self","m_name", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9555 #if PYTHON_API_VERSION >= 1009
9556 char* tmpPtr
; int tmpSize
;
9557 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9561 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9563 _arg1
= new wxString(tmpPtr
, tmpSize
);
9565 if (!PyString_Check(_obj1
)) {
9566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9569 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) return NULL
;
9579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9588 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9589 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
* _resultobj
;
9592 wxDirItemData
* _arg0
;
9593 PyObject
* _argo0
= 0;
9594 char *_kwnames
[] = { "self", NULL
};
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) return NULL
;
9613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9618 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9619 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
* _resultobj
;
9622 wxDirItemData
* _arg0
;
9624 PyObject
* _argo0
= 0;
9626 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9638 _arg1
= (bool ) tempbool1
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) return NULL
;
9645 } _resultobj
= Py_BuildValue("i",_result
);
9649 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9650 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
* _resultobj
;
9653 wxDirItemData
* _arg0
;
9654 PyObject
* _argo0
= 0;
9655 char *_kwnames
[] = { "self", NULL
};
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) return NULL
;
9673 } _resultobj
= Py_BuildValue("i",_result
);
9677 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9678 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
* _resultobj
;
9681 wxDirItemData
* _arg0
;
9683 PyObject
* _argo0
= 0;
9685 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9697 _arg1
= (bool ) tempbool1
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) return NULL
;
9704 } _resultobj
= Py_BuildValue("i",_result
);
9708 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9709 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
* _resultobj
;
9712 wxDirItemData
* _arg0
;
9713 PyObject
* _argo0
= 0;
9714 char *_kwnames
[] = { "self", NULL
};
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) return NULL
;
9732 } _resultobj
= Py_BuildValue("i",_result
);
9736 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9737 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
* _resultobj
;
9740 wxDirItemData
* _arg0
;
9742 PyObject
* _argo0
= 0;
9744 char *_kwnames
[] = { "self","m_isDir", NULL
};
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9756 _arg1
= (bool ) tempbool1
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) return NULL
;
9763 } _resultobj
= Py_BuildValue("i",_result
);
9767 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9768 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
* _resultobj
;
9771 wxDirItemData
* _arg0
;
9772 PyObject
* _argo0
= 0;
9773 char *_kwnames
[] = { "self", NULL
};
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) return NULL
;
9791 } _resultobj
= Py_BuildValue("i",_result
);
9795 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9796 wxGenericDirCtrl
*src
;
9798 src
= (wxGenericDirCtrl
*) ptr
;
9799 dest
= (wxControl
*) src
;
9800 return (void *) dest
;
9803 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9804 wxGenericDirCtrl
*src
;
9806 src
= (wxGenericDirCtrl
*) ptr
;
9807 dest
= (wxWindow
*) src
;
9808 return (void *) dest
;
9811 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9812 wxGenericDirCtrl
*src
;
9814 src
= (wxGenericDirCtrl
*) ptr
;
9815 dest
= (wxEvtHandler
*) src
;
9816 return (void *) dest
;
9819 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9820 wxGenericDirCtrl
*src
;
9822 src
= (wxGenericDirCtrl
*) ptr
;
9823 dest
= (wxObject
*) src
;
9824 return (void *) dest
;
9827 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9828 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
* _resultobj
;
9830 wxGenericDirCtrl
* _result
;
9832 wxWindowID _arg1
= (wxWindowID
) -1;
9833 char * _arg2
= (char *) wxDirDialogDefaultFolderStr
;
9834 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9835 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9836 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9837 char * _arg6
= (char *) wxEmptyString
;
9838 int _arg7
= (int ) 0;
9839 char * _arg8
= (char *) "dirCtrl";
9840 PyObject
* _argo0
= 0;
9842 PyObject
* _obj3
= 0;
9844 PyObject
* _obj4
= 0;
9845 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOlsis:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
))
9852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9861 if (! wxPoint_helper(_obj3
, &_arg3
))
9867 if (! wxSize_helper(_obj4
, &_arg4
))
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) return NULL
;
9877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9878 _resultobj
= Py_BuildValue("s",_ptemp
);
9881 _resultobj
= Py_None
;
9886 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9887 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
* _resultobj
;
9889 wxGenericDirCtrl
* _result
;
9890 char *_kwnames
[] = { NULL
};
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) return NULL
;
9903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9904 _resultobj
= Py_BuildValue("s",_ptemp
);
9907 _resultobj
= Py_None
;
9912 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9913 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
* _resultobj
;
9916 wxGenericDirCtrl
* _arg0
;
9918 wxWindowID _arg2
= (wxWindowID
) -1;
9919 char * _arg3
= (char *) wxDirDialogDefaultFolderStr
;
9920 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9921 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9922 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9923 char * _arg7
= (char *) wxEmptyString
;
9924 int _arg8
= (int ) 0;
9925 char * _arg9
= (char *) "dirCtrl";
9926 PyObject
* _argo0
= 0;
9927 PyObject
* _argo1
= 0;
9929 PyObject
* _obj4
= 0;
9931 PyObject
* _obj5
= 0;
9932 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOlsis:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
9938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9954 if (! wxPoint_helper(_obj4
, &_arg4
))
9960 if (! wxSize_helper(_obj5
, &_arg5
))
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) return NULL
;
9969 } _resultobj
= Py_BuildValue("i",_result
);
9973 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9974 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
* _resultobj
;
9977 wxGenericDirCtrl
* _arg0
;
9979 PyObject
* _argo0
= 0;
9980 PyObject
* _obj1
= 0;
9981 char *_kwnames
[] = { "self","path", NULL
};
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
9987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9994 #if PYTHON_API_VERSION >= 1009
9995 char* tmpPtr
; int tmpSize
;
9996 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10000 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10002 _arg1
= new wxString(tmpPtr
, tmpSize
);
10004 if (!PyString_Check(_obj1
)) {
10005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10008 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) return NULL
;
10017 } _resultobj
= Py_BuildValue("i",_result
);
10025 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10026 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
* _resultobj
;
10028 wxString
* _result
;
10029 wxGenericDirCtrl
* _arg0
;
10030 PyObject
* _argo0
= 0;
10031 char *_kwnames
[] = { "self", NULL
};
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) return NULL
;
10050 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10058 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10059 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
* _resultobj
;
10061 wxGenericDirCtrl
* _arg0
;
10063 PyObject
* _argo0
= 0;
10064 PyObject
* _obj1
= 0;
10065 char *_kwnames
[] = { "self","path", NULL
};
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10078 #if PYTHON_API_VERSION >= 1009
10079 char* tmpPtr
; int tmpSize
;
10080 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10084 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10086 _arg1
= new wxString(tmpPtr
, tmpSize
);
10088 if (!PyString_Check(_obj1
)) {
10089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10092 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) return NULL
;
10101 } Py_INCREF(Py_None
);
10102 _resultobj
= Py_None
;
10110 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10111 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
* _resultobj
;
10113 wxString
* _result
;
10114 wxGenericDirCtrl
* _arg0
;
10115 PyObject
* _argo0
= 0;
10116 char *_kwnames
[] = { "self", NULL
};
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) return NULL
;
10135 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10143 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10144 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
* _resultobj
;
10146 wxString
* _result
;
10147 wxGenericDirCtrl
* _arg0
;
10148 PyObject
* _argo0
= 0;
10149 char *_kwnames
[] = { "self", NULL
};
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) return NULL
;
10168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10176 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10177 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10179 wxGenericDirCtrl
* _arg0
;
10181 PyObject
* _argo0
= 0;
10182 PyObject
* _obj1
= 0;
10183 char *_kwnames
[] = { "self","path", NULL
};
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10196 #if PYTHON_API_VERSION >= 1009
10197 char* tmpPtr
; int tmpSize
;
10198 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10202 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10204 _arg1
= new wxString(tmpPtr
, tmpSize
);
10206 if (!PyString_Check(_obj1
)) {
10207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10210 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) return NULL
;
10219 } Py_INCREF(Py_None
);
10220 _resultobj
= Py_None
;
10228 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10229 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
* _resultobj
;
10231 wxGenericDirCtrl
* _arg0
;
10233 PyObject
* _argo0
= 0;
10235 char *_kwnames
[] = { "self","show", NULL
};
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10247 _arg1
= (bool ) tempbool1
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) return NULL
;
10254 } Py_INCREF(Py_None
);
10255 _resultobj
= Py_None
;
10259 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10260 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
* _resultobj
;
10263 wxGenericDirCtrl
* _arg0
;
10264 PyObject
* _argo0
= 0;
10265 char *_kwnames
[] = { "self", NULL
};
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) return NULL
;
10283 } _resultobj
= Py_BuildValue("i",_result
);
10287 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10288 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
* _resultobj
;
10290 wxString
* _result
;
10291 wxGenericDirCtrl
* _arg0
;
10292 PyObject
* _argo0
= 0;
10293 char *_kwnames
[] = { "self", NULL
};
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) return NULL
;
10312 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10320 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10321 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
* _resultobj
;
10323 wxGenericDirCtrl
* _arg0
;
10325 PyObject
* _argo0
= 0;
10326 PyObject
* _obj1
= 0;
10327 char *_kwnames
[] = { "self","filter", NULL
};
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10340 #if PYTHON_API_VERSION >= 1009
10341 char* tmpPtr
; int tmpSize
;
10342 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10346 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10348 _arg1
= new wxString(tmpPtr
, tmpSize
);
10350 if (!PyString_Check(_obj1
)) {
10351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10354 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) return NULL
;
10363 } Py_INCREF(Py_None
);
10364 _resultobj
= Py_None
;
10372 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10373 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
* _resultobj
;
10376 wxGenericDirCtrl
* _arg0
;
10377 PyObject
* _argo0
= 0;
10378 char *_kwnames
[] = { "self", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) return NULL
;
10396 } _resultobj
= Py_BuildValue("i",_result
);
10400 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10401 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10403 wxGenericDirCtrl
* _arg0
;
10405 PyObject
* _argo0
= 0;
10406 char *_kwnames
[] = { "self","n", NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } Py_INCREF(Py_None
);
10425 _resultobj
= Py_None
;
10429 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10430 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
* _resultobj
;
10432 wxTreeItemId
* _result
;
10433 wxGenericDirCtrl
* _arg0
;
10434 PyObject
* _argo0
= 0;
10435 char *_kwnames
[] = { "self", NULL
};
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) return NULL
;
10454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10455 _resultobj
= Py_BuildValue("s",_ptemp
);
10459 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10460 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
* _resultobj
;
10462 wxTreeCtrl
* _result
;
10463 wxGenericDirCtrl
* _arg0
;
10464 PyObject
* _argo0
= 0;
10465 char *_kwnames
[] = { "self", NULL
};
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) return NULL
;
10485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10486 _resultobj
= Py_BuildValue("s",_ptemp
);
10488 Py_INCREF(Py_None
);
10489 _resultobj
= Py_None
;
10494 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10495 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
* _resultobj
;
10497 wxDirFilterListCtrl
* _result
;
10498 wxGenericDirCtrl
* _arg0
;
10499 PyObject
* _argo0
= 0;
10500 char *_kwnames
[] = { "self", NULL
};
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) return NULL
;
10520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10521 _resultobj
= Py_BuildValue("s",_ptemp
);
10523 Py_INCREF(Py_None
);
10524 _resultobj
= Py_None
;
10529 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10530 wxDirFilterListCtrl
*src
;
10532 src
= (wxDirFilterListCtrl
*) ptr
;
10533 dest
= (wxChoice
*) src
;
10534 return (void *) dest
;
10537 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10538 wxDirFilterListCtrl
*src
;
10539 wxControlWithItems
*dest
;
10540 src
= (wxDirFilterListCtrl
*) ptr
;
10541 dest
= (wxControlWithItems
*) src
;
10542 return (void *) dest
;
10545 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10546 wxDirFilterListCtrl
*src
;
10548 src
= (wxDirFilterListCtrl
*) ptr
;
10549 dest
= (wxControl
*) src
;
10550 return (void *) dest
;
10553 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10554 wxDirFilterListCtrl
*src
;
10556 src
= (wxDirFilterListCtrl
*) ptr
;
10557 dest
= (wxWindow
*) src
;
10558 return (void *) dest
;
10561 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10562 wxDirFilterListCtrl
*src
;
10563 wxEvtHandler
*dest
;
10564 src
= (wxDirFilterListCtrl
*) ptr
;
10565 dest
= (wxEvtHandler
*) src
;
10566 return (void *) dest
;
10569 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10570 wxDirFilterListCtrl
*src
;
10572 src
= (wxDirFilterListCtrl
*) ptr
;
10573 dest
= (wxObject
*) src
;
10574 return (void *) dest
;
10577 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10578 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
* _resultobj
;
10580 wxDirFilterListCtrl
* _result
;
10581 wxGenericDirCtrl
* _arg0
;
10582 wxWindowID _arg1
= (wxWindowID
) -1;
10583 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10584 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10585 long _arg4
= (long ) 0;
10586 PyObject
* _argo0
= 0;
10588 PyObject
* _obj2
= 0;
10590 PyObject
* _obj3
= 0;
10591 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10607 if (! wxPoint_helper(_obj2
, &_arg2
))
10613 if (! wxSize_helper(_obj3
, &_arg3
))
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) return NULL
;
10623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10624 _resultobj
= Py_BuildValue("s",_ptemp
);
10626 Py_INCREF(Py_None
);
10627 _resultobj
= Py_None
;
10632 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10633 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10635 wxDirFilterListCtrl
* _result
;
10636 char *_kwnames
[] = { NULL
};
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) return NULL
;
10649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10650 _resultobj
= Py_BuildValue("s",_ptemp
);
10652 Py_INCREF(Py_None
);
10653 _resultobj
= Py_None
;
10658 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10659 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
* _resultobj
;
10662 wxDirFilterListCtrl
* _arg0
;
10663 wxGenericDirCtrl
* _arg1
;
10664 wxWindowID _arg2
= (wxWindowID
) -1;
10665 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10666 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10667 long _arg5
= (long ) 0;
10668 PyObject
* _argo0
= 0;
10669 PyObject
* _argo1
= 0;
10671 PyObject
* _obj3
= 0;
10673 PyObject
* _obj4
= 0;
10674 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10696 if (! wxPoint_helper(_obj3
, &_arg3
))
10702 if (! wxSize_helper(_obj4
, &_arg4
))
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) return NULL
;
10711 } _resultobj
= Py_BuildValue("i",_result
);
10715 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10716 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
* _resultobj
;
10718 wxDirFilterListCtrl
* _arg0
;
10721 PyObject
* _argo0
= 0;
10722 PyObject
* _obj1
= 0;
10723 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10736 #if PYTHON_API_VERSION >= 1009
10737 char* tmpPtr
; int tmpSize
;
10738 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10739 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10742 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10744 _arg1
= new wxString(tmpPtr
, tmpSize
);
10746 if (!PyString_Check(_obj1
)) {
10747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10750 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) return NULL
;
10759 } Py_INCREF(Py_None
);
10760 _resultobj
= Py_None
;
10768 static PyMethodDef controls2cMethods
[] = {
10769 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11061 * This table is used by the pointer type-checker
11063 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11064 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11065 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11066 { "_signed_long","_long",0},
11067 { "_wxPrintQuality","_wxCoord",0},
11068 { "_wxPrintQuality","_int",0},
11069 { "_wxPrintQuality","_signed_int",0},
11070 { "_wxPrintQuality","_unsigned_int",0},
11071 { "_wxPrintQuality","_wxWindowID",0},
11072 { "_wxPrintQuality","_uint",0},
11073 { "_wxPrintQuality","_EBool",0},
11074 { "_wxPrintQuality","_size_t",0},
11075 { "_wxPrintQuality","_time_t",0},
11076 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11077 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11078 { "_byte","_unsigned_char",0},
11079 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11080 { "_long","_unsigned_long",0},
11081 { "_long","_signed_long",0},
11082 { "_size_t","_wxCoord",0},
11083 { "_size_t","_wxPrintQuality",0},
11084 { "_size_t","_time_t",0},
11085 { "_size_t","_unsigned_int",0},
11086 { "_size_t","_int",0},
11087 { "_size_t","_wxWindowID",0},
11088 { "_size_t","_uint",0},
11089 { "_uint","_wxCoord",0},
11090 { "_uint","_wxPrintQuality",0},
11091 { "_uint","_time_t",0},
11092 { "_uint","_size_t",0},
11093 { "_uint","_unsigned_int",0},
11094 { "_uint","_int",0},
11095 { "_uint","_wxWindowID",0},
11096 { "_wxChar","_char",0},
11097 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11098 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11099 { "_char","_wxChar",0},
11100 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11101 { "_EBool","_wxCoord",0},
11102 { "_EBool","_wxPrintQuality",0},
11103 { "_EBool","_signed_int",0},
11104 { "_EBool","_int",0},
11105 { "_EBool","_wxWindowID",0},
11106 { "_unsigned_long","_long",0},
11107 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11108 { "_signed_int","_wxCoord",0},
11109 { "_signed_int","_wxPrintQuality",0},
11110 { "_signed_int","_EBool",0},
11111 { "_signed_int","_wxWindowID",0},
11112 { "_signed_int","_int",0},
11113 { "_WXTYPE","_short",0},
11114 { "_WXTYPE","_signed_short",0},
11115 { "_WXTYPE","_unsigned_short",0},
11116 { "_unsigned_short","_WXTYPE",0},
11117 { "_unsigned_short","_short",0},
11118 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11119 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11120 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11121 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11122 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11123 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11124 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11125 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11126 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11127 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11128 { "_signed_short","_WXTYPE",0},
11129 { "_signed_short","_short",0},
11130 { "_unsigned_char","_byte",0},
11131 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11132 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11133 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11134 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11135 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11136 { "_unsigned_int","_wxCoord",0},
11137 { "_unsigned_int","_wxPrintQuality",0},
11138 { "_unsigned_int","_time_t",0},
11139 { "_unsigned_int","_size_t",0},
11140 { "_unsigned_int","_uint",0},
11141 { "_unsigned_int","_wxWindowID",0},
11142 { "_unsigned_int","_int",0},
11143 { "_short","_WXTYPE",0},
11144 { "_short","_unsigned_short",0},
11145 { "_short","_signed_short",0},
11146 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11147 { "_wxWindowID","_wxCoord",0},
11148 { "_wxWindowID","_wxPrintQuality",0},
11149 { "_wxWindowID","_time_t",0},
11150 { "_wxWindowID","_size_t",0},
11151 { "_wxWindowID","_EBool",0},
11152 { "_wxWindowID","_uint",0},
11153 { "_wxWindowID","_int",0},
11154 { "_wxWindowID","_signed_int",0},
11155 { "_wxWindowID","_unsigned_int",0},
11156 { "_int","_wxCoord",0},
11157 { "_int","_wxPrintQuality",0},
11158 { "_int","_time_t",0},
11159 { "_int","_size_t",0},
11160 { "_int","_EBool",0},
11161 { "_int","_uint",0},
11162 { "_int","_wxWindowID",0},
11163 { "_int","_unsigned_int",0},
11164 { "_int","_signed_int",0},
11165 { "_time_t","_wxCoord",0},
11166 { "_time_t","_wxPrintQuality",0},
11167 { "_time_t","_unsigned_int",0},
11168 { "_time_t","_int",0},
11169 { "_time_t","_wxWindowID",0},
11170 { "_time_t","_uint",0},
11171 { "_time_t","_size_t",0},
11172 { "_wxCoord","_int",0},
11173 { "_wxCoord","_signed_int",0},
11174 { "_wxCoord","_unsigned_int",0},
11175 { "_wxCoord","_wxWindowID",0},
11176 { "_wxCoord","_uint",0},
11177 { "_wxCoord","_EBool",0},
11178 { "_wxCoord","_size_t",0},
11179 { "_wxCoord","_time_t",0},
11180 { "_wxCoord","_wxPrintQuality",0},
11181 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11182 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11183 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11184 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11185 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11186 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11187 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11188 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11189 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11190 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11191 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11194 static PyObject
*SWIG_globals
;
11198 SWIGEXPORT(void) initcontrols2c() {
11200 SWIG_globals
= SWIG_newvarlink();
11201 m
= Py_InitModule("controls2c", controls2cMethods
);
11202 d
= PyModule_GetDict(m
);
11203 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11204 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11205 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11206 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11207 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11208 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11209 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11210 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11211 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11212 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11213 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11214 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11215 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11216 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11217 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11218 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11219 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11220 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11221 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11222 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11223 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11224 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11225 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11226 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11227 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11228 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11229 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11230 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11231 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11232 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11233 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11234 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11235 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11236 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11237 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11238 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11239 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11240 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11241 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11242 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11243 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11244 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11245 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11246 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11247 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11248 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11249 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11250 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11251 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11252 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11253 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11254 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11255 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11256 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11257 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11258 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11259 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11260 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11261 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11262 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11263 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11264 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11265 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11266 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11267 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11268 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11269 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11270 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11271 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11272 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11273 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11274 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11275 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11276 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11277 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11278 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11279 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11280 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11281 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11282 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11283 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11284 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11285 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11286 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11287 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11288 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11289 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11290 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11291 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11292 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11293 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11294 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11295 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11296 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11297 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11298 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11299 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11300 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11301 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11302 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11303 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11304 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11305 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11306 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11307 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11308 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11309 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11310 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11311 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11312 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11313 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11314 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11315 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11316 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11317 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11318 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11319 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11320 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11321 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11322 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11323 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11324 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11325 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11326 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11327 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11328 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11329 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11330 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11331 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11332 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11333 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11334 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11335 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11336 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11337 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11338 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11339 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11340 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11341 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11342 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11343 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11344 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11345 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11347 // Map renamed classes back to their common name for OOR
11348 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11349 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11350 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11353 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11354 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);