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
);
93 // C++ Version of a Python aware class
94 class wxPyListCtrl
: public wxListCtrl
{
95 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
97 wxPyListCtrl() : wxListCtrl() {}
98 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
102 const wxValidator
& validator
,
104 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
106 bool Create(wxWindow
* parent
, wxWindowID id
,
110 const wxValidator
& validator
,
112 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
115 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
116 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
117 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
122 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
124 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
125 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
126 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
127 // Python aware sorting function for wxPyListCtrl
128 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
130 PyObject
* func
= (PyObject
*)funcPtr
;
131 wxPyBeginBlockThreads();
133 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
134 PyObject
* result
= PyEval_CallObject(func
, args
);
137 retval
= PyInt_AsLong(result
);
141 wxPyEndBlockThreads();
146 class wxPyTreeItemData
: public wxTreeItemData
{
148 wxPyTreeItemData(PyObject
* obj
= NULL
) {
155 ~wxPyTreeItemData() {
156 wxPyBeginBlockThreads();
158 wxPyEndBlockThreads();
161 PyObject
* GetData() {
166 void SetData(PyObject
* obj
) {
167 wxPyBeginBlockThreads();
169 wxPyEndBlockThreads();
176 // C++ version of Python aware wxTreeCtrl
177 class wxPyTreeCtrl
: public wxTreeCtrl
{
178 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
180 wxPyTreeCtrl() : wxTreeCtrl() {}
181 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
185 const wxValidator
& validator
,
187 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
189 bool Create(wxWindow
*parent
, wxWindowID id
,
193 const wxValidator
& validator
,
195 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
199 int OnCompareItems(const wxTreeItemId
& item1
,
200 const wxTreeItemId
& item2
) {
203 wxPyBeginBlockThreads();
204 if ((found
= m_myInst
.findCallback("OnCompareItems")))
205 rval
= m_myInst
.callCallback(Py_BuildValue(
207 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
208 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
209 wxPyEndBlockThreads();
211 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
217 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
222 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
223 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxListItemAttr
* _result
;
226 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
227 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
228 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
230 PyObject
* _obj0
= 0;
232 PyObject
* _obj1
= 0;
233 PyObject
* _argo2
= 0;
234 char *_kwnames
[] = { "colText","colBack","font", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
243 if (! wxColour_helper(_obj0
, &_arg0
))
249 if (! wxColour_helper(_obj1
, &_arg1
))
253 if (_argo2
== Py_None
) { _arg2
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
261 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
263 wxPyEndAllowThreads(__tstate
);
264 if (PyErr_Occurred()) return NULL
;
266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
267 _resultobj
= Py_BuildValue("s",_ptemp
);
270 _resultobj
= Py_None
;
275 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
276 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
278 wxListItemAttr
* _arg0
;
280 PyObject
* _argo0
= 0;
282 PyObject
* _obj1
= 0;
283 char *_kwnames
[] = { "self","colText", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
297 if (! wxColour_helper(_obj1
, &_arg1
))
301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
302 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
304 wxPyEndAllowThreads(__tstate
);
305 if (PyErr_Occurred()) return NULL
;
306 } Py_INCREF(Py_None
);
307 _resultobj
= Py_None
;
311 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
312 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 wxListItemAttr
* _arg0
;
316 PyObject
* _argo0
= 0;
318 PyObject
* _obj1
= 0;
319 char *_kwnames
[] = { "self","colBack", NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
333 if (! wxColour_helper(_obj1
, &_arg1
))
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
348 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
350 wxListItemAttr
* _arg0
;
352 PyObject
* _argo0
= 0;
353 PyObject
* _argo1
= 0;
354 char *_kwnames
[] = { "self","font", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
375 wxListItemAttr_SetFont(_arg0
,*_arg1
);
377 wxPyEndAllowThreads(__tstate
);
378 if (PyErr_Occurred()) return NULL
;
379 } Py_INCREF(Py_None
);
380 _resultobj
= Py_None
;
384 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
385 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
388 wxListItemAttr
* _arg0
;
389 PyObject
* _argo0
= 0;
390 char *_kwnames
[] = { "self", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
404 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
406 wxPyEndAllowThreads(__tstate
);
407 if (PyErr_Occurred()) return NULL
;
408 } _resultobj
= Py_BuildValue("i",_result
);
412 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
413 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
416 wxListItemAttr
* _arg0
;
417 PyObject
* _argo0
= 0;
418 char *_kwnames
[] = { "self", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
432 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
434 wxPyEndAllowThreads(__tstate
);
435 if (PyErr_Occurred()) return NULL
;
436 } _resultobj
= Py_BuildValue("i",_result
);
440 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
441 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
444 wxListItemAttr
* _arg0
;
445 PyObject
* _argo0
= 0;
446 char *_kwnames
[] = { "self", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
460 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
462 wxPyEndAllowThreads(__tstate
);
463 if (PyErr_Occurred()) return NULL
;
464 } _resultobj
= Py_BuildValue("i",_result
);
468 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
469 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
472 wxListItemAttr
* _arg0
;
473 PyObject
* _argo0
= 0;
474 char *_kwnames
[] = { "self", NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) return NULL
;
493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
494 _resultobj
= Py_BuildValue("s",_ptemp
);
498 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
499 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
502 wxListItemAttr
* _arg0
;
503 PyObject
* _argo0
= 0;
504 char *_kwnames
[] = { "self", NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
519 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
521 wxPyEndAllowThreads(__tstate
);
522 if (PyErr_Occurred()) return NULL
;
523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
524 _resultobj
= Py_BuildValue("s",_ptemp
);
528 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
529 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
532 wxListItemAttr
* _arg0
;
533 PyObject
* _argo0
= 0;
534 char *_kwnames
[] = { "self", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
549 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
551 wxPyEndAllowThreads(__tstate
);
552 if (PyErr_Occurred()) return NULL
;
553 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
558 static void *SwigwxListItemTowxObject(void *ptr
) {
561 src
= (wxListItem
*) ptr
;
562 dest
= (wxObject
*) src
;
563 return (void *) dest
;
566 #define new_wxListItem() (new wxListItem())
567 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
569 wxListItem
* _result
;
570 char *_kwnames
[] = { NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
578 _result
= (wxListItem
*)new_wxListItem();
580 wxPyEndAllowThreads(__tstate
);
581 if (PyErr_Occurred()) return NULL
;
583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
584 _resultobj
= Py_BuildValue("s",_ptemp
);
587 _resultobj
= Py_None
;
592 #define delete_wxListItem(_swigobj) (delete _swigobj)
593 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 delete_wxListItem(_arg0
);
613 wxPyEndAllowThreads(__tstate
);
614 if (PyErr_Occurred()) return NULL
;
615 } Py_INCREF(Py_None
);
616 _resultobj
= Py_None
;
620 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
621 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
624 PyObject
* _argo0
= 0;
625 char *_kwnames
[] = { "self", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 wxListItem_Clear(_arg0
);
641 wxPyEndAllowThreads(__tstate
);
642 if (PyErr_Occurred()) return NULL
;
643 } Py_INCREF(Py_None
);
644 _resultobj
= Py_None
;
648 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
649 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
652 PyObject
* _argo0
= 0;
653 char *_kwnames
[] = { "self", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 wxListItem_ClearAttributes(_arg0
);
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) return NULL
;
671 } Py_INCREF(Py_None
);
672 _resultobj
= Py_None
;
676 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
677 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
681 PyObject
* _argo0
= 0;
682 char *_kwnames
[] = { "self","mask", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
696 wxListItem_SetMask(_arg0
,_arg1
);
698 wxPyEndAllowThreads(__tstate
);
699 if (PyErr_Occurred()) return NULL
;
700 } Py_INCREF(Py_None
);
701 _resultobj
= Py_None
;
705 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
706 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 PyObject
* _argo0
= 0;
711 char *_kwnames
[] = { "self","id", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
725 wxListItem_SetId(_arg0
,_arg1
);
727 wxPyEndAllowThreads(__tstate
);
728 if (PyErr_Occurred()) return NULL
;
729 } Py_INCREF(Py_None
);
730 _resultobj
= Py_None
;
734 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
735 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self","col", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 wxListItem_SetColumn(_arg0
,_arg1
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
764 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self","state", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 wxListItem_SetState(_arg0
,_arg1
);
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) return NULL
;
787 } Py_INCREF(Py_None
);
788 _resultobj
= Py_None
;
792 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
793 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self","stateMask", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 wxListItem_SetStateMask(_arg0
,_arg1
);
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) return NULL
;
816 } Py_INCREF(Py_None
);
817 _resultobj
= Py_None
;
821 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
822 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
826 PyObject
* _argo0
= 0;
827 PyObject
* _obj1
= 0;
828 char *_kwnames
[] = { "self","text", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
841 _arg1
= wxString_in_helper(_obj1
);
846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
847 wxListItem_SetText(_arg0
,*_arg1
);
849 wxPyEndAllowThreads(__tstate
);
850 if (PyErr_Occurred()) return NULL
;
851 } Py_INCREF(Py_None
);
852 _resultobj
= Py_None
;
860 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
861 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
865 PyObject
* _argo0
= 0;
866 char *_kwnames
[] = { "self","image", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 wxListItem_SetImage(_arg0
,_arg1
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
890 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
894 PyObject
* _argo0
= 0;
895 char *_kwnames
[] = { "self","data", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
909 wxListItem_SetData(_arg0
,_arg1
);
911 wxPyEndAllowThreads(__tstate
);
912 if (PyErr_Occurred()) return NULL
;
913 } Py_INCREF(Py_None
);
914 _resultobj
= Py_None
;
918 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
919 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self","width", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 wxListItem_SetWidth(_arg0
,_arg1
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) return NULL
;
942 } Py_INCREF(Py_None
);
943 _resultobj
= Py_None
;
947 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
948 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
951 wxListColumnFormat _arg1
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self","align", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 wxListItem_SetAlign(_arg0
,_arg1
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
977 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
981 PyObject
* _argo0
= 0;
983 PyObject
* _obj1
= 0;
984 char *_kwnames
[] = { "self","colText", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
998 if (! wxColour_helper(_obj1
, &_arg1
))
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 wxListItem_SetTextColour(_arg0
,*_arg1
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1012 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1013 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1019 PyObject
* _obj1
= 0;
1020 char *_kwnames
[] = { "self","colBack", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1034 if (! wxColour_helper(_obj1
, &_arg1
))
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) return NULL
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1048 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1049 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1053 PyObject
* _argo0
= 0;
1054 PyObject
* _argo1
= 0;
1055 char *_kwnames
[] = { "self","font", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 wxListItem_SetFont(_arg0
,*_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1086 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= (long )wxListItem_GetMask(_arg0
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } _resultobj
= Py_BuildValue("l",_result
);
1113 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1114 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 _result
= (long )wxListItem_GetId(_arg0
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } _resultobj
= Py_BuildValue("l",_result
);
1141 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1142 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1146 PyObject
* _argo0
= 0;
1147 char *_kwnames
[] = { "self", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 _result
= (int )wxListItem_GetColumn(_arg0
);
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) return NULL
;
1165 } _resultobj
= Py_BuildValue("i",_result
);
1169 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1170 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 _result
= (long )wxListItem_GetState(_arg0
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } _resultobj
= Py_BuildValue("l",_result
);
1197 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1198 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1218 _result
= (wxString
*) &_result_ref
;
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1224 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1226 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1232 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1233 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 _result
= (int )wxListItem_GetImage(_arg0
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1256 } _resultobj
= Py_BuildValue("i",_result
);
1260 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1261 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1265 PyObject
* _argo0
= 0;
1266 char *_kwnames
[] = { "self", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 _result
= (long )wxListItem_GetData(_arg0
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) return NULL
;
1284 } _resultobj
= Py_BuildValue("l",_result
);
1288 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1289 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1293 PyObject
* _argo0
= 0;
1294 char *_kwnames
[] = { "self", NULL
};
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1308 _result
= (int )wxListItem_GetWidth(_arg0
);
1310 wxPyEndAllowThreads(__tstate
);
1311 if (PyErr_Occurred()) return NULL
;
1312 } _resultobj
= Py_BuildValue("i",_result
);
1316 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1317 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1319 wxListColumnFormat _result
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1340 } _resultobj
= Py_BuildValue("i",_result
);
1344 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1345 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1347 wxListItemAttr
* _result
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1371 _resultobj
= Py_BuildValue("s",_ptemp
);
1374 _resultobj
= Py_None
;
1379 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1380 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1384 PyObject
* _argo0
= 0;
1385 char *_kwnames
[] = { "self", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) return NULL
;
1403 } _resultobj
= Py_BuildValue("i",_result
);
1407 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1408 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
* _resultobj
;
1412 PyObject
* _argo0
= 0;
1413 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1433 _resultobj
= Py_BuildValue("s",_ptemp
);
1437 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1438 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1463 _resultobj
= Py_BuildValue("s",_ptemp
);
1467 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1468 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1472 PyObject
* _argo0
= 0;
1473 char *_kwnames
[] = { "self", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1493 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1498 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1503 PyObject
* _argo0
= 0;
1504 char *_kwnames
[] = { "self","m_mask", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1522 } _resultobj
= Py_BuildValue("l",_result
);
1526 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1527 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
* _resultobj
;
1531 PyObject
* _argo0
= 0;
1532 char *_kwnames
[] = { "self", NULL
};
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 _result
= (long )wxListItem_m_mask_get(_arg0
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) return NULL
;
1550 } _resultobj
= Py_BuildValue("l",_result
);
1554 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1555 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self","m_itemId", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } _resultobj
= Py_BuildValue("l",_result
);
1583 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1584 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1589 char *_kwnames
[] = { "self", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) return NULL
;
1607 } _resultobj
= Py_BuildValue("l",_result
);
1611 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1612 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self","m_col", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) return NULL
;
1636 } _resultobj
= Py_BuildValue("i",_result
);
1640 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1641 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1645 PyObject
* _argo0
= 0;
1646 char *_kwnames
[] = { "self", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (int )wxListItem_m_col_get(_arg0
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1669 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "self","m_state", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) return NULL
;
1693 } _resultobj
= Py_BuildValue("l",_result
);
1697 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1698 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1702 PyObject
* _argo0
= 0;
1703 char *_kwnames
[] = { "self", NULL
};
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 _result
= (long )wxListItem_m_state_get(_arg0
);
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) return NULL
;
1721 } _resultobj
= Py_BuildValue("l",_result
);
1725 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1726 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1731 PyObject
* _argo0
= 0;
1732 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } _resultobj
= Py_BuildValue("l",_result
);
1754 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1755 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } _resultobj
= Py_BuildValue("l",_result
);
1782 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1783 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 PyObject
* _obj1
= 0;
1790 char *_kwnames
[] = { "self","m_text", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1803 _arg1
= wxString_in_helper(_obj1
);
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) return NULL
;
1815 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1817 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1827 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1828 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1832 PyObject
* _argo0
= 0;
1833 char *_kwnames
[] = { "self", NULL
};
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1853 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1855 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1861 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1862 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self","m_image", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } _resultobj
= Py_BuildValue("i",_result
);
1890 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1891 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1895 PyObject
* _argo0
= 0;
1896 char *_kwnames
[] = { "self", NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 _result
= (int )wxListItem_m_image_get(_arg0
);
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) return NULL
;
1914 } _resultobj
= Py_BuildValue("i",_result
);
1918 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1919 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1924 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self","m_data", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) return NULL
;
1943 } _resultobj
= Py_BuildValue("l",_result
);
1947 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1948 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1952 PyObject
* _argo0
= 0;
1953 char *_kwnames
[] = { "self", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 _result
= (long )wxListItem_m_data_get(_arg0
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } _resultobj
= Py_BuildValue("l",_result
);
1975 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1976 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1981 PyObject
* _argo0
= 0;
1982 char *_kwnames
[] = { "self","m_format", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) return NULL
;
2000 } _resultobj
= Py_BuildValue("i",_result
);
2004 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2005 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2009 PyObject
* _argo0
= 0;
2010 char *_kwnames
[] = { "self", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 _result
= (int )wxListItem_m_format_get(_arg0
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) return NULL
;
2028 } _resultobj
= Py_BuildValue("i",_result
);
2032 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2033 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2038 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self","m_width", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2057 } _resultobj
= Py_BuildValue("i",_result
);
2061 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2062 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 _result
= (int )wxListItem_m_width_get(_arg0
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) return NULL
;
2085 } _resultobj
= Py_BuildValue("i",_result
);
2089 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2091 wxNotifyEvent
*dest
;
2092 src
= (wxListEvent
*) ptr
;
2093 dest
= (wxNotifyEvent
*) src
;
2094 return (void *) dest
;
2097 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2099 wxCommandEvent
*dest
;
2100 src
= (wxListEvent
*) ptr
;
2101 dest
= (wxCommandEvent
*) src
;
2102 return (void *) dest
;
2105 static void *SwigwxListEventTowxEvent(void *ptr
) {
2108 src
= (wxListEvent
*) ptr
;
2109 dest
= (wxEvent
*) src
;
2110 return (void *) dest
;
2113 static void *SwigwxListEventTowxObject(void *ptr
) {
2116 src
= (wxListEvent
*) ptr
;
2117 dest
= (wxObject
*) src
;
2118 return (void *) dest
;
2121 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2122 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2124 wxListEvent
* _result
;
2125 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2126 int _arg1
= (int ) 0;
2127 char *_kwnames
[] = { "commandType","id", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) return NULL
;
2140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2141 _resultobj
= Py_BuildValue("s",_ptemp
);
2144 _resultobj
= Py_None
;
2149 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2150 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2153 wxListEvent
* _arg0
;
2155 PyObject
* _argo0
= 0;
2156 char *_kwnames
[] = { "self","m_code", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) return NULL
;
2174 } _resultobj
= Py_BuildValue("i",_result
);
2178 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2179 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2182 wxListEvent
* _arg0
;
2183 PyObject
* _argo0
= 0;
2184 char *_kwnames
[] = { "self", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 _result
= (int )wxListEvent_m_code_get(_arg0
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2202 } _resultobj
= Py_BuildValue("i",_result
);
2206 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2207 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2210 wxListEvent
* _arg0
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) return NULL
;
2231 } _resultobj
= Py_BuildValue("l",_result
);
2235 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2236 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2239 wxListEvent
* _arg0
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) return NULL
;
2259 } _resultobj
= Py_BuildValue("l",_result
);
2263 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2264 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 wxListEvent
* _arg0
;
2269 PyObject
* _argo0
= 0;
2270 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) return NULL
;
2288 } _resultobj
= Py_BuildValue("l",_result
);
2292 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2293 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
* _resultobj
;
2296 wxListEvent
* _arg0
;
2297 PyObject
* _argo0
= 0;
2298 char *_kwnames
[] = { "self", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) return NULL
;
2316 } _resultobj
= Py_BuildValue("l",_result
);
2320 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2321 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2324 wxListEvent
* _arg0
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self","m_col", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2350 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2353 wxListEvent
* _arg0
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 _result
= (int )wxListEvent_m_col_get(_arg0
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) return NULL
;
2373 } _resultobj
= Py_BuildValue("i",_result
);
2377 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2378 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2381 wxListEvent
* _arg0
;
2383 PyObject
* _argo0
= 0;
2385 PyObject
* _obj1
= 0;
2386 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2401 if (! wxPoint_helper(_obj1
, &_arg1
))
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) return NULL
;
2411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2412 _resultobj
= Py_BuildValue("s",_ptemp
);
2415 _resultobj
= Py_None
;
2420 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2421 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2424 wxListEvent
* _arg0
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2447 _resultobj
= Py_BuildValue("s",_ptemp
);
2450 _resultobj
= Py_None
;
2455 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2456 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2458 wxListItem
* _result
;
2459 wxListEvent
* _arg0
;
2461 PyObject
* _argo0
= 0;
2462 PyObject
* _argo1
= 0;
2463 char *_kwnames
[] = { "self","m_item", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2488 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2492 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2493 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2495 wxListItem
* _result
;
2496 wxListEvent
* _arg0
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) return NULL
;
2516 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2520 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2521 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2524 wxListEvent
* _arg0
;
2525 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 _result
= (int )wxListEvent_GetCode(_arg0
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2544 } _resultobj
= Py_BuildValue("i",_result
);
2548 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2549 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2552 wxListEvent
* _arg0
;
2553 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 _result
= (long )wxListEvent_GetIndex(_arg0
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) return NULL
;
2572 } _resultobj
= Py_BuildValue("l",_result
);
2576 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2577 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2580 wxListEvent
* _arg0
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 _result
= (int )wxListEvent_GetColumn(_arg0
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } _resultobj
= Py_BuildValue("i",_result
);
2604 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2605 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 wxListEvent
* _arg0
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2630 _resultobj
= Py_BuildValue("s",_ptemp
);
2634 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2635 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2638 wxListEvent
* _arg0
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2655 _result
= (wxString
*) &_result_ref
;
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2661 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2663 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2669 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2670 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2673 wxListEvent
* _arg0
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2690 _result
= (wxString
*) &_result_ref
;
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2696 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2698 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2704 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2705 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2708 wxListEvent
* _arg0
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (int )wxListEvent_GetImage(_arg0
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2733 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2736 wxListEvent
* _arg0
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 _result
= (long )wxListEvent_GetData(_arg0
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } _resultobj
= Py_BuildValue("l",_result
);
2760 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2761 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2764 wxListEvent
* _arg0
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 _result
= (long )wxListEvent_GetMask(_arg0
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) return NULL
;
2784 } _resultobj
= Py_BuildValue("l",_result
);
2788 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2789 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2791 wxListItem
* _result
;
2792 wxListEvent
* _arg0
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2809 _result
= (wxListItem
*) &_result_ref
;
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2817 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2818 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2821 wxListEvent
* _arg0
;
2822 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) return NULL
;
2841 } _resultobj
= Py_BuildValue("l",_result
);
2845 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2846 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 wxListEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) return NULL
;
2869 } _resultobj
= Py_BuildValue("l",_result
);
2873 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2876 src
= (wxPyListCtrl
*) ptr
;
2877 dest
= (wxControl
*) src
;
2878 return (void *) dest
;
2881 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2884 src
= (wxPyListCtrl
*) ptr
;
2885 dest
= (wxWindow
*) src
;
2886 return (void *) dest
;
2889 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2892 src
= (wxPyListCtrl
*) ptr
;
2893 dest
= (wxEvtHandler
*) src
;
2894 return (void *) dest
;
2897 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2900 src
= (wxPyListCtrl
*) ptr
;
2901 dest
= (wxObject
*) src
;
2902 return (void *) dest
;
2905 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2906 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2908 wxPyListCtrl
* _result
;
2910 wxWindowID _arg1
= (wxWindowID
) -1;
2911 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2912 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2913 long _arg4
= (long ) (wxLC_ICON
);
2914 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2915 char * _arg6
= (char *) "listCtrl";
2916 PyObject
* _argo0
= 0;
2918 PyObject
* _obj2
= 0;
2920 PyObject
* _obj3
= 0;
2921 PyObject
* _argo5
= 0;
2922 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2938 if (! wxPoint_helper(_obj2
, &_arg2
))
2944 if (! wxSize_helper(_obj3
, &_arg3
))
2948 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2962 _resultobj
= Py_BuildValue("s",_ptemp
);
2965 _resultobj
= Py_None
;
2970 #define new_wxPreListCtrl() (new wxPyListCtrl())
2971 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2973 wxPyListCtrl
* _result
;
2974 char *_kwnames
[] = { NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2988 _resultobj
= Py_BuildValue("s",_ptemp
);
2991 _resultobj
= Py_None
;
2996 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2997 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3000 wxPyListCtrl
* _arg0
;
3002 wxWindowID _arg2
= (wxWindowID
) -1;
3003 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3004 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3005 long _arg5
= (long ) (wxLC_ICON
);
3006 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3007 char * _arg7
= (char *) "listCtrl";
3008 PyObject
* _argo0
= 0;
3009 PyObject
* _argo1
= 0;
3011 PyObject
* _obj3
= 0;
3013 PyObject
* _obj4
= 0;
3014 PyObject
* _argo6
= 0;
3015 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3037 if (! wxPoint_helper(_obj3
, &_arg3
))
3043 if (! wxSize_helper(_obj4
, &_arg4
))
3047 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } _resultobj
= Py_BuildValue("i",_result
);
3063 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3064 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3066 wxPyListCtrl
* _arg0
;
3069 PyObject
* _argo0
= 0;
3070 PyObject
* _obj1
= 0;
3071 PyObject
* _obj2
= 0;
3072 char *_kwnames
[] = { "self","self","_class", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) return NULL
;
3096 } Py_INCREF(Py_None
);
3097 _resultobj
= Py_None
;
3101 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3102 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3105 wxPyListCtrl
* _arg0
;
3107 PyObject
* _argo0
= 0;
3109 PyObject
* _obj1
= 0;
3110 char *_kwnames
[] = { "self","col", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3124 if (! wxColour_helper(_obj1
, &_arg1
))
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) return NULL
;
3133 } _resultobj
= Py_BuildValue("i",_result
);
3137 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3138 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3141 wxPyListCtrl
* _arg0
;
3143 PyObject
* _argo0
= 0;
3145 PyObject
* _obj1
= 0;
3146 char *_kwnames
[] = { "self","col", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3160 if (! wxColour_helper(_obj1
, &_arg1
))
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3169 } _resultobj
= Py_BuildValue("i",_result
);
3173 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3175 if (self
->GetColumn(col
, item
))
3176 return new wxListItem(item
);
3180 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3182 wxListItem
* _result
;
3183 wxPyListCtrl
* _arg0
;
3185 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self","col", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) return NULL
;
3204 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3208 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3209 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3212 wxPyListCtrl
* _arg0
;
3215 PyObject
* _argo0
= 0;
3216 PyObject
* _argo2
= 0;
3217 char *_kwnames
[] = { "self","col","item", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3230 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3247 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxPyListCtrl
* _arg0
;
3252 PyObject
* _argo0
= 0;
3253 char *_kwnames
[] = { "self","col", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } _resultobj
= Py_BuildValue("i",_result
);
3275 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3276 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3279 wxPyListCtrl
* _arg0
;
3282 PyObject
* _argo0
= 0;
3283 char *_kwnames
[] = { "self","col","width", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) return NULL
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3306 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3309 wxPyListCtrl
* _arg0
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3329 } _resultobj
= Py_BuildValue("i",_result
);
3333 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3334 wxListItem
* info
= new wxListItem
;
3335 info
->m_itemId
= itemId
;
3337 info
->m_mask
= 0xFFFF;
3338 self
->GetItem(*info
);
3341 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
* _resultobj
;
3343 wxListItem
* _result
;
3344 wxPyListCtrl
* _arg0
;
3346 int _arg2
= (int ) 0;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self","itemId","col", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) return NULL
;
3366 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3370 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3371 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3374 wxPyListCtrl
* _arg0
;
3376 PyObject
* _argo0
= 0;
3377 PyObject
* _argo1
= 0;
3378 char *_kwnames
[] = { "self","info", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3403 } _resultobj
= Py_BuildValue("i",_result
);
3407 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3408 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3411 wxPyListCtrl
* _arg0
;
3415 int _arg4
= (int ) -1;
3416 PyObject
* _argo0
= 0;
3417 PyObject
* _obj3
= 0;
3418 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3431 _arg3
= wxString_in_helper(_obj3
);
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) return NULL
;
3441 } _resultobj
= Py_BuildValue("l",_result
);
3449 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3450 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3453 wxPyListCtrl
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) return NULL
;
3475 } _resultobj
= Py_BuildValue("i",_result
);
3479 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3480 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3483 wxPyListCtrl
* _arg0
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) return NULL
;
3506 } _resultobj
= Py_BuildValue("i",_result
);
3510 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3511 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3514 wxPyListCtrl
* _arg0
;
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) return NULL
;
3537 } _resultobj
= Py_BuildValue("i",_result
);
3541 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3542 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3545 wxPyListCtrl
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self","item", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3568 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3570 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3579 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3580 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3582 wxPyListCtrl
* _arg0
;
3585 PyObject
* _argo0
= 0;
3586 PyObject
* _obj2
= 0;
3587 char *_kwnames
[] = { "self","item","str", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3600 _arg2
= wxString_in_helper(_obj2
);
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) return NULL
;
3610 } Py_INCREF(Py_None
);
3611 _resultobj
= Py_None
;
3619 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3620 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3623 wxPyListCtrl
* _arg0
;
3625 PyObject
* _argo0
= 0;
3626 char *_kwnames
[] = { "self","item", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) return NULL
;
3644 } _resultobj
= Py_BuildValue("l",_result
);
3648 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3649 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3652 wxPyListCtrl
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self","item","data", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } _resultobj
= Py_BuildValue("i",_result
);
3678 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3679 wxPoint
* pos
= new wxPoint
;
3680 self
->GetItemPosition(item
, *pos
);
3683 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxPyListCtrl
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self","item", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
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_GetItemPosition. Expected _wxPyListCtrl_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3710 _resultobj
= Py_BuildValue("s",_ptemp
);
3713 _resultobj
= Py_None
;
3718 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3719 wxRect
* rect
= new wxRect
;
3720 self
->GetItemRect(item
, *rect
, code
);
3723 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3726 wxPyListCtrl
* _arg0
;
3728 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3729 PyObject
* _argo0
= 0;
3730 char *_kwnames
[] = { "self","item","code", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) return NULL
;
3750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3751 _resultobj
= Py_BuildValue("s",_ptemp
);
3754 _resultobj
= Py_None
;
3759 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3760 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3763 wxPyListCtrl
* _arg0
;
3766 PyObject
* _argo0
= 0;
3768 PyObject
* _obj2
= 0;
3769 char *_kwnames
[] = { "self","item","pos", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3783 if (! wxPoint_helper(_obj2
, &_arg2
))
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3792 } _resultobj
= Py_BuildValue("i",_result
);
3796 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3797 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3800 wxPyListCtrl
* _arg0
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "self", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3825 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxPyListCtrl
* _arg0
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) return NULL
;
3848 } _resultobj
= Py_BuildValue("i",_result
);
3852 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3853 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3856 wxPyListCtrl
* _arg0
;
3858 PyObject
* _argo0
= 0;
3860 char *_kwnames
[] = { "self","isSmall", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3872 _arg1
= (bool ) tempbool1
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) return NULL
;
3879 } _resultobj
= Py_BuildValue("i",_result
);
3883 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3884 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3887 wxPyListCtrl
* _arg0
;
3888 PyObject
* _argo0
= 0;
3889 char *_kwnames
[] = { "self", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3907 } _resultobj
= Py_BuildValue("i",_result
);
3911 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3912 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3915 wxPyListCtrl
* _arg0
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3937 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3942 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxPyListCtrl
* _arg0
;
3946 PyObject
* _argo0
= 0;
3948 PyObject
* _obj1
= 0;
3949 char *_kwnames
[] = { "self","col", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3963 if (! wxColour_helper(_obj1
, &_arg1
))
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3977 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3978 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3981 wxPyListCtrl
* _arg0
;
3982 PyObject
* _argo0
= 0;
3983 char *_kwnames
[] = { "self", NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
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_GetTopItem. Expected _wxPyListCtrl_p.");
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) return NULL
;
4001 } _resultobj
= Py_BuildValue("l",_result
);
4005 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4006 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4008 wxPyListCtrl
* _arg0
;
4010 bool _arg2
= (bool ) TRUE
;
4011 PyObject
* _argo0
= 0;
4012 int tempbool2
= (int) TRUE
;
4013 char *_kwnames
[] = { "self","style","add", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4025 _arg2
= (bool ) tempbool2
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4038 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxPyListCtrl
* _arg0
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self","style", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4067 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4070 wxPyListCtrl
* _arg0
;
4072 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4073 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4074 PyObject
* _argo0
= 0;
4075 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) return NULL
;
4093 } _resultobj
= Py_BuildValue("l",_result
);
4097 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4098 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxImageList
* _result
;
4101 wxPyListCtrl
* _arg0
;
4103 PyObject
* _argo0
= 0;
4104 char *_kwnames
[] = { "self","which", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) return NULL
;
4122 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4126 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4127 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4129 wxPyListCtrl
* _arg0
;
4130 wxImageList
* _arg1
;
4132 PyObject
* _argo0
= 0;
4133 PyObject
* _argo1
= 0;
4134 char *_kwnames
[] = { "self","imageList","which", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) return NULL
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4165 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4167 wxPyListCtrl
* _arg0
;
4168 wxImageList
* _arg1
;
4170 PyObject
* _argo0
= 0;
4171 PyObject
* _argo1
= 0;
4172 char *_kwnames
[] = { "self","imageList","which", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4203 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4206 wxPyListCtrl
* _arg0
;
4207 PyObject
* _argo0
= 0;
4208 char *_kwnames
[] = { "self", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } _resultobj
= Py_BuildValue("i",_result
);
4230 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4231 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxPyListCtrl
* _arg0
;
4235 PyObject
* _argo0
= 0;
4236 char *_kwnames
[] = { "self","item", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) return NULL
;
4254 } Py_INCREF(Py_None
);
4255 _resultobj
= Py_None
;
4259 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4260 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4262 wxPyListCtrl
* _arg0
;
4265 PyObject
* _argo0
= 0;
4266 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } Py_INCREF(Py_None
);
4285 _resultobj
= Py_None
;
4289 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4290 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4293 wxPyListCtrl
* _arg0
;
4294 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4295 PyObject
* _argo0
= 0;
4296 char *_kwnames
[] = { "self","flag", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) return NULL
;
4314 } _resultobj
= Py_BuildValue("i",_result
);
4318 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4319 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4322 wxPyListCtrl
* _arg0
;
4324 PyObject
* _argo0
= 0;
4325 char *_kwnames
[] = { "self","item", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) return NULL
;
4343 } _resultobj
= Py_BuildValue("i",_result
);
4347 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4348 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4351 wxPyListCtrl
* _arg0
;
4352 PyObject
* _argo0
= 0;
4353 char *_kwnames
[] = { "self", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) return NULL
;
4371 } _resultobj
= Py_BuildValue("i",_result
);
4375 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4376 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4379 wxPyListCtrl
* _arg0
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self","col", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) return NULL
;
4400 } _resultobj
= Py_BuildValue("i",_result
);
4404 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4405 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4408 wxPyListCtrl
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) return NULL
;
4428 } _resultobj
= Py_BuildValue("i",_result
);
4432 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4433 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4435 wxPyListCtrl
* _arg0
;
4436 PyObject
* _argo0
= 0;
4437 char *_kwnames
[] = { "self", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxListCtrl_ClearAll(_arg0
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) return NULL
;
4455 } Py_INCREF(Py_None
);
4456 _resultobj
= Py_None
;
4460 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4461 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4464 wxPyListCtrl
* _arg0
;
4466 PyObject
* _argo0
= 0;
4467 char *_kwnames
[] = { "self","item", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) return NULL
;
4485 } _resultobj
= Py_BuildValue("i",_result
);
4489 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4490 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4493 wxPyListCtrl
* _arg0
;
4496 bool _arg3
= (bool ) FALSE
;
4497 PyObject
* _argo0
= 0;
4498 PyObject
* _obj2
= 0;
4499 int tempbool3
= (int) FALSE
;
4500 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4513 _arg2
= wxString_in_helper(_obj2
);
4517 _arg3
= (bool ) tempbool3
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) return NULL
;
4524 } _resultobj
= Py_BuildValue("l",_result
);
4532 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4533 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4536 wxPyListCtrl
* _arg0
;
4539 PyObject
* _argo0
= 0;
4540 char *_kwnames
[] = { "self","start","data", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4558 } _resultobj
= Py_BuildValue("l",_result
);
4562 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4563 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4566 wxPyListCtrl
* _arg0
;
4570 PyObject
* _argo0
= 0;
4572 PyObject
* _obj2
= 0;
4573 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4587 if (! wxPoint_helper(_obj2
, &_arg2
))
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) return NULL
;
4596 } _resultobj
= Py_BuildValue("l",_result
);
4600 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4601 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4604 wxPyListCtrl
* _arg0
;
4608 PyObject
* _argo0
= 0;
4610 PyObject
* _obj1
= 0;
4611 char *_kwnames
[] = { "self","point", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4628 if (! wxPoint_helper(_obj1
, &_arg1
))
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) return NULL
;
4637 } _resultobj
= Py_BuildValue("l",_result
);
4640 o
= PyInt_FromLong((long) (*_arg2
));
4641 _resultobj
= t_output_helper(_resultobj
, o
);
4646 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4647 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4650 wxPyListCtrl
* _arg0
;
4652 PyObject
* _argo0
= 0;
4653 PyObject
* _argo1
= 0;
4654 char *_kwnames
[] = { "self","info", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4679 } _resultobj
= Py_BuildValue("l",_result
);
4683 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4684 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4687 wxPyListCtrl
* _arg0
;
4690 PyObject
* _argo0
= 0;
4691 PyObject
* _obj2
= 0;
4692 char *_kwnames
[] = { "self","index","label", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4705 _arg2
= wxString_in_helper(_obj2
);
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) return NULL
;
4715 } _resultobj
= Py_BuildValue("l",_result
);
4723 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4724 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4727 wxPyListCtrl
* _arg0
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) return NULL
;
4749 } _resultobj
= Py_BuildValue("l",_result
);
4753 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4754 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4757 wxPyListCtrl
* _arg0
;
4761 PyObject
* _argo0
= 0;
4762 PyObject
* _obj2
= 0;
4763 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4776 _arg2
= wxString_in_helper(_obj2
);
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } _resultobj
= Py_BuildValue("l",_result
);
4794 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4795 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4798 wxPyListCtrl
* _arg0
;
4801 PyObject
* _argo0
= 0;
4802 PyObject
* _argo2
= 0;
4803 char *_kwnames
[] = { "self","col","info", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4816 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4817 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) return NULL
;
4828 } _resultobj
= Py_BuildValue("l",_result
);
4832 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4833 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 wxPyListCtrl
* _arg0
;
4839 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4840 int _arg4
= (int ) -1;
4841 PyObject
* _argo0
= 0;
4842 PyObject
* _obj2
= 0;
4843 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4856 _arg2
= wxString_in_helper(_obj2
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4866 } _resultobj
= Py_BuildValue("l",_result
);
4874 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4875 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4877 wxPyListCtrl
* _arg0
;
4879 PyObject
* _argo0
= 0;
4880 char *_kwnames
[] = { "self","count", NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) return NULL
;
4898 } Py_INCREF(Py_None
);
4899 _resultobj
= Py_None
;
4903 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4904 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
* _resultobj
;
4907 wxPyListCtrl
* _arg0
;
4910 PyObject
* _argo0
= 0;
4911 char *_kwnames
[] = { "self","dx","dy", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4929 } _resultobj
= Py_BuildValue("i",_result
);
4933 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4934 if (!PyCallable_Check(func
))
4936 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4938 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4941 wxPyListCtrl
* _arg0
;
4943 PyObject
* _argo0
= 0;
4944 PyObject
* _obj1
= 0;
4945 char *_kwnames
[] = { "self","func", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) return NULL
;
4966 } _resultobj
= Py_BuildValue("i",_result
);
4970 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
4973 src
= (wxListView
*) ptr
;
4974 dest
= (wxPyListCtrl
*) src
;
4975 return (void *) dest
;
4978 static void *SwigwxListViewTowxControl(void *ptr
) {
4981 src
= (wxListView
*) ptr
;
4982 dest
= (wxControl
*) src
;
4983 return (void *) dest
;
4986 static void *SwigwxListViewTowxWindow(void *ptr
) {
4989 src
= (wxListView
*) ptr
;
4990 dest
= (wxWindow
*) src
;
4991 return (void *) dest
;
4994 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
4997 src
= (wxListView
*) ptr
;
4998 dest
= (wxEvtHandler
*) src
;
4999 return (void *) dest
;
5002 static void *SwigwxListViewTowxObject(void *ptr
) {
5005 src
= (wxListView
*) ptr
;
5006 dest
= (wxObject
*) src
;
5007 return (void *) dest
;
5010 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5011 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5013 wxListView
* _result
;
5015 wxWindowID _arg1
= (wxWindowID
) -1;
5016 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5017 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5018 long _arg4
= (long ) (wxLC_REPORT
);
5019 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5020 wxString
* _arg6
= (wxString
*) &"listctrl";
5021 PyObject
* _argo0
= 0;
5023 PyObject
* _obj2
= 0;
5025 PyObject
* _obj3
= 0;
5026 PyObject
* _argo5
= 0;
5027 PyObject
* _obj6
= 0;
5028 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5044 if (! wxPoint_helper(_obj2
, &_arg2
))
5050 if (! wxSize_helper(_obj3
, &_arg3
))
5054 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5062 _arg6
= wxString_in_helper(_obj6
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) return NULL
;
5073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5074 _resultobj
= Py_BuildValue("s",_ptemp
);
5077 _resultobj
= Py_None
;
5086 #define new_wxPreListView() (new wxListView())
5087 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5089 wxListView
* _result
;
5090 char *_kwnames
[] = { NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 _result
= (wxListView
*)new_wxPreListView();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) return NULL
;
5103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5104 _resultobj
= Py_BuildValue("s",_ptemp
);
5107 _resultobj
= Py_None
;
5112 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5113 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5118 wxWindowID _arg2
= (wxWindowID
) -1;
5119 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5120 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5121 long _arg5
= (long ) (wxLC_REPORT
);
5122 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5123 wxString
* _arg7
= (wxString
*) &"listctrl";
5124 PyObject
* _argo0
= 0;
5125 PyObject
* _argo1
= 0;
5127 PyObject
* _obj3
= 0;
5129 PyObject
* _obj4
= 0;
5130 PyObject
* _argo6
= 0;
5131 PyObject
* _obj7
= 0;
5132 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5154 if (! wxPoint_helper(_obj3
, &_arg3
))
5160 if (! wxSize_helper(_obj4
, &_arg4
))
5164 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5172 _arg7
= wxString_in_helper(_obj7
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) return NULL
;
5182 } _resultobj
= Py_BuildValue("i",_result
);
5190 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5191 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5195 bool _arg2
= (bool ) TRUE
;
5196 PyObject
* _argo0
= 0;
5197 int tempbool2
= (int) TRUE
;
5198 char *_kwnames
[] = { "self","n","on", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5210 _arg2
= (bool ) tempbool2
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 wxListView_Select(_arg0
,_arg1
,_arg2
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) return NULL
;
5217 } Py_INCREF(Py_None
);
5218 _resultobj
= Py_None
;
5222 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5223 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5227 PyObject
* _argo0
= 0;
5228 char *_kwnames
[] = { "self","index", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxListView_Focus(_arg0
,_arg1
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) return NULL
;
5246 } Py_INCREF(Py_None
);
5247 _resultobj
= Py_None
;
5251 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5252 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) return NULL
;
5275 } _resultobj
= Py_BuildValue("l",_result
);
5279 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5280 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self","item", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5304 } _resultobj
= Py_BuildValue("l",_result
);
5308 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5309 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5313 PyObject
* _argo0
= 0;
5314 char *_kwnames
[] = { "self", NULL
};
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) return NULL
;
5332 } _resultobj
= Py_BuildValue("l",_result
);
5336 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5337 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5342 PyObject
* _argo0
= 0;
5343 char *_kwnames
[] = { "self","index", NULL
};
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) return NULL
;
5361 } _resultobj
= Py_BuildValue("i",_result
);
5365 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5366 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5371 PyObject
* _argo0
= 0;
5372 char *_kwnames
[] = { "self","col","image", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) return NULL
;
5390 } Py_INCREF(Py_None
);
5391 _resultobj
= Py_None
;
5395 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5396 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5400 PyObject
* _argo0
= 0;
5401 char *_kwnames
[] = { "self","col", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 wxListView_ClearColumnImage(_arg0
,_arg1
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) return NULL
;
5419 } Py_INCREF(Py_None
);
5420 _resultobj
= Py_None
;
5424 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5425 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5427 wxTreeItemAttr
* _result
;
5428 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5429 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5430 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5432 PyObject
* _obj0
= 0;
5434 PyObject
* _obj1
= 0;
5435 PyObject
* _argo2
= 0;
5436 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5445 if (! wxColour_helper(_obj0
, &_arg0
))
5451 if (! wxColour_helper(_obj1
, &_arg1
))
5455 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) return NULL
;
5468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5469 _resultobj
= Py_BuildValue("s",_ptemp
);
5472 _resultobj
= Py_None
;
5477 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5478 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5480 wxTreeItemAttr
* _arg0
;
5482 PyObject
* _argo0
= 0;
5484 PyObject
* _obj1
= 0;
5485 char *_kwnames
[] = { "self","colText", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5499 if (! wxColour_helper(_obj1
, &_arg1
))
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) return NULL
;
5508 } Py_INCREF(Py_None
);
5509 _resultobj
= Py_None
;
5513 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5514 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5516 wxTreeItemAttr
* _arg0
;
5518 PyObject
* _argo0
= 0;
5520 PyObject
* _obj1
= 0;
5521 char *_kwnames
[] = { "self","colBack", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5535 if (! wxColour_helper(_obj1
, &_arg1
))
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) return NULL
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5550 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5552 wxTreeItemAttr
* _arg0
;
5554 PyObject
* _argo0
= 0;
5555 PyObject
* _argo1
= 0;
5556 char *_kwnames
[] = { "self","font", NULL
};
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) return NULL
;
5581 } Py_INCREF(Py_None
);
5582 _resultobj
= Py_None
;
5586 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5587 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5590 wxTreeItemAttr
* _arg0
;
5591 PyObject
* _argo0
= 0;
5592 char *_kwnames
[] = { "self", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) return NULL
;
5610 } _resultobj
= Py_BuildValue("i",_result
);
5614 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5615 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5618 wxTreeItemAttr
* _arg0
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) return NULL
;
5638 } _resultobj
= Py_BuildValue("i",_result
);
5642 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5643 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5646 wxTreeItemAttr
* _arg0
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5666 } _resultobj
= Py_BuildValue("i",_result
);
5670 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5671 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5674 wxTreeItemAttr
* _arg0
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5696 _resultobj
= Py_BuildValue("s",_ptemp
);
5700 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5701 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5704 wxTreeItemAttr
* _arg0
;
5705 PyObject
* _argo0
= 0;
5706 char *_kwnames
[] = { "self", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5726 _resultobj
= Py_BuildValue("s",_ptemp
);
5730 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5731 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5734 wxTreeItemAttr
* _arg0
;
5735 PyObject
* _argo0
= 0;
5736 char *_kwnames
[] = { "self", NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) return NULL
;
5755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5756 _resultobj
= Py_BuildValue("s",_ptemp
);
5760 #define new_wxTreeItemId() (new wxTreeItemId())
5761 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5763 wxTreeItemId
* _result
;
5764 char *_kwnames
[] = { NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) return NULL
;
5777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5781 _resultobj
= Py_None
;
5786 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5787 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5789 wxTreeItemId
* _arg0
;
5790 PyObject
* _argo0
= 0;
5791 char *_kwnames
[] = { "self", NULL
};
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 delete_wxTreeItemId(_arg0
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) return NULL
;
5809 } Py_INCREF(Py_None
);
5810 _resultobj
= Py_None
;
5814 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5815 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 wxTreeItemId
* _arg0
;
5819 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "self", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) return NULL
;
5838 } _resultobj
= Py_BuildValue("i",_result
);
5842 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5843 if (! other
) return -1;
5844 return *self
!= *other
;
5846 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5849 wxTreeItemId
* _arg0
;
5850 wxTreeItemId
* _arg1
;
5851 PyObject
* _argo0
= 0;
5852 PyObject
* _argo1
= 0;
5853 char *_kwnames
[] = { "self","other", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) return NULL
;
5878 } _resultobj
= Py_BuildValue("i",_result
);
5882 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5883 wxPyTreeItemData
*src
;
5885 src
= (wxPyTreeItemData
*) ptr
;
5886 dest
= (wxObject
*) src
;
5887 return (void *) dest
;
5890 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5891 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5893 wxPyTreeItemData
* _result
;
5894 PyObject
* _arg0
= (PyObject
*) NULL
;
5895 PyObject
* _obj0
= 0;
5896 char *_kwnames
[] = { "obj", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) return NULL
;
5913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5914 _resultobj
= Py_BuildValue("s",_ptemp
);
5917 _resultobj
= Py_None
;
5922 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5923 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5926 wxPyTreeItemData
* _arg0
;
5927 PyObject
* _argo0
= 0;
5928 char *_kwnames
[] = { "self", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) return NULL
;
5947 _resultobj
= _result
;
5952 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5953 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5955 wxPyTreeItemData
* _arg0
;
5957 PyObject
* _argo0
= 0;
5958 PyObject
* _obj1
= 0;
5959 char *_kwnames
[] = { "self","obj", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxTreeItemData_SetData(_arg0
,_arg1
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) return NULL
;
5980 } Py_INCREF(Py_None
);
5981 _resultobj
= Py_None
;
5985 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
5986 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxTreeItemId
* _result
;
5989 wxPyTreeItemData
* _arg0
;
5990 PyObject
* _argo0
= 0;
5991 char *_kwnames
[] = { "self", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
5998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6007 _result
= (wxTreeItemId
*) &_result_ref
;
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6013 _resultobj
= Py_BuildValue("s",_ptemp
);
6016 _resultobj
= Py_None
;
6021 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6022 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6024 wxPyTreeItemData
* _arg0
;
6025 wxTreeItemId
* _arg1
;
6026 PyObject
* _argo0
= 0;
6027 PyObject
* _argo1
= 0;
6028 char *_kwnames
[] = { "self","id", NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxTreeItemData_SetId(_arg0
,*_arg1
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) return NULL
;
6053 } Py_INCREF(Py_None
);
6054 _resultobj
= Py_None
;
6058 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6060 wxNotifyEvent
*dest
;
6061 src
= (wxTreeEvent
*) ptr
;
6062 dest
= (wxNotifyEvent
*) src
;
6063 return (void *) dest
;
6066 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6068 wxCommandEvent
*dest
;
6069 src
= (wxTreeEvent
*) ptr
;
6070 dest
= (wxCommandEvent
*) src
;
6071 return (void *) dest
;
6074 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6077 src
= (wxTreeEvent
*) ptr
;
6078 dest
= (wxEvent
*) src
;
6079 return (void *) dest
;
6082 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6085 src
= (wxTreeEvent
*) ptr
;
6086 dest
= (wxObject
*) src
;
6087 return (void *) dest
;
6090 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6091 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxTreeEvent
* _result
;
6094 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6095 int _arg1
= (int ) 0;
6096 char *_kwnames
[] = { "commandType","id", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) return NULL
;
6109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6110 _resultobj
= Py_BuildValue("s",_ptemp
);
6113 _resultobj
= Py_None
;
6118 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6119 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6121 wxTreeItemId
* _result
;
6122 wxTreeEvent
* _arg0
;
6123 PyObject
* _argo0
= 0;
6124 char *_kwnames
[] = { "self", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) return NULL
;
6143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6144 _resultobj
= Py_BuildValue("s",_ptemp
);
6148 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6149 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6151 wxTreeItemId
* _result
;
6152 wxTreeEvent
* _arg0
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self", NULL
};
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) return NULL
;
6173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6174 _resultobj
= Py_BuildValue("s",_ptemp
);
6178 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6179 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6182 wxTreeEvent
* _arg0
;
6183 PyObject
* _argo0
= 0;
6184 char *_kwnames
[] = { "self", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) return NULL
;
6203 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6204 _resultobj
= Py_BuildValue("s",_ptemp
);
6208 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6209 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6211 wxKeyEvent
* _result
;
6212 wxTreeEvent
* _arg0
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6230 _result
= (wxKeyEvent
*) &_result_ref
;
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) return NULL
;
6235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6236 _resultobj
= Py_BuildValue("s",_ptemp
);
6239 _resultobj
= Py_None
;
6244 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6245 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6248 wxTreeEvent
* _arg0
;
6249 PyObject
* _argo0
= 0;
6250 char *_kwnames
[] = { "self", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) return NULL
;
6268 } _resultobj
= Py_BuildValue("i",_result
);
6272 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6273 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6276 wxTreeEvent
* _arg0
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6293 _result
= (wxString
*) &_result_ref
;
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) return NULL
;
6299 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6301 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6307 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6310 src
= (wxPyTreeCtrl
*) ptr
;
6311 dest
= (wxControl
*) src
;
6312 return (void *) dest
;
6315 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6318 src
= (wxPyTreeCtrl
*) ptr
;
6319 dest
= (wxWindow
*) src
;
6320 return (void *) dest
;
6323 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6326 src
= (wxPyTreeCtrl
*) ptr
;
6327 dest
= (wxEvtHandler
*) src
;
6328 return (void *) dest
;
6331 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6334 src
= (wxPyTreeCtrl
*) ptr
;
6335 dest
= (wxObject
*) src
;
6336 return (void *) dest
;
6339 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6340 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6342 wxPyTreeCtrl
* _result
;
6344 wxWindowID _arg1
= (wxWindowID
) -1;
6345 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6346 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6347 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6348 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6349 char * _arg6
= (char *) "wxTreeCtrl";
6350 PyObject
* _argo0
= 0;
6352 PyObject
* _obj2
= 0;
6354 PyObject
* _obj3
= 0;
6355 PyObject
* _argo5
= 0;
6356 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6372 if (! wxPoint_helper(_obj2
, &_arg2
))
6378 if (! wxSize_helper(_obj3
, &_arg3
))
6382 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6396 _resultobj
= Py_BuildValue("s",_ptemp
);
6399 _resultobj
= Py_None
;
6404 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6405 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6407 wxPyTreeCtrl
* _result
;
6408 char *_kwnames
[] = { NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) return NULL
;
6421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6422 _resultobj
= Py_BuildValue("s",_ptemp
);
6425 _resultobj
= Py_None
;
6430 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6431 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6434 wxPyTreeCtrl
* _arg0
;
6436 wxWindowID _arg2
= (wxWindowID
) -1;
6437 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6438 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6439 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6440 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6441 char * _arg7
= (char *) "wxTreeCtrl";
6442 PyObject
* _argo0
= 0;
6443 PyObject
* _argo1
= 0;
6445 PyObject
* _obj3
= 0;
6447 PyObject
* _obj4
= 0;
6448 PyObject
* _argo6
= 0;
6449 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6471 if (! wxPoint_helper(_obj3
, &_arg3
))
6477 if (! wxSize_helper(_obj4
, &_arg4
))
6481 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) return NULL
;
6493 } _resultobj
= Py_BuildValue("i",_result
);
6497 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6498 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6500 wxPyTreeCtrl
* _arg0
;
6503 PyObject
* _argo0
= 0;
6504 PyObject
* _obj1
= 0;
6505 PyObject
* _obj2
= 0;
6506 char *_kwnames
[] = { "self","self","_class", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) return NULL
;
6530 } Py_INCREF(Py_None
);
6531 _resultobj
= Py_None
;
6535 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6536 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6539 wxPyTreeCtrl
* _arg0
;
6540 PyObject
* _argo0
= 0;
6541 char *_kwnames
[] = { "self", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) return NULL
;
6559 } _resultobj
= Py_BuildValue("i",_result
);
6563 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6564 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6566 unsigned int _result
;
6567 wxPyTreeCtrl
* _arg0
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) return NULL
;
6587 } _resultobj
= Py_BuildValue("i",_result
);
6591 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6592 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
* _resultobj
;
6594 wxPyTreeCtrl
* _arg0
;
6596 PyObject
* _argo0
= 0;
6597 char *_kwnames
[] = { "self","indent", NULL
};
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) return NULL
;
6615 } Py_INCREF(Py_None
);
6616 _resultobj
= Py_None
;
6620 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6621 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
* _resultobj
;
6623 wxImageList
* _result
;
6624 wxPyTreeCtrl
* _arg0
;
6625 PyObject
* _argo0
= 0;
6626 char *_kwnames
[] = { "self", NULL
};
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) return NULL
;
6644 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6648 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6649 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
* _resultobj
;
6651 wxImageList
* _result
;
6652 wxPyTreeCtrl
* _arg0
;
6653 PyObject
* _argo0
= 0;
6654 char *_kwnames
[] = { "self", NULL
};
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) return NULL
;
6672 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6676 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6677 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
* _resultobj
;
6679 wxPyTreeCtrl
* _arg0
;
6680 wxImageList
* _arg1
;
6681 PyObject
* _argo0
= 0;
6682 PyObject
* _argo1
= 0;
6683 char *_kwnames
[] = { "self","imageList", NULL
};
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) return NULL
;
6708 } Py_INCREF(Py_None
);
6709 _resultobj
= Py_None
;
6713 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6714 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
* _resultobj
;
6716 wxPyTreeCtrl
* _arg0
;
6717 wxImageList
* _arg1
;
6718 PyObject
* _argo0
= 0;
6719 PyObject
* _argo1
= 0;
6720 char *_kwnames
[] = { "self","imageList", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) return NULL
;
6745 } Py_INCREF(Py_None
);
6746 _resultobj
= Py_None
;
6750 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6751 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
* _resultobj
;
6753 wxPyTreeCtrl
* _arg0
;
6754 wxImageList
* _arg1
;
6755 PyObject
* _argo0
= 0;
6756 PyObject
* _argo1
= 0;
6757 char *_kwnames
[] = { "self","imageList", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) return NULL
;
6782 } Py_INCREF(Py_None
);
6783 _resultobj
= Py_None
;
6787 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6788 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6790 wxPyTreeCtrl
* _arg0
;
6791 wxImageList
* _arg1
;
6792 PyObject
* _argo0
= 0;
6793 PyObject
* _argo1
= 0;
6794 char *_kwnames
[] = { "self","imageList", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6807 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) return NULL
;
6819 } Py_INCREF(Py_None
);
6820 _resultobj
= Py_None
;
6824 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6825 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
* _resultobj
;
6827 unsigned int _result
;
6828 wxPyTreeCtrl
* _arg0
;
6829 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) return NULL
;
6848 } _resultobj
= Py_BuildValue("i",_result
);
6852 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6853 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6855 wxPyTreeCtrl
* _arg0
;
6857 PyObject
* _argo0
= 0;
6858 char *_kwnames
[] = { "self","spacing", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) return NULL
;
6876 } Py_INCREF(Py_None
);
6877 _resultobj
= Py_None
;
6881 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6882 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6885 wxPyTreeCtrl
* _arg0
;
6886 wxTreeItemId
* _arg1
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _argo1
= 0;
6889 char *_kwnames
[] = { "self","item", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
6902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6916 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6918 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6927 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
6928 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6931 wxPyTreeCtrl
* _arg0
;
6932 wxTreeItemId
* _arg1
;
6933 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6934 PyObject
* _argo0
= 0;
6935 PyObject
* _argo1
= 0;
6936 char *_kwnames
[] = { "self","item","which", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
6949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } _resultobj
= Py_BuildValue("i",_result
);
6965 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6966 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6969 wxPyTreeCtrl
* _arg0
;
6970 wxTreeItemId
* _arg1
;
6971 PyObject
* _argo0
= 0;
6972 PyObject
* _argo1
= 0;
6973 char *_kwnames
[] = { "self","item", NULL
};
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
6979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) return NULL
;
6998 } _resultobj
= Py_BuildValue("i",_result
);
7002 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7003 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
* _resultobj
;
7005 wxPyTreeCtrl
* _arg0
;
7006 wxTreeItemId
* _arg1
;
7008 PyObject
* _argo0
= 0;
7009 PyObject
* _argo1
= 0;
7010 PyObject
* _obj2
= 0;
7011 char *_kwnames
[] = { "self","item","text", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7031 _arg2
= wxString_in_helper(_obj2
);
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7041 } Py_INCREF(Py_None
);
7042 _resultobj
= Py_None
;
7050 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7051 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
* _resultobj
;
7053 wxPyTreeCtrl
* _arg0
;
7054 wxTreeItemId
* _arg1
;
7056 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7057 PyObject
* _argo0
= 0;
7058 PyObject
* _argo1
= 0;
7059 char *_kwnames
[] = { "self","item","image","which", NULL
};
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) return NULL
;
7084 } Py_INCREF(Py_None
);
7085 _resultobj
= Py_None
;
7089 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7090 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7092 wxPyTreeCtrl
* _arg0
;
7093 wxTreeItemId
* _arg1
;
7095 PyObject
* _argo0
= 0;
7096 PyObject
* _argo1
= 0;
7097 char *_kwnames
[] = { "self","item","image", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) return NULL
;
7122 } Py_INCREF(Py_None
);
7123 _resultobj
= Py_None
;
7127 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7128 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7130 wxPyTreeCtrl
* _arg0
;
7131 wxTreeItemId
* _arg1
;
7132 bool _arg2
= (bool ) TRUE
;
7133 PyObject
* _argo0
= 0;
7134 PyObject
* _argo1
= 0;
7135 int tempbool2
= (int) TRUE
;
7136 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7149 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7150 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7155 _arg2
= (bool ) tempbool2
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } Py_INCREF(Py_None
);
7163 _resultobj
= Py_None
;
7167 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7168 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7170 data
= new wxPyTreeItemData();
7171 data
->SetId(item
); // set the id
7172 self
->SetItemData(item
, data
);
7176 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7178 wxPyTreeItemData
* _result
;
7179 wxPyTreeCtrl
* _arg0
;
7180 wxTreeItemId
* _arg1
;
7181 PyObject
* _argo0
= 0;
7182 PyObject
* _argo1
= 0;
7183 char *_kwnames
[] = { "self","item", NULL
};
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) return NULL
;
7210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7211 _resultobj
= Py_BuildValue("s",_ptemp
);
7214 _resultobj
= Py_None
;
7219 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7220 data
->SetId(item
); // set the id
7221 self
->SetItemData(item
, data
);
7223 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7225 wxPyTreeCtrl
* _arg0
;
7226 wxTreeItemId
* _arg1
;
7227 wxPyTreeItemData
* _arg2
;
7228 PyObject
* _argo0
= 0;
7229 PyObject
* _argo1
= 0;
7230 PyObject
* _argo2
= 0;
7231 char *_kwnames
[] = { "self","item","data", NULL
};
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7251 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) return NULL
;
7263 } Py_INCREF(Py_None
);
7264 _resultobj
= Py_None
;
7268 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7269 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7271 data
= new wxPyTreeItemData();
7272 data
->SetId(item
); // set the id
7273 self
->SetItemData(item
, data
);
7275 return data
->GetData();
7277 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7280 wxPyTreeCtrl
* _arg0
;
7281 wxTreeItemId
* _arg1
;
7282 PyObject
* _argo0
= 0;
7283 PyObject
* _argo1
= 0;
7284 char *_kwnames
[] = { "self","item", NULL
};
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) return NULL
;
7310 _resultobj
= _result
;
7315 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7316 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7318 data
= new wxPyTreeItemData(obj
);
7319 data
->SetId(item
); // set the id
7320 self
->SetItemData(item
, data
);
7324 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7326 wxPyTreeCtrl
* _arg0
;
7327 wxTreeItemId
* _arg1
;
7329 PyObject
* _argo0
= 0;
7330 PyObject
* _argo1
= 0;
7331 PyObject
* _obj2
= 0;
7332 char *_kwnames
[] = { "self","item","obj", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) return NULL
;
7360 } Py_INCREF(Py_None
);
7361 _resultobj
= Py_None
;
7365 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7366 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
* _resultobj
;
7369 wxPyTreeCtrl
* _arg0
;
7370 wxTreeItemId
* _arg1
;
7371 PyObject
* _argo0
= 0;
7372 PyObject
* _argo1
= 0;
7373 char *_kwnames
[] = { "self","item", NULL
};
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) return NULL
;
7398 } _resultobj
= Py_BuildValue("i",_result
);
7402 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7403 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
* _resultobj
;
7406 wxPyTreeCtrl
* _arg0
;
7407 wxTreeItemId
* _arg1
;
7408 PyObject
* _argo0
= 0;
7409 PyObject
* _argo1
= 0;
7410 char *_kwnames
[] = { "self","item", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } _resultobj
= Py_BuildValue("i",_result
);
7439 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7440 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7443 wxPyTreeCtrl
* _arg0
;
7444 wxTreeItemId
* _arg1
;
7445 PyObject
* _argo0
= 0;
7446 PyObject
* _argo1
= 0;
7447 char *_kwnames
[] = { "self","item", NULL
};
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) return NULL
;
7472 } _resultobj
= Py_BuildValue("i",_result
);
7476 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7477 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7480 wxPyTreeCtrl
* _arg0
;
7481 wxTreeItemId
* _arg1
;
7482 PyObject
* _argo0
= 0;
7483 PyObject
* _argo1
= 0;
7484 char *_kwnames
[] = { "self","item", NULL
};
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) return NULL
;
7509 } _resultobj
= Py_BuildValue("i",_result
);
7513 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7514 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7516 wxTreeItemId
* _result
;
7517 wxPyTreeCtrl
* _arg0
;
7518 PyObject
* _argo0
= 0;
7519 char *_kwnames
[] = { "self", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) return NULL
;
7538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7539 _resultobj
= Py_BuildValue("s",_ptemp
);
7543 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7544 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7546 wxTreeItemId
* _result
;
7547 wxPyTreeCtrl
* _arg0
;
7548 PyObject
* _argo0
= 0;
7549 char *_kwnames
[] = { "self", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7569 _resultobj
= Py_BuildValue("s",_ptemp
);
7573 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7574 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7576 wxTreeItemId
* _result
;
7577 wxPyTreeCtrl
* _arg0
;
7578 wxTreeItemId
* _arg1
;
7579 PyObject
* _argo0
= 0;
7580 PyObject
* _argo1
= 0;
7581 char *_kwnames
[] = { "self","item", NULL
};
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) return NULL
;
7607 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7608 _resultobj
= Py_BuildValue("s",_ptemp
);
7612 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7613 wxPyBeginBlockThreads();
7614 PyObject
* rval
= PyList_New(0);
7615 wxArrayTreeItemIds array
;
7617 num
= self
->GetSelections(array
);
7618 for (x
=0; x
< num
; x
++) {
7619 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7620 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7621 PyList_Append(rval
, item
);
7623 wxPyEndBlockThreads();
7626 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7629 wxPyTreeCtrl
* _arg0
;
7630 PyObject
* _argo0
= 0;
7631 char *_kwnames
[] = { "self", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) return NULL
;
7650 _resultobj
= _result
;
7655 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7656 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
* _resultobj
;
7659 wxPyTreeCtrl
* _arg0
;
7660 wxTreeItemId
* _arg1
;
7661 bool _arg2
= (bool ) TRUE
;
7662 PyObject
* _argo0
= 0;
7663 PyObject
* _argo1
= 0;
7664 int tempbool2
= (int) TRUE
;
7665 char *_kwnames
[] = { "self","item","recursively", NULL
};
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7684 _arg2
= (bool ) tempbool2
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) return NULL
;
7691 } _resultobj
= Py_BuildValue("i",_result
);
7695 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7696 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
* _resultobj
;
7698 wxTreeItemId
* _result
;
7699 wxPyTreeCtrl
* _arg0
;
7700 wxTreeItemId
* _arg1
;
7702 PyObject
* _argo0
= 0;
7703 PyObject
* _argo1
= 0;
7705 PyObject
* _obj2
= 0;
7706 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7727 temp
= (long) PyInt_AsLong(_obj2
);
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) return NULL
;
7736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7737 _resultobj
= Py_BuildValue("s",_ptemp
);
7740 o
= PyInt_FromLong((long) (*_arg2
));
7741 _resultobj
= t_output_helper(_resultobj
, o
);
7746 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7747 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7749 wxTreeItemId
* _result
;
7750 wxPyTreeCtrl
* _arg0
;
7751 wxTreeItemId
* _arg1
;
7753 PyObject
* _argo0
= 0;
7754 PyObject
* _argo1
= 0;
7756 PyObject
* _obj2
= 0;
7757 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7778 temp
= (long) PyInt_AsLong(_obj2
);
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) return NULL
;
7787 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7788 _resultobj
= Py_BuildValue("s",_ptemp
);
7791 o
= PyInt_FromLong((long) (*_arg2
));
7792 _resultobj
= t_output_helper(_resultobj
, o
);
7797 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7798 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
* _resultobj
;
7800 wxTreeItemId
* _result
;
7801 wxPyTreeCtrl
* _arg0
;
7802 wxTreeItemId
* _arg1
;
7803 PyObject
* _argo0
= 0;
7804 PyObject
* _argo1
= 0;
7805 char *_kwnames
[] = { "self","item", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) return NULL
;
7831 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7832 _resultobj
= Py_BuildValue("s",_ptemp
);
7836 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7837 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
* _resultobj
;
7839 wxTreeItemId
* _result
;
7840 wxPyTreeCtrl
* _arg0
;
7841 wxTreeItemId
* _arg1
;
7842 PyObject
* _argo0
= 0;
7843 PyObject
* _argo1
= 0;
7844 char *_kwnames
[] = { "self","item", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) return NULL
;
7870 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7871 _resultobj
= Py_BuildValue("s",_ptemp
);
7875 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7876 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
* _resultobj
;
7878 wxTreeItemId
* _result
;
7879 wxPyTreeCtrl
* _arg0
;
7880 PyObject
* _argo0
= 0;
7881 char *_kwnames
[] = { "self", NULL
};
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
7888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) return NULL
;
7900 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7901 _resultobj
= Py_BuildValue("s",_ptemp
);
7905 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
7906 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
* _resultobj
;
7908 wxTreeItemId
* _result
;
7909 wxPyTreeCtrl
* _arg0
;
7910 wxTreeItemId
* _arg1
;
7911 PyObject
* _argo0
= 0;
7912 PyObject
* _argo1
= 0;
7913 char *_kwnames
[] = { "self","item", NULL
};
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
7920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
7927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) return NULL
;
7939 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7940 _resultobj
= Py_BuildValue("s",_ptemp
);
7944 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
7945 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7947 wxTreeItemId
* _result
;
7948 wxPyTreeCtrl
* _arg0
;
7949 wxTreeItemId
* _arg1
;
7950 PyObject
* _argo0
= 0;
7951 PyObject
* _argo1
= 0;
7952 char *_kwnames
[] = { "self","item", NULL
};
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
7959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
7966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) return NULL
;
7978 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7979 _resultobj
= Py_BuildValue("s",_ptemp
);
7983 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
7984 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7986 wxTreeItemId
* _result
;
7987 wxPyTreeCtrl
* _arg0
;
7988 wxTreeItemId
* _arg1
;
7989 PyObject
* _argo0
= 0;
7990 PyObject
* _argo1
= 0;
7991 char *_kwnames
[] = { "self","item", NULL
};
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
7998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
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_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8023 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
* _resultobj
;
8025 wxTreeItemId
* _result
;
8026 wxPyTreeCtrl
* _arg0
;
8028 int _arg2
= (int ) -1;
8029 int _arg3
= (int ) -1;
8030 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8031 PyObject
* _argo0
= 0;
8032 PyObject
* _obj1
= 0;
8033 PyObject
* _argo4
= 0;
8034 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8048 _arg1
= wxString_in_helper(_obj1
);
8053 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8054 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) return NULL
;
8065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8066 _resultobj
= Py_BuildValue("s",_ptemp
);
8074 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8075 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
* _resultobj
;
8077 wxTreeItemId
* _result
;
8078 wxPyTreeCtrl
* _arg0
;
8079 wxTreeItemId
* _arg1
;
8081 int _arg3
= (int ) -1;
8082 int _arg4
= (int ) -1;
8083 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8084 PyObject
* _argo0
= 0;
8085 PyObject
* _argo1
= 0;
8086 PyObject
* _obj2
= 0;
8087 PyObject
* _argo5
= 0;
8088 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8109 _arg2
= wxString_in_helper(_obj2
);
8114 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8115 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) return NULL
;
8126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8127 _resultobj
= Py_BuildValue("s",_ptemp
);
8135 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8136 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
* _resultobj
;
8138 wxTreeItemId
* _result
;
8139 wxPyTreeCtrl
* _arg0
;
8140 wxTreeItemId
* _arg1
;
8141 wxTreeItemId
* _arg2
;
8143 int _arg4
= (int ) -1;
8144 int _arg5
= (int ) -1;
8145 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8146 PyObject
* _argo0
= 0;
8147 PyObject
* _argo1
= 0;
8148 PyObject
* _argo2
= 0;
8149 PyObject
* _obj3
= 0;
8150 PyObject
* _argo6
= 0;
8151 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
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_InsertItem. Expected _wxPyTreeCtrl_p.");
8165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8172 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8173 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8179 _arg3
= wxString_in_helper(_obj3
);
8184 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8185 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) return NULL
;
8196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8197 _resultobj
= Py_BuildValue("s",_ptemp
);
8205 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8206 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
* _resultobj
;
8208 wxTreeItemId
* _result
;
8209 wxPyTreeCtrl
* _arg0
;
8210 wxTreeItemId
* _arg1
;
8213 int _arg4
= (int ) -1;
8214 int _arg5
= (int ) -1;
8215 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8216 PyObject
* _argo0
= 0;
8217 PyObject
* _argo1
= 0;
8218 PyObject
* _obj3
= 0;
8219 PyObject
* _argo6
= 0;
8220 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8241 _arg3
= wxString_in_helper(_obj3
);
8246 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) return NULL
;
8258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8259 _resultobj
= Py_BuildValue("s",_ptemp
);
8267 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8268 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8270 wxTreeItemId
* _result
;
8271 wxPyTreeCtrl
* _arg0
;
8272 wxTreeItemId
* _arg1
;
8274 int _arg3
= (int ) -1;
8275 int _arg4
= (int ) -1;
8276 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8277 PyObject
* _argo0
= 0;
8278 PyObject
* _argo1
= 0;
8279 PyObject
* _obj2
= 0;
8280 PyObject
* _argo5
= 0;
8281 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8302 _arg2
= wxString_in_helper(_obj2
);
8307 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) return NULL
;
8319 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8320 _resultobj
= Py_BuildValue("s",_ptemp
);
8328 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8329 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
* _resultobj
;
8331 wxPyTreeCtrl
* _arg0
;
8332 wxTreeItemId
* _arg1
;
8333 PyObject
* _argo0
= 0;
8334 PyObject
* _argo1
= 0;
8335 char *_kwnames
[] = { "self","item", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) return NULL
;
8360 } Py_INCREF(Py_None
);
8361 _resultobj
= Py_None
;
8365 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8366 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
* _resultobj
;
8368 wxPyTreeCtrl
* _arg0
;
8369 wxTreeItemId
* _arg1
;
8370 PyObject
* _argo0
= 0;
8371 PyObject
* _argo1
= 0;
8372 char *_kwnames
[] = { "self","item", NULL
};
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) return NULL
;
8397 } Py_INCREF(Py_None
);
8398 _resultobj
= Py_None
;
8402 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8403 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8405 wxPyTreeCtrl
* _arg0
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self", NULL
};
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 wxTreeCtrl_DeleteAllItems(_arg0
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) return NULL
;
8425 } Py_INCREF(Py_None
);
8426 _resultobj
= Py_None
;
8430 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8431 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8433 wxPyTreeCtrl
* _arg0
;
8434 wxTreeItemId
* _arg1
;
8435 PyObject
* _argo0
= 0;
8436 PyObject
* _argo1
= 0;
8437 char *_kwnames
[] = { "self","item", NULL
};
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) return NULL
;
8462 } Py_INCREF(Py_None
);
8463 _resultobj
= Py_None
;
8467 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8468 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
* _resultobj
;
8470 wxPyTreeCtrl
* _arg0
;
8471 wxTreeItemId
* _arg1
;
8472 PyObject
* _argo0
= 0;
8473 PyObject
* _argo1
= 0;
8474 char *_kwnames
[] = { "self","item", NULL
};
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) return NULL
;
8499 } Py_INCREF(Py_None
);
8500 _resultobj
= Py_None
;
8504 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8505 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
* _resultobj
;
8507 wxPyTreeCtrl
* _arg0
;
8508 wxTreeItemId
* _arg1
;
8509 PyObject
* _argo0
= 0;
8510 PyObject
* _argo1
= 0;
8511 char *_kwnames
[] = { "self","item", NULL
};
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) return NULL
;
8536 } Py_INCREF(Py_None
);
8537 _resultobj
= Py_None
;
8541 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8542 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
* _resultobj
;
8544 wxPyTreeCtrl
* _arg0
;
8545 wxTreeItemId
* _arg1
;
8546 PyObject
* _argo0
= 0;
8547 PyObject
* _argo1
= 0;
8548 char *_kwnames
[] = { "self","item", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) return NULL
;
8573 } Py_INCREF(Py_None
);
8574 _resultobj
= Py_None
;
8578 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8579 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
* _resultobj
;
8581 wxPyTreeCtrl
* _arg0
;
8582 PyObject
* _argo0
= 0;
8583 char *_kwnames
[] = { "self", NULL
};
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 wxTreeCtrl_Unselect(_arg0
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) return NULL
;
8601 } Py_INCREF(Py_None
);
8602 _resultobj
= Py_None
;
8606 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8607 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
* _resultobj
;
8609 wxPyTreeCtrl
* _arg0
;
8610 PyObject
* _argo0
= 0;
8611 char *_kwnames
[] = { "self", NULL
};
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 wxTreeCtrl_UnselectAll(_arg0
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) return NULL
;
8629 } Py_INCREF(Py_None
);
8630 _resultobj
= Py_None
;
8634 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8635 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
* _resultobj
;
8637 wxPyTreeCtrl
* _arg0
;
8638 wxTreeItemId
* _arg1
;
8639 PyObject
* _argo0
= 0;
8640 PyObject
* _argo1
= 0;
8641 char *_kwnames
[] = { "self","item", NULL
};
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) return NULL
;
8666 } Py_INCREF(Py_None
);
8667 _resultobj
= Py_None
;
8671 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8672 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
* _resultobj
;
8674 wxPyTreeCtrl
* _arg0
;
8675 wxTreeItemId
* _arg1
;
8676 PyObject
* _argo0
= 0;
8677 PyObject
* _argo1
= 0;
8678 char *_kwnames
[] = { "self","item", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) return NULL
;
8703 } Py_INCREF(Py_None
);
8704 _resultobj
= Py_None
;
8708 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8709 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
* _resultobj
;
8711 wxPyTreeCtrl
* _arg0
;
8712 wxTreeItemId
* _arg1
;
8713 PyObject
* _argo0
= 0;
8714 PyObject
* _argo1
= 0;
8715 char *_kwnames
[] = { "self","item", NULL
};
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) return NULL
;
8740 } Py_INCREF(Py_None
);
8741 _resultobj
= Py_None
;
8745 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8746 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8748 wxPyTreeCtrl
* _arg0
;
8749 wxTreeItemId
* _arg1
;
8750 PyObject
* _argo0
= 0;
8751 PyObject
* _argo1
= 0;
8752 char *_kwnames
[] = { "self","item", NULL
};
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) return NULL
;
8777 } Py_INCREF(Py_None
);
8778 _resultobj
= Py_None
;
8782 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8783 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
* _resultobj
;
8785 wxPyTreeCtrl
* _arg0
;
8786 wxTreeItemId
* _arg1
;
8787 PyObject
* _argo0
= 0;
8788 PyObject
* _argo1
= 0;
8789 char *_kwnames
[] = { "self","item", NULL
};
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) return NULL
;
8814 } Py_INCREF(Py_None
);
8815 _resultobj
= Py_None
;
8819 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
8820 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
* _resultobj
;
8822 wxPyTreeCtrl
* _arg0
;
8823 wxTreeItemId
* _arg1
;
8824 int _arg2
= (int ) TRUE
;
8825 PyObject
* _argo0
= 0;
8826 PyObject
* _argo1
= 0;
8827 char *_kwnames
[] = { "self","item","bold", NULL
};
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
8840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) return NULL
;
8852 } Py_INCREF(Py_None
);
8853 _resultobj
= Py_None
;
8857 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
8858 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
* _resultobj
;
8861 wxPyTreeCtrl
* _arg0
;
8862 wxTreeItemId
* _arg1
;
8863 PyObject
* _argo0
= 0;
8864 PyObject
* _argo1
= 0;
8865 char *_kwnames
[] = { "self","item", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
8878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) return NULL
;
8890 } _resultobj
= Py_BuildValue("i",_result
);
8894 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
8895 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8897 wxTreeItemId
* _result
;
8898 wxPyTreeCtrl
* _arg0
;
8902 PyObject
* _argo0
= 0;
8904 PyObject
* _obj1
= 0;
8905 char *_kwnames
[] = { "self","point", NULL
};
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
8915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
8923 if (! wxPoint_helper(_obj1
, &_arg1
))
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) return NULL
;
8932 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8933 _resultobj
= Py_BuildValue("s",_ptemp
);
8936 o
= PyInt_FromLong((long) (*_arg2
));
8937 _resultobj
= t_output_helper(_resultobj
, o
);
8942 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8943 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
* _resultobj
;
8945 wxPyTreeCtrl
* _arg0
;
8946 wxTreeItemId
* _arg1
;
8948 PyObject
* _argo0
= 0;
8949 PyObject
* _argo1
= 0;
8951 PyObject
* _obj2
= 0;
8952 char *_kwnames
[] = { "self","item","col", NULL
};
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
8965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
8973 if (! wxColour_helper(_obj2
, &_arg2
))
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) return NULL
;
8982 } Py_INCREF(Py_None
);
8983 _resultobj
= Py_None
;
8987 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
8988 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
* _resultobj
;
8990 wxPyTreeCtrl
* _arg0
;
8991 wxTreeItemId
* _arg1
;
8993 PyObject
* _argo0
= 0;
8994 PyObject
* _argo1
= 0;
8996 PyObject
* _obj2
= 0;
8997 char *_kwnames
[] = { "self","item","col", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9010 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9011 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9018 if (! wxColour_helper(_obj2
, &_arg2
))
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) return NULL
;
9027 } Py_INCREF(Py_None
);
9028 _resultobj
= Py_None
;
9032 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9033 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
* _resultobj
;
9035 wxPyTreeCtrl
* _arg0
;
9036 wxTreeItemId
* _arg1
;
9038 PyObject
* _argo0
= 0;
9039 PyObject
* _argo1
= 0;
9040 PyObject
* _argo2
= 0;
9041 char *_kwnames
[] = { "self","item","font", NULL
};
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9061 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9062 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) return NULL
;
9073 } Py_INCREF(Py_None
);
9074 _resultobj
= Py_None
;
9078 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9080 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9081 wxPyBeginBlockThreads();
9082 wxRect
* r
= new wxRect(rect
);
9083 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9084 wxPyEndBlockThreads();
9092 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9095 wxPyTreeCtrl
* _arg0
;
9096 wxTreeItemId
* _arg1
;
9097 int _arg2
= (int ) FALSE
;
9098 PyObject
* _argo0
= 0;
9099 PyObject
* _argo1
= 0;
9100 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) return NULL
;
9126 _resultobj
= _result
;
9131 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9134 src
= (wxDirItemData
*) ptr
;
9135 dest
= (wxObject
*) src
;
9136 return (void *) dest
;
9139 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9140 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
* _resultobj
;
9142 wxDirItemData
* _result
;
9146 PyObject
* _obj0
= 0;
9147 PyObject
* _obj1
= 0;
9149 char *_kwnames
[] = { "path","name","isDir", NULL
};
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9156 _arg0
= wxString_in_helper(_obj0
);
9161 _arg1
= wxString_in_helper(_obj1
);
9165 _arg2
= (bool ) tempbool2
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) return NULL
;
9173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9174 _resultobj
= Py_BuildValue("s",_ptemp
);
9177 _resultobj
= Py_None
;
9190 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9191 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9193 wxDirItemData
* _arg0
;
9195 PyObject
* _argo0
= 0;
9196 PyObject
* _obj1
= 0;
9197 char *_kwnames
[] = { "self","path", NULL
};
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9210 _arg1
= wxString_in_helper(_obj1
);
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) return NULL
;
9220 } Py_INCREF(Py_None
);
9221 _resultobj
= Py_None
;
9229 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9230 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
* _resultobj
;
9233 wxDirItemData
* _arg0
;
9235 PyObject
* _argo0
= 0;
9236 PyObject
* _obj1
= 0;
9237 char *_kwnames
[] = { "self","m_path", NULL
};
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9250 _arg1
= wxString_in_helper(_obj1
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) return NULL
;
9262 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9264 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9274 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9275 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
* _resultobj
;
9278 wxDirItemData
* _arg0
;
9279 PyObject
* _argo0
= 0;
9280 char *_kwnames
[] = { "self", NULL
};
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) return NULL
;
9300 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9308 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9309 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
* _resultobj
;
9312 wxDirItemData
* _arg0
;
9314 PyObject
* _argo0
= 0;
9315 PyObject
* _obj1
= 0;
9316 char *_kwnames
[] = { "self","m_name", NULL
};
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9329 _arg1
= wxString_in_helper(_obj1
);
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) return NULL
;
9341 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9343 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9353 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9354 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
* _resultobj
;
9357 wxDirItemData
* _arg0
;
9358 PyObject
* _argo0
= 0;
9359 char *_kwnames
[] = { "self", NULL
};
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) return NULL
;
9379 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9381 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9387 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9388 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
* _resultobj
;
9391 wxDirItemData
* _arg0
;
9393 PyObject
* _argo0
= 0;
9395 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9407 _arg1
= (bool ) tempbool1
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) return NULL
;
9414 } _resultobj
= Py_BuildValue("i",_result
);
9418 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9419 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
* _resultobj
;
9422 wxDirItemData
* _arg0
;
9423 PyObject
* _argo0
= 0;
9424 char *_kwnames
[] = { "self", NULL
};
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) return NULL
;
9442 } _resultobj
= Py_BuildValue("i",_result
);
9446 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9447 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
* _resultobj
;
9450 wxDirItemData
* _arg0
;
9452 PyObject
* _argo0
= 0;
9454 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9466 _arg1
= (bool ) tempbool1
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9473 } _resultobj
= Py_BuildValue("i",_result
);
9477 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9478 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9481 wxDirItemData
* _arg0
;
9482 PyObject
* _argo0
= 0;
9483 char *_kwnames
[] = { "self", NULL
};
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) return NULL
;
9501 } _resultobj
= Py_BuildValue("i",_result
);
9505 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9506 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
* _resultobj
;
9509 wxDirItemData
* _arg0
;
9511 PyObject
* _argo0
= 0;
9513 char *_kwnames
[] = { "self","m_isDir", NULL
};
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9525 _arg1
= (bool ) tempbool1
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) return NULL
;
9532 } _resultobj
= Py_BuildValue("i",_result
);
9536 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9537 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
* _resultobj
;
9540 wxDirItemData
* _arg0
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
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_isDir_get. Expected _wxDirItemData_p.");
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } _resultobj
= Py_BuildValue("i",_result
);
9564 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9565 wxGenericDirCtrl
*src
;
9567 src
= (wxGenericDirCtrl
*) ptr
;
9568 dest
= (wxControl
*) src
;
9569 return (void *) dest
;
9572 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9573 wxGenericDirCtrl
*src
;
9575 src
= (wxGenericDirCtrl
*) ptr
;
9576 dest
= (wxWindow
*) src
;
9577 return (void *) dest
;
9580 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9581 wxGenericDirCtrl
*src
;
9583 src
= (wxGenericDirCtrl
*) ptr
;
9584 dest
= (wxEvtHandler
*) src
;
9585 return (void *) dest
;
9588 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9589 wxGenericDirCtrl
*src
;
9591 src
= (wxGenericDirCtrl
*) ptr
;
9592 dest
= (wxObject
*) src
;
9593 return (void *) dest
;
9596 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9597 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9599 wxGenericDirCtrl
* _result
;
9601 wxWindowID _arg1
= (wxWindowID
) -1;
9602 char * _arg2
= (char *) wxDirDialogDefaultFolderStr
;
9603 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9604 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9605 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9606 char * _arg6
= (char *) wxEmptyString
;
9607 int _arg7
= (int ) 0;
9608 char * _arg8
= (char *) "dirCtrl";
9609 PyObject
* _argo0
= 0;
9611 PyObject
* _obj3
= 0;
9613 PyObject
* _obj4
= 0;
9614 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOlsis:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
))
9621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9630 if (! wxPoint_helper(_obj3
, &_arg3
))
9636 if (! wxSize_helper(_obj4
, &_arg4
))
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) return NULL
;
9646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9647 _resultobj
= Py_BuildValue("s",_ptemp
);
9650 _resultobj
= Py_None
;
9655 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9656 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9658 wxGenericDirCtrl
* _result
;
9659 char *_kwnames
[] = { NULL
};
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) return NULL
;
9672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9673 _resultobj
= Py_BuildValue("s",_ptemp
);
9676 _resultobj
= Py_None
;
9681 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9682 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
* _resultobj
;
9685 wxGenericDirCtrl
* _arg0
;
9687 wxWindowID _arg2
= (wxWindowID
) -1;
9688 char * _arg3
= (char *) wxDirDialogDefaultFolderStr
;
9689 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9690 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9691 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9692 char * _arg7
= (char *) wxEmptyString
;
9693 int _arg8
= (int ) 0;
9694 char * _arg9
= (char *) "dirCtrl";
9695 PyObject
* _argo0
= 0;
9696 PyObject
* _argo1
= 0;
9698 PyObject
* _obj4
= 0;
9700 PyObject
* _obj5
= 0;
9701 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOlsis:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
9707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9723 if (! wxPoint_helper(_obj4
, &_arg4
))
9729 if (! wxSize_helper(_obj5
, &_arg5
))
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) return NULL
;
9738 } _resultobj
= Py_BuildValue("i",_result
);
9742 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9743 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9746 wxGenericDirCtrl
* _arg0
;
9748 PyObject
* _argo0
= 0;
9749 PyObject
* _obj1
= 0;
9750 char *_kwnames
[] = { "self","path", NULL
};
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
9756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9763 _arg1
= wxString_in_helper(_obj1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) return NULL
;
9773 } _resultobj
= Py_BuildValue("i",_result
);
9781 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
9782 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
* _resultobj
;
9785 wxGenericDirCtrl
* _arg0
;
9786 PyObject
* _argo0
= 0;
9787 char *_kwnames
[] = { "self", NULL
};
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
9793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) return NULL
;
9807 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9809 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9818 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
9819 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
* _resultobj
;
9821 wxGenericDirCtrl
* _arg0
;
9823 PyObject
* _argo0
= 0;
9824 PyObject
* _obj1
= 0;
9825 char *_kwnames
[] = { "self","path", NULL
};
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
9831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
9838 _arg1
= wxString_in_helper(_obj1
);
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) return NULL
;
9848 } Py_INCREF(Py_None
);
9849 _resultobj
= Py_None
;
9857 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
9858 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
* _resultobj
;
9861 wxGenericDirCtrl
* _arg0
;
9862 PyObject
* _argo0
= 0;
9863 char *_kwnames
[] = { "self", NULL
};
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
9869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) return NULL
;
9883 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9885 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9894 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
9895 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
* _resultobj
;
9898 wxGenericDirCtrl
* _arg0
;
9899 PyObject
* _argo0
= 0;
9900 char *_kwnames
[] = { "self", NULL
};
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
9906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) return NULL
;
9920 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9922 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9931 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
9932 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9934 wxGenericDirCtrl
* _arg0
;
9936 PyObject
* _argo0
= 0;
9937 PyObject
* _obj1
= 0;
9938 char *_kwnames
[] = { "self","path", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
9944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
9951 _arg1
= wxString_in_helper(_obj1
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 } Py_INCREF(Py_None
);
9962 _resultobj
= Py_None
;
9970 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
9971 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
* _resultobj
;
9973 wxGenericDirCtrl
* _arg0
;
9975 PyObject
* _argo0
= 0;
9977 char *_kwnames
[] = { "self","show", NULL
};
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
9983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
9989 _arg1
= (bool ) tempbool1
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) return NULL
;
9996 } Py_INCREF(Py_None
);
9997 _resultobj
= Py_None
;
10001 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10002 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
* _resultobj
;
10005 wxGenericDirCtrl
* _arg0
;
10006 PyObject
* _argo0
= 0;
10007 char *_kwnames
[] = { "self", NULL
};
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) return NULL
;
10025 } _resultobj
= Py_BuildValue("i",_result
);
10029 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10030 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
* _resultobj
;
10032 wxString
* _result
;
10033 wxGenericDirCtrl
* _arg0
;
10034 PyObject
* _argo0
= 0;
10035 char *_kwnames
[] = { "self", NULL
};
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) return NULL
;
10055 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10057 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10066 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10067 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
* _resultobj
;
10069 wxGenericDirCtrl
* _arg0
;
10071 PyObject
* _argo0
= 0;
10072 PyObject
* _obj1
= 0;
10073 char *_kwnames
[] = { "self","filter", NULL
};
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10086 _arg1
= wxString_in_helper(_obj1
);
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) return NULL
;
10096 } Py_INCREF(Py_None
);
10097 _resultobj
= Py_None
;
10105 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10106 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
* _resultobj
;
10109 wxGenericDirCtrl
* _arg0
;
10110 PyObject
* _argo0
= 0;
10111 char *_kwnames
[] = { "self", NULL
};
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) return NULL
;
10129 } _resultobj
= Py_BuildValue("i",_result
);
10133 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10134 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
* _resultobj
;
10136 wxGenericDirCtrl
* _arg0
;
10138 PyObject
* _argo0
= 0;
10139 char *_kwnames
[] = { "self","n", NULL
};
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) return NULL
;
10157 } Py_INCREF(Py_None
);
10158 _resultobj
= Py_None
;
10162 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10163 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
* _resultobj
;
10165 wxTreeItemId
* _result
;
10166 wxGenericDirCtrl
* _arg0
;
10167 PyObject
* _argo0
= 0;
10168 char *_kwnames
[] = { "self", NULL
};
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) return NULL
;
10187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10188 _resultobj
= Py_BuildValue("s",_ptemp
);
10192 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10193 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
* _resultobj
;
10195 wxTreeCtrl
* _result
;
10196 wxGenericDirCtrl
* _arg0
;
10197 PyObject
* _argo0
= 0;
10198 char *_kwnames
[] = { "self", NULL
};
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) return NULL
;
10218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10219 _resultobj
= Py_BuildValue("s",_ptemp
);
10221 Py_INCREF(Py_None
);
10222 _resultobj
= Py_None
;
10227 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10228 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
* _resultobj
;
10230 wxDirFilterListCtrl
* _result
;
10231 wxGenericDirCtrl
* _arg0
;
10232 PyObject
* _argo0
= 0;
10233 char *_kwnames
[] = { "self", NULL
};
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) return NULL
;
10253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10254 _resultobj
= Py_BuildValue("s",_ptemp
);
10256 Py_INCREF(Py_None
);
10257 _resultobj
= Py_None
;
10262 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10263 wxDirFilterListCtrl
*src
;
10265 src
= (wxDirFilterListCtrl
*) ptr
;
10266 dest
= (wxChoice
*) src
;
10267 return (void *) dest
;
10270 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10271 wxDirFilterListCtrl
*src
;
10272 wxControlWithItems
*dest
;
10273 src
= (wxDirFilterListCtrl
*) ptr
;
10274 dest
= (wxControlWithItems
*) src
;
10275 return (void *) dest
;
10278 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10279 wxDirFilterListCtrl
*src
;
10281 src
= (wxDirFilterListCtrl
*) ptr
;
10282 dest
= (wxControl
*) src
;
10283 return (void *) dest
;
10286 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10287 wxDirFilterListCtrl
*src
;
10289 src
= (wxDirFilterListCtrl
*) ptr
;
10290 dest
= (wxWindow
*) src
;
10291 return (void *) dest
;
10294 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10295 wxDirFilterListCtrl
*src
;
10296 wxEvtHandler
*dest
;
10297 src
= (wxDirFilterListCtrl
*) ptr
;
10298 dest
= (wxEvtHandler
*) src
;
10299 return (void *) dest
;
10302 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10303 wxDirFilterListCtrl
*src
;
10305 src
= (wxDirFilterListCtrl
*) ptr
;
10306 dest
= (wxObject
*) src
;
10307 return (void *) dest
;
10310 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10311 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
* _resultobj
;
10313 wxDirFilterListCtrl
* _result
;
10314 wxGenericDirCtrl
* _arg0
;
10315 wxWindowID _arg1
= (wxWindowID
) -1;
10316 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10317 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10318 long _arg4
= (long ) 0;
10319 PyObject
* _argo0
= 0;
10321 PyObject
* _obj2
= 0;
10323 PyObject
* _obj3
= 0;
10324 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10340 if (! wxPoint_helper(_obj2
, &_arg2
))
10346 if (! wxSize_helper(_obj3
, &_arg3
))
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) return NULL
;
10356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10357 _resultobj
= Py_BuildValue("s",_ptemp
);
10359 Py_INCREF(Py_None
);
10360 _resultobj
= Py_None
;
10365 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10366 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
* _resultobj
;
10368 wxDirFilterListCtrl
* _result
;
10369 char *_kwnames
[] = { NULL
};
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) return NULL
;
10382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10383 _resultobj
= Py_BuildValue("s",_ptemp
);
10385 Py_INCREF(Py_None
);
10386 _resultobj
= Py_None
;
10391 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10392 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
* _resultobj
;
10395 wxDirFilterListCtrl
* _arg0
;
10396 wxGenericDirCtrl
* _arg1
;
10397 wxWindowID _arg2
= (wxWindowID
) -1;
10398 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10399 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10400 long _arg5
= (long ) 0;
10401 PyObject
* _argo0
= 0;
10402 PyObject
* _argo1
= 0;
10404 PyObject
* _obj3
= 0;
10406 PyObject
* _obj4
= 0;
10407 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10429 if (! wxPoint_helper(_obj3
, &_arg3
))
10435 if (! wxSize_helper(_obj4
, &_arg4
))
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) return NULL
;
10444 } _resultobj
= Py_BuildValue("i",_result
);
10448 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10449 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
* _resultobj
;
10451 wxDirFilterListCtrl
* _arg0
;
10454 PyObject
* _argo0
= 0;
10455 PyObject
* _obj1
= 0;
10456 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10469 _arg1
= wxString_in_helper(_obj1
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) return NULL
;
10479 } Py_INCREF(Py_None
);
10480 _resultobj
= Py_None
;
10488 static PyMethodDef controls2cMethods
[] = {
10489 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10490 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10491 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10492 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10493 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10494 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10495 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10496 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10497 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10498 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10499 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10500 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10501 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10502 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10503 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10504 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10505 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10506 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10507 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10508 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10509 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10510 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10511 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10512 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10513 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10514 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10515 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10516 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10517 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10518 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10519 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10520 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10521 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10522 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10523 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10524 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10525 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10526 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10527 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10528 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10529 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10530 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10531 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10532 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10533 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10534 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10535 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10536 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10537 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10538 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10539 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10540 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10541 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10542 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10543 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10544 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10545 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10546 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10547 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10641 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10642 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10643 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10644 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10645 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10646 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10647 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10648 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10649 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10650 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10651 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10652 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10653 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10654 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10655 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10656 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10657 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10658 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10659 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10660 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10661 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10662 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10663 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10664 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10665 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10666 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10667 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10668 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10669 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10670 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10671 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10672 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10673 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10674 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10675 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10676 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10677 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10678 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10679 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10680 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10681 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10682 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10683 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10684 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10685 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10686 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10687 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10688 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10689 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10690 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10691 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10692 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10693 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10694 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10695 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10696 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10697 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10698 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10781 * This table is used by the pointer type-checker
10783 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10784 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
10785 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
10786 { "_signed_long","_long",0},
10787 { "_wxPrintQuality","_wxCoord",0},
10788 { "_wxPrintQuality","_int",0},
10789 { "_wxPrintQuality","_signed_int",0},
10790 { "_wxPrintQuality","_unsigned_int",0},
10791 { "_wxPrintQuality","_wxWindowID",0},
10792 { "_wxPrintQuality","_uint",0},
10793 { "_wxPrintQuality","_EBool",0},
10794 { "_wxPrintQuality","_size_t",0},
10795 { "_wxPrintQuality","_time_t",0},
10796 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
10797 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
10798 { "_byte","_unsigned_char",0},
10799 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
10800 { "_long","_unsigned_long",0},
10801 { "_long","_signed_long",0},
10802 { "_size_t","_wxCoord",0},
10803 { "_size_t","_wxPrintQuality",0},
10804 { "_size_t","_time_t",0},
10805 { "_size_t","_unsigned_int",0},
10806 { "_size_t","_int",0},
10807 { "_size_t","_wxWindowID",0},
10808 { "_size_t","_uint",0},
10809 { "_uint","_wxCoord",0},
10810 { "_uint","_wxPrintQuality",0},
10811 { "_uint","_time_t",0},
10812 { "_uint","_size_t",0},
10813 { "_uint","_unsigned_int",0},
10814 { "_uint","_int",0},
10815 { "_uint","_wxWindowID",0},
10816 { "_wxChar","_char",0},
10817 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
10818 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
10819 { "_char","_wxChar",0},
10820 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10821 { "_EBool","_wxCoord",0},
10822 { "_EBool","_wxPrintQuality",0},
10823 { "_EBool","_signed_int",0},
10824 { "_EBool","_int",0},
10825 { "_EBool","_wxWindowID",0},
10826 { "_unsigned_long","_long",0},
10827 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10828 { "_signed_int","_wxCoord",0},
10829 { "_signed_int","_wxPrintQuality",0},
10830 { "_signed_int","_EBool",0},
10831 { "_signed_int","_wxWindowID",0},
10832 { "_signed_int","_int",0},
10833 { "_WXTYPE","_short",0},
10834 { "_WXTYPE","_signed_short",0},
10835 { "_WXTYPE","_unsigned_short",0},
10836 { "_unsigned_short","_WXTYPE",0},
10837 { "_unsigned_short","_short",0},
10838 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
10839 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
10840 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
10841 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
10842 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
10843 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
10844 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
10845 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
10846 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
10847 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
10848 { "_signed_short","_WXTYPE",0},
10849 { "_signed_short","_short",0},
10850 { "_unsigned_char","_byte",0},
10851 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
10852 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
10853 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
10854 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
10855 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
10856 { "_unsigned_int","_wxCoord",0},
10857 { "_unsigned_int","_wxPrintQuality",0},
10858 { "_unsigned_int","_time_t",0},
10859 { "_unsigned_int","_size_t",0},
10860 { "_unsigned_int","_uint",0},
10861 { "_unsigned_int","_wxWindowID",0},
10862 { "_unsigned_int","_int",0},
10863 { "_short","_WXTYPE",0},
10864 { "_short","_unsigned_short",0},
10865 { "_short","_signed_short",0},
10866 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
10867 { "_wxWindowID","_wxCoord",0},
10868 { "_wxWindowID","_wxPrintQuality",0},
10869 { "_wxWindowID","_time_t",0},
10870 { "_wxWindowID","_size_t",0},
10871 { "_wxWindowID","_EBool",0},
10872 { "_wxWindowID","_uint",0},
10873 { "_wxWindowID","_int",0},
10874 { "_wxWindowID","_signed_int",0},
10875 { "_wxWindowID","_unsigned_int",0},
10876 { "_int","_wxCoord",0},
10877 { "_int","_wxPrintQuality",0},
10878 { "_int","_time_t",0},
10879 { "_int","_size_t",0},
10880 { "_int","_EBool",0},
10881 { "_int","_uint",0},
10882 { "_int","_wxWindowID",0},
10883 { "_int","_unsigned_int",0},
10884 { "_int","_signed_int",0},
10885 { "_time_t","_wxCoord",0},
10886 { "_time_t","_wxPrintQuality",0},
10887 { "_time_t","_unsigned_int",0},
10888 { "_time_t","_int",0},
10889 { "_time_t","_wxWindowID",0},
10890 { "_time_t","_uint",0},
10891 { "_time_t","_size_t",0},
10892 { "_wxCoord","_int",0},
10893 { "_wxCoord","_signed_int",0},
10894 { "_wxCoord","_unsigned_int",0},
10895 { "_wxCoord","_wxWindowID",0},
10896 { "_wxCoord","_uint",0},
10897 { "_wxCoord","_EBool",0},
10898 { "_wxCoord","_size_t",0},
10899 { "_wxCoord","_time_t",0},
10900 { "_wxCoord","_wxPrintQuality",0},
10901 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
10902 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
10903 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
10904 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
10905 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
10906 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
10907 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
10908 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
10909 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
10910 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
10911 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
10914 static PyObject
*SWIG_globals
;
10918 SWIGEXPORT(void) initcontrols2c() {
10920 SWIG_globals
= SWIG_newvarlink();
10921 m
= Py_InitModule("controls2c", controls2cMethods
);
10922 d
= PyModule_GetDict(m
);
10923 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
10924 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
10925 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
10926 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
10927 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
10928 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
10929 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
10930 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
10931 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
10932 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
10933 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
10934 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
10935 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
10936 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
10937 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
10938 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
10939 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
10940 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
10941 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
10942 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
10943 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
10944 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
10945 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
10946 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
10947 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
10948 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
10949 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
10950 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
10951 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
10952 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
10953 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
10954 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
10955 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
10956 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
10957 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
10958 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
10959 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
10960 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
10961 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
10962 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
10963 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
10964 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
10965 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
10966 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
10967 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
10968 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
10969 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
10970 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
10971 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
10972 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
10973 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
10974 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
10975 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
10976 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
10977 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
10978 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
10979 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
10980 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
10981 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
10982 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
10983 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
10984 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
10985 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
10986 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
10987 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
10988 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
10989 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
10990 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
10991 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
10992 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
10993 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
10994 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
10995 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
10996 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
10997 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
10998 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
10999 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11000 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11001 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11002 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11003 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11004 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11005 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11006 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11007 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11008 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11009 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11010 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11011 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11012 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11013 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11014 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11015 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11016 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11017 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11018 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11019 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11020 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11021 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11022 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11023 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11024 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11025 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11026 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11027 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11028 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11029 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11030 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11031 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11032 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11033 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11034 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11035 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11036 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11037 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11038 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11039 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11040 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11041 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11042 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11043 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11044 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11045 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11046 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11047 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11048 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11049 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11050 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11051 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11052 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11053 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11054 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11055 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11056 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11057 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11058 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11059 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11060 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11061 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11062 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11063 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11064 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11065 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11067 // Map renamed classes back to their common name for OOR
11068 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11069 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11070 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11073 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11074 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);