2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
65 #include <wx/dirctrl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // Put some wx default wxChar* values into wxStrings.
95 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
96 DECLARE_DEF_STRING(ListCtrlNameStr
);
98 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
99 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
100 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
102 static const wxString
wxPyEmptyString(wxT(""));
103 // C++ Version of a Python aware class
104 class wxPyListCtrl
: public wxListCtrl
{
105 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
107 wxPyListCtrl() : wxListCtrl() {}
108 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
112 const wxValidator
& validator
,
113 const wxString
& name
) :
114 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
116 bool Create(wxWindow
* parent
, wxWindowID id
,
120 const wxValidator
& validator
,
121 const wxString
& name
) {
122 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
125 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
126 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
127 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
132 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
134 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
135 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
136 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
137 // Python aware sorting function for wxPyListCtrl
138 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
140 PyObject
* func
= (PyObject
*)funcPtr
;
141 wxPyBeginBlockThreads();
143 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
144 PyObject
* result
= PyEval_CallObject(func
, args
);
147 retval
= PyInt_AsLong(result
);
151 wxPyEndBlockThreads();
156 class wxPyTreeItemData
: public wxTreeItemData
{
158 wxPyTreeItemData(PyObject
* obj
= NULL
) {
165 ~wxPyTreeItemData() {
166 wxPyBeginBlockThreads();
168 wxPyEndBlockThreads();
171 PyObject
* GetData() {
176 void SetData(PyObject
* obj
) {
177 wxPyBeginBlockThreads();
179 wxPyEndBlockThreads();
186 // C++ version of Python aware wxTreeCtrl
187 class wxPyTreeCtrl
: public wxTreeCtrl
{
188 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
190 wxPyTreeCtrl() : wxTreeCtrl() {}
191 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
195 const wxValidator
& validator
,
196 const wxString
& name
) :
197 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
199 bool Create(wxWindow
*parent
, wxWindowID id
,
203 const wxValidator
& validator
,
204 const wxString
& name
) {
205 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
209 int OnCompareItems(const wxTreeItemId
& item1
,
210 const wxTreeItemId
& item2
) {
213 wxPyBeginBlockThreads();
214 if ((found
= m_myInst
.findCallback("OnCompareItems")))
215 rval
= m_myInst
.callCallback(Py_BuildValue(
217 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
218 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
219 wxPyEndBlockThreads();
221 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
227 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
232 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
233 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
235 wxListItemAttr
* _result
;
236 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
237 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
238 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
240 PyObject
* _obj0
= 0;
242 PyObject
* _obj1
= 0;
243 PyObject
* _argo2
= 0;
244 char *_kwnames
[] = { "colText","colBack","font", NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
253 if (! wxColour_helper(_obj0
, &_arg0
))
259 if (! wxColour_helper(_obj1
, &_arg1
))
263 if (_argo2
== Py_None
) { _arg2
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
271 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
273 wxPyEndAllowThreads(__tstate
);
274 if (PyErr_Occurred()) return NULL
;
276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
277 _resultobj
= Py_BuildValue("s",_ptemp
);
280 _resultobj
= Py_None
;
285 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
286 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxListItemAttr
* _arg0
;
290 PyObject
* _argo0
= 0;
292 PyObject
* _obj1
= 0;
293 char *_kwnames
[] = { "self","colText", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
307 if (! wxColour_helper(_obj1
, &_arg1
))
311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
322 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxListItemAttr
* _arg0
;
326 PyObject
* _argo0
= 0;
328 PyObject
* _obj1
= 0;
329 char *_kwnames
[] = { "self","colBack", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
343 if (! wxColour_helper(_obj1
, &_arg1
))
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
352 } Py_INCREF(Py_None
);
353 _resultobj
= Py_None
;
357 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
358 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxListItemAttr
* _arg0
;
362 PyObject
* _argo0
= 0;
363 PyObject
* _argo1
= 0;
364 char *_kwnames
[] = { "self","font", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 wxListItemAttr_SetFont(_arg0
,*_arg1
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
389 } Py_INCREF(Py_None
);
390 _resultobj
= Py_None
;
394 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
395 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxListItemAttr
* _arg0
;
399 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
418 } _resultobj
= Py_BuildValue("i",_result
);
422 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
423 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxListItemAttr
* _arg0
;
427 PyObject
* _argo0
= 0;
428 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
442 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
444 wxPyEndAllowThreads(__tstate
);
445 if (PyErr_Occurred()) return NULL
;
446 } _resultobj
= Py_BuildValue("i",_result
);
450 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
451 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxListItemAttr
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
470 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
472 wxPyEndAllowThreads(__tstate
);
473 if (PyErr_Occurred()) return NULL
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
479 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
482 wxListItemAttr
* _arg0
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
499 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
501 wxPyEndAllowThreads(__tstate
);
502 if (PyErr_Occurred()) return NULL
;
503 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
504 _resultobj
= Py_BuildValue("s",_ptemp
);
508 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
509 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 wxListItemAttr
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
534 _resultobj
= Py_BuildValue("s",_ptemp
);
538 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
539 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
542 wxListItemAttr
* _arg0
;
543 PyObject
* _argo0
= 0;
544 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
559 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
563 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
564 _resultobj
= Py_BuildValue("s",_ptemp
);
568 static void *SwigwxListItemTowxObject(void *ptr
) {
571 src
= (wxListItem
*) ptr
;
572 dest
= (wxObject
*) src
;
573 return (void *) dest
;
576 #define new_wxListItem() (new wxListItem())
577 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
579 wxListItem
* _result
;
580 char *_kwnames
[] = { NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
588 _result
= (wxListItem
*)new_wxListItem();
590 wxPyEndAllowThreads(__tstate
);
591 if (PyErr_Occurred()) return NULL
;
593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
597 _resultobj
= Py_None
;
602 #define delete_wxListItem(_swigobj) (delete _swigobj)
603 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 delete_wxListItem(_arg0
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
631 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 wxListItem_Clear(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } Py_INCREF(Py_None
);
654 _resultobj
= Py_None
;
658 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
659 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 wxListItem_ClearAttributes(_arg0
);
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) return NULL
;
681 } Py_INCREF(Py_None
);
682 _resultobj
= Py_None
;
686 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
687 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
691 PyObject
* _argo0
= 0;
692 char *_kwnames
[] = { "self","mask", NULL
};
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 wxListItem_SetMask(_arg0
,_arg1
);
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
715 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
716 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self","id", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 wxListItem_SetId(_arg0
,_arg1
);
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
744 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
745 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self","col", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 wxListItem_SetColumn(_arg0
,_arg1
);
766 wxPyEndAllowThreads(__tstate
);
767 if (PyErr_Occurred()) return NULL
;
768 } Py_INCREF(Py_None
);
769 _resultobj
= Py_None
;
773 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
774 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self","state", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 wxListItem_SetState(_arg0
,_arg1
);
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
797 } Py_INCREF(Py_None
);
798 _resultobj
= Py_None
;
802 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
803 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self","stateMask", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 wxListItem_SetStateMask(_arg0
,_arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
831 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
832 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _obj1
= 0;
838 char *_kwnames
[] = { "self","text", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
851 _arg1
= wxString_in_helper(_obj1
);
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 wxListItem_SetText(_arg0
,*_arg1
);
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) return NULL
;
861 } Py_INCREF(Py_None
);
862 _resultobj
= Py_None
;
870 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
871 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self","image", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
890 wxListItem_SetImage(_arg0
,_arg1
);
892 wxPyEndAllowThreads(__tstate
);
893 if (PyErr_Occurred()) return NULL
;
894 } Py_INCREF(Py_None
);
895 _resultobj
= Py_None
;
899 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
900 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
904 PyObject
* _argo0
= 0;
905 char *_kwnames
[] = { "self","data", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 wxListItem_SetData(_arg0
,_arg1
);
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) return NULL
;
923 } Py_INCREF(Py_None
);
924 _resultobj
= Py_None
;
928 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
929 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
933 PyObject
* _argo0
= 0;
934 char *_kwnames
[] = { "self","width", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
948 wxListItem_SetWidth(_arg0
,_arg1
);
950 wxPyEndAllowThreads(__tstate
);
951 if (PyErr_Occurred()) return NULL
;
952 } Py_INCREF(Py_None
);
953 _resultobj
= Py_None
;
957 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
958 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 wxListColumnFormat _arg1
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self","align", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxListItem_SetAlign(_arg0
,_arg1
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
987 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
991 PyObject
* _argo0
= 0;
993 PyObject
* _obj1
= 0;
994 char *_kwnames
[] = { "self","colText", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1008 if (! wxColour_helper(_obj1
, &_arg1
))
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 wxListItem_SetTextColour(_arg0
,*_arg1
);
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) return NULL
;
1017 } Py_INCREF(Py_None
);
1018 _resultobj
= Py_None
;
1022 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1023 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1027 PyObject
* _argo0
= 0;
1029 PyObject
* _obj1
= 0;
1030 char *_kwnames
[] = { "self","colBack", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1044 if (! wxColour_helper(_obj1
, &_arg1
))
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1051 wxPyEndAllowThreads(__tstate
);
1052 if (PyErr_Occurred()) return NULL
;
1053 } Py_INCREF(Py_None
);
1054 _resultobj
= Py_None
;
1058 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1059 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 PyObject
* _argo0
= 0;
1064 PyObject
* _argo1
= 0;
1065 char *_kwnames
[] = { "self","font", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1086 wxListItem_SetFont(_arg0
,*_arg1
);
1088 wxPyEndAllowThreads(__tstate
);
1089 if (PyErr_Occurred()) return NULL
;
1090 } Py_INCREF(Py_None
);
1091 _resultobj
= Py_None
;
1095 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1096 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (long )wxListItem_GetMask(_arg0
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("l",_result
);
1123 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1124 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 _result
= (long )wxListItem_GetId(_arg0
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } _resultobj
= Py_BuildValue("l",_result
);
1151 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1152 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 _result
= (int )wxListItem_GetColumn(_arg0
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } _resultobj
= Py_BuildValue("i",_result
);
1179 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1180 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= (long )wxListItem_GetState(_arg0
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1208 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1212 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1228 _result
= (wxString
*) &_result_ref
;
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1234 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1236 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1242 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1243 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= (int )wxListItem_GetImage(_arg0
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1271 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 _result
= (long )wxListItem_GetData(_arg0
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } _resultobj
= Py_BuildValue("l",_result
);
1298 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1299 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 _result
= (int )wxListItem_GetWidth(_arg0
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1327 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxListColumnFormat _result
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1355 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxListItemAttr
* _result
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) return NULL
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1390 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1418 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) return NULL
;
1442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1448 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) return NULL
;
1472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1477 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1478 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1508 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","m_mask", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1532 } _resultobj
= Py_BuildValue("l",_result
);
1536 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1537 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (long )wxListItem_m_mask_get(_arg0
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("l",_result
);
1564 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1565 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1570 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self","m_itemId", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) return NULL
;
1589 } _resultobj
= Py_BuildValue("l",_result
);
1593 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1594 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1617 } _resultobj
= Py_BuildValue("l",_result
);
1621 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1622 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","m_col", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1651 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 _result
= (int )wxListItem_m_col_get(_arg0
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("i",_result
);
1678 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1679 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self","m_state", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } _resultobj
= Py_BuildValue("l",_result
);
1707 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1708 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (long )wxListItem_m_state_get(_arg0
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("l",_result
);
1735 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1736 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("l",_result
);
1764 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1765 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("l",_result
);
1792 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1793 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1798 PyObject
* _argo0
= 0;
1799 PyObject
* _obj1
= 0;
1800 char *_kwnames
[] = { "self","m_text", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1813 _arg1
= wxString_in_helper(_obj1
);
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1825 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1837 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1838 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) return NULL
;
1863 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1865 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1871 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1872 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self","m_image", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1901 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (int )wxListItem_m_image_get(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } _resultobj
= Py_BuildValue("i",_result
);
1928 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1929 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1934 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self","m_data", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } _resultobj
= Py_BuildValue("l",_result
);
1957 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1958 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 _result
= (long )wxListItem_m_data_get(_arg0
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } _resultobj
= Py_BuildValue("l",_result
);
1985 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1986 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self","m_format", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } _resultobj
= Py_BuildValue("i",_result
);
2014 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2015 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 _result
= (int )wxListItem_m_format_get(_arg0
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2043 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self","m_width", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2072 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 _result
= (int )wxListItem_m_width_get(_arg0
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2099 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2101 wxNotifyEvent
*dest
;
2102 src
= (wxListEvent
*) ptr
;
2103 dest
= (wxNotifyEvent
*) src
;
2104 return (void *) dest
;
2107 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2109 wxCommandEvent
*dest
;
2110 src
= (wxListEvent
*) ptr
;
2111 dest
= (wxCommandEvent
*) src
;
2112 return (void *) dest
;
2115 static void *SwigwxListEventTowxEvent(void *ptr
) {
2118 src
= (wxListEvent
*) ptr
;
2119 dest
= (wxEvent
*) src
;
2120 return (void *) dest
;
2123 static void *SwigwxListEventTowxObject(void *ptr
) {
2126 src
= (wxListEvent
*) ptr
;
2127 dest
= (wxObject
*) src
;
2128 return (void *) dest
;
2131 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2132 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxListEvent
* _result
;
2135 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2136 int _arg1
= (int ) 0;
2137 char *_kwnames
[] = { "commandType","id", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2151 _resultobj
= Py_BuildValue("s",_ptemp
);
2154 _resultobj
= Py_None
;
2159 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2160 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 wxListEvent
* _arg0
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= (int )wxListEvent_m_code_get(_arg0
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2183 } _resultobj
= Py_BuildValue("i",_result
);
2187 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2188 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxListEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("l",_result
);
2215 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2216 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("l",_result
);
2243 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2244 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 wxListEvent
* _arg0
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 _result
= (int )wxListEvent_m_col_get(_arg0
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) return NULL
;
2267 } _resultobj
= Py_BuildValue("i",_result
);
2271 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2272 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 wxListEvent
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 _resultobj
= Py_None
;
2306 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2307 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxListItem
* _result
;
2310 wxListEvent
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2334 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2335 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2338 wxListEvent
* _arg0
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 _result
= (int )wxListEvent_GetCode(_arg0
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } _resultobj
= Py_BuildValue("i",_result
);
2362 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2363 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2366 wxListEvent
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (long )wxListEvent_GetIndex(_arg0
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } _resultobj
= Py_BuildValue("l",_result
);
2390 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2391 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2394 wxListEvent
* _arg0
;
2395 PyObject
* _argo0
= 0;
2396 char *_kwnames
[] = { "self", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 _result
= (int )wxListEvent_GetColumn(_arg0
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } _resultobj
= Py_BuildValue("i",_result
);
2418 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2419 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2422 wxListEvent
* _arg0
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2444 _resultobj
= Py_BuildValue("s",_ptemp
);
2448 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2449 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2452 wxListEvent
* _arg0
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2469 _result
= (wxString
*) &_result_ref
;
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2475 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2483 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2484 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2487 wxListEvent
* _arg0
;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2504 _result
= (wxString
*) &_result_ref
;
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2510 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2512 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2518 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2519 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2522 wxListEvent
* _arg0
;
2523 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 _result
= (int )wxListEvent_GetImage(_arg0
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) return NULL
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2547 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2550 wxListEvent
* _arg0
;
2551 PyObject
* _argo0
= 0;
2552 char *_kwnames
[] = { "self", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 _result
= (long )wxListEvent_GetData(_arg0
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) return NULL
;
2570 } _resultobj
= Py_BuildValue("l",_result
);
2574 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2575 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2578 wxListEvent
* _arg0
;
2579 PyObject
* _argo0
= 0;
2580 char *_kwnames
[] = { "self", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 _result
= (long )wxListEvent_GetMask(_arg0
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2598 } _resultobj
= Py_BuildValue("l",_result
);
2602 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2603 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2605 wxListItem
* _result
;
2606 wxListEvent
* _arg0
;
2607 PyObject
* _argo0
= 0;
2608 char *_kwnames
[] = { "self", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2623 _result
= (wxListItem
*) &_result_ref
;
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2627 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2631 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2632 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2635 wxListEvent
* _arg0
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } _resultobj
= Py_BuildValue("l",_result
);
2659 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2660 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2663 wxListEvent
* _arg0
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } _resultobj
= Py_BuildValue("l",_result
);
2687 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2690 src
= (wxPyListCtrl
*) ptr
;
2691 dest
= (wxControl
*) src
;
2692 return (void *) dest
;
2695 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2698 src
= (wxPyListCtrl
*) ptr
;
2699 dest
= (wxWindow
*) src
;
2700 return (void *) dest
;
2703 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2706 src
= (wxPyListCtrl
*) ptr
;
2707 dest
= (wxEvtHandler
*) src
;
2708 return (void *) dest
;
2711 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2714 src
= (wxPyListCtrl
*) ptr
;
2715 dest
= (wxObject
*) src
;
2716 return (void *) dest
;
2719 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2720 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxPyListCtrl
* _result
;
2724 wxWindowID _arg1
= (wxWindowID
) -1;
2725 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2726 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2727 long _arg4
= (long ) (wxLC_ICON
);
2728 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2729 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
2730 PyObject
* _argo0
= 0;
2732 PyObject
* _obj2
= 0;
2734 PyObject
* _obj3
= 0;
2735 PyObject
* _argo5
= 0;
2736 PyObject
* _obj6
= 0;
2737 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2753 if (! wxPoint_helper(_obj2
, &_arg2
))
2759 if (! wxSize_helper(_obj3
, &_arg3
))
2763 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2771 _arg6
= wxString_in_helper(_obj6
);
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2786 _resultobj
= Py_None
;
2795 #define new_wxPreListCtrl() (new wxPyListCtrl())
2796 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2798 wxPyListCtrl
* _result
;
2799 char *_kwnames
[] = { NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2813 _resultobj
= Py_BuildValue("s",_ptemp
);
2816 _resultobj
= Py_None
;
2821 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2822 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2825 wxPyListCtrl
* _arg0
;
2827 wxWindowID _arg2
= (wxWindowID
) -1;
2828 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2829 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2830 long _arg5
= (long ) (wxLC_ICON
);
2831 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2832 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
2833 PyObject
* _argo0
= 0;
2834 PyObject
* _argo1
= 0;
2836 PyObject
* _obj3
= 0;
2838 PyObject
* _obj4
= 0;
2839 PyObject
* _argo6
= 0;
2840 PyObject
* _obj7
= 0;
2841 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2863 if (! wxPoint_helper(_obj3
, &_arg3
))
2869 if (! wxSize_helper(_obj4
, &_arg4
))
2873 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2881 _arg7
= wxString_in_helper(_obj7
);
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) return NULL
;
2891 } _resultobj
= Py_BuildValue("i",_result
);
2899 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2900 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2902 wxPyListCtrl
* _arg0
;
2905 PyObject
* _argo0
= 0;
2906 PyObject
* _obj1
= 0;
2907 PyObject
* _obj2
= 0;
2908 char *_kwnames
[] = { "self","self","_class", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2938 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2941 wxPyListCtrl
* _arg0
;
2943 PyObject
* _argo0
= 0;
2945 PyObject
* _obj1
= 0;
2946 char *_kwnames
[] = { "self","col", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
2960 if (! wxColour_helper(_obj1
, &_arg1
))
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) return NULL
;
2969 } _resultobj
= Py_BuildValue("i",_result
);
2973 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2974 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
* _resultobj
;
2977 wxPyListCtrl
* _arg0
;
2979 PyObject
* _argo0
= 0;
2981 PyObject
* _obj1
= 0;
2982 char *_kwnames
[] = { "self","col", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
2996 if (! wxColour_helper(_obj1
, &_arg1
))
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) return NULL
;
3005 } _resultobj
= Py_BuildValue("i",_result
);
3009 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3011 if (self
->GetColumn(col
, item
))
3012 return new wxListItem(item
);
3016 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3018 wxListItem
* _result
;
3019 wxPyListCtrl
* _arg0
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self","col", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) return NULL
;
3040 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3044 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3045 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3048 wxPyListCtrl
* _arg0
;
3051 PyObject
* _argo0
= 0;
3052 PyObject
* _argo2
= 0;
3053 char *_kwnames
[] = { "self","col","item", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3066 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) return NULL
;
3078 } _resultobj
= Py_BuildValue("i",_result
);
3082 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3083 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3086 wxPyListCtrl
* _arg0
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self","col", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) return NULL
;
3107 } _resultobj
= Py_BuildValue("i",_result
);
3111 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3112 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3115 wxPyListCtrl
* _arg0
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","col","width", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } _resultobj
= Py_BuildValue("i",_result
);
3141 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3142 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3145 wxPyListCtrl
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } _resultobj
= Py_BuildValue("i",_result
);
3169 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3170 wxListItem
* info
= new wxListItem
;
3171 info
->m_itemId
= itemId
;
3173 info
->m_mask
= 0xFFFF;
3174 self
->GetItem(*info
);
3177 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3179 wxListItem
* _result
;
3180 wxPyListCtrl
* _arg0
;
3182 int _arg2
= (int ) 0;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "self","itemId","col", NULL
};
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) return NULL
;
3202 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3206 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3207 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3210 wxPyListCtrl
* _arg0
;
3212 PyObject
* _argo0
= 0;
3213 PyObject
* _argo1
= 0;
3214 char *_kwnames
[] = { "self","info", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) return NULL
;
3239 } _resultobj
= Py_BuildValue("i",_result
);
3243 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3244 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3247 wxPyListCtrl
* _arg0
;
3251 int _arg4
= (int ) -1;
3252 PyObject
* _argo0
= 0;
3253 PyObject
* _obj3
= 0;
3254 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3267 _arg3
= wxString_in_helper(_obj3
);
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) return NULL
;
3277 } _resultobj
= Py_BuildValue("l",_result
);
3285 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3286 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3289 wxPyListCtrl
* _arg0
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) return NULL
;
3311 } _resultobj
= Py_BuildValue("i",_result
);
3315 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3316 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 wxPyListCtrl
* _arg0
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 } _resultobj
= Py_BuildValue("i",_result
);
3346 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3347 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 wxPyListCtrl
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 } _resultobj
= Py_BuildValue("i",_result
);
3377 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3378 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 wxPyListCtrl
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self","item", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) return NULL
;
3404 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3406 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3415 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3416 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxPyListCtrl
* _arg0
;
3421 PyObject
* _argo0
= 0;
3422 PyObject
* _obj2
= 0;
3423 char *_kwnames
[] = { "self","item","str", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3436 _arg2
= wxString_in_helper(_obj2
);
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) return NULL
;
3446 } Py_INCREF(Py_None
);
3447 _resultobj
= Py_None
;
3455 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3456 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3459 wxPyListCtrl
* _arg0
;
3461 PyObject
* _argo0
= 0;
3462 char *_kwnames
[] = { "self","item", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3480 } _resultobj
= Py_BuildValue("l",_result
);
3484 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3485 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
* _resultobj
;
3488 wxPyListCtrl
* _arg0
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self","item","data", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3510 } _resultobj
= Py_BuildValue("i",_result
);
3514 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3515 wxPoint
* pos
= new wxPoint
;
3516 self
->GetItemPosition(item
, *pos
);
3519 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3522 wxPyListCtrl
* _arg0
;
3524 PyObject
* _argo0
= 0;
3525 char *_kwnames
[] = { "self","item", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) return NULL
;
3545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3546 _resultobj
= Py_BuildValue("s",_ptemp
);
3549 _resultobj
= Py_None
;
3554 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3555 wxRect
* rect
= new wxRect
;
3556 self
->GetItemRect(item
, *rect
, code
);
3559 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3562 wxPyListCtrl
* _arg0
;
3564 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self","item","code", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) return NULL
;
3586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3587 _resultobj
= Py_BuildValue("s",_ptemp
);
3590 _resultobj
= Py_None
;
3595 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3596 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3599 wxPyListCtrl
* _arg0
;
3602 PyObject
* _argo0
= 0;
3604 PyObject
* _obj2
= 0;
3605 char *_kwnames
[] = { "self","item","pos", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3619 if (! wxPoint_helper(_obj2
, &_arg2
))
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) return NULL
;
3628 } _resultobj
= Py_BuildValue("i",_result
);
3632 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3633 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3636 wxPyListCtrl
* _arg0
;
3637 PyObject
* _argo0
= 0;
3638 char *_kwnames
[] = { "self", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3656 } _resultobj
= Py_BuildValue("i",_result
);
3660 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3661 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
* _resultobj
;
3664 wxPyListCtrl
* _arg0
;
3665 PyObject
* _argo0
= 0;
3666 char *_kwnames
[] = { "self", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) return NULL
;
3684 } _resultobj
= Py_BuildValue("i",_result
);
3688 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3689 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3692 wxPyListCtrl
* _arg0
;
3694 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self","isSmall", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3708 _arg1
= (bool ) tempbool1
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) return NULL
;
3715 } _resultobj
= Py_BuildValue("i",_result
);
3719 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3720 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3723 wxPyListCtrl
* _arg0
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3743 } _resultobj
= Py_BuildValue("i",_result
);
3747 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3748 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3751 wxPyListCtrl
* _arg0
;
3752 PyObject
* _argo0
= 0;
3753 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) return NULL
;
3772 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3773 _resultobj
= Py_BuildValue("s",_ptemp
);
3777 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3778 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxPyListCtrl
* _arg0
;
3782 PyObject
* _argo0
= 0;
3784 PyObject
* _obj1
= 0;
3785 char *_kwnames
[] = { "self","col", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3799 if (! wxColour_helper(_obj1
, &_arg1
))
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) return NULL
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3814 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3817 wxPyListCtrl
* _arg0
;
3818 PyObject
* _argo0
= 0;
3819 char *_kwnames
[] = { "self", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3837 } _resultobj
= Py_BuildValue("l",_result
);
3841 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3842 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3844 wxPyListCtrl
* _arg0
;
3846 bool _arg2
= (bool ) TRUE
;
3847 PyObject
* _argo0
= 0;
3848 int tempbool2
= (int) TRUE
;
3849 char *_kwnames
[] = { "self","style","add", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3861 _arg2
= (bool ) tempbool2
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) return NULL
;
3868 } Py_INCREF(Py_None
);
3869 _resultobj
= Py_None
;
3873 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3874 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3876 wxPyListCtrl
* _arg0
;
3878 PyObject
* _argo0
= 0;
3879 char *_kwnames
[] = { "self","style", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) return NULL
;
3897 } Py_INCREF(Py_None
);
3898 _resultobj
= Py_None
;
3902 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3903 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3906 wxPyListCtrl
* _arg0
;
3908 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3909 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3910 PyObject
* _argo0
= 0;
3911 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } _resultobj
= Py_BuildValue("l",_result
);
3933 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3934 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3936 wxImageList
* _result
;
3937 wxPyListCtrl
* _arg0
;
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self","which", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3962 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3963 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3965 wxPyListCtrl
* _arg0
;
3966 wxImageList
* _arg1
;
3968 PyObject
* _argo0
= 0;
3969 PyObject
* _argo1
= 0;
3970 char *_kwnames
[] = { "self","imageList","which", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
3983 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4000 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4001 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxPyListCtrl
* _arg0
;
4004 wxImageList
* _arg1
;
4006 PyObject
* _argo0
= 0;
4007 PyObject
* _argo1
= 0;
4008 char *_kwnames
[] = { "self","imageList","which", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) return NULL
;
4033 } Py_INCREF(Py_None
);
4034 _resultobj
= Py_None
;
4038 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4039 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4042 wxPyListCtrl
* _arg0
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) return NULL
;
4062 } _resultobj
= Py_BuildValue("i",_result
);
4066 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4067 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4069 wxPyListCtrl
* _arg0
;
4071 PyObject
* _argo0
= 0;
4072 char *_kwnames
[] = { "self","item", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) return NULL
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4096 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4098 wxPyListCtrl
* _arg0
;
4101 PyObject
* _argo0
= 0;
4102 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) return NULL
;
4120 } Py_INCREF(Py_None
);
4121 _resultobj
= Py_None
;
4125 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4126 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 wxPyListCtrl
* _arg0
;
4130 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4131 PyObject
* _argo0
= 0;
4132 char *_kwnames
[] = { "self","flag", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) return NULL
;
4150 } _resultobj
= Py_BuildValue("i",_result
);
4154 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4155 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4158 wxPyListCtrl
* _arg0
;
4160 PyObject
* _argo0
= 0;
4161 char *_kwnames
[] = { "self","item", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) return NULL
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4184 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4187 wxPyListCtrl
* _arg0
;
4188 PyObject
* _argo0
= 0;
4189 char *_kwnames
[] = { "self", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4207 } _resultobj
= Py_BuildValue("i",_result
);
4211 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4212 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
* _resultobj
;
4215 wxPyListCtrl
* _arg0
;
4217 PyObject
* _argo0
= 0;
4218 char *_kwnames
[] = { "self","col", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) return NULL
;
4236 } _resultobj
= Py_BuildValue("i",_result
);
4240 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4241 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4244 wxPyListCtrl
* _arg0
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) return NULL
;
4264 } _resultobj
= Py_BuildValue("i",_result
);
4268 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4269 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4271 wxPyListCtrl
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxListCtrl_ClearAll(_arg0
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) return NULL
;
4291 } Py_INCREF(Py_None
);
4292 _resultobj
= Py_None
;
4296 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4297 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 wxPyListCtrl
* _arg0
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self","item", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) return NULL
;
4321 } _resultobj
= Py_BuildValue("i",_result
);
4325 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4326 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4329 wxPyListCtrl
* _arg0
;
4332 bool _arg3
= (bool ) FALSE
;
4333 PyObject
* _argo0
= 0;
4334 PyObject
* _obj2
= 0;
4335 int tempbool3
= (int) FALSE
;
4336 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4349 _arg2
= wxString_in_helper(_obj2
);
4353 _arg3
= (bool ) tempbool3
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } _resultobj
= Py_BuildValue("l",_result
);
4368 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4369 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4372 wxPyListCtrl
* _arg0
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self","start","data", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } _resultobj
= Py_BuildValue("l",_result
);
4398 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4399 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4402 wxPyListCtrl
* _arg0
;
4406 PyObject
* _argo0
= 0;
4408 PyObject
* _obj2
= 0;
4409 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4423 if (! wxPoint_helper(_obj2
, &_arg2
))
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) return NULL
;
4432 } _resultobj
= Py_BuildValue("l",_result
);
4436 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4437 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4440 wxPyListCtrl
* _arg0
;
4444 PyObject
* _argo0
= 0;
4446 PyObject
* _obj1
= 0;
4447 char *_kwnames
[] = { "self","point", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4464 if (! wxPoint_helper(_obj1
, &_arg1
))
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) return NULL
;
4473 } _resultobj
= Py_BuildValue("l",_result
);
4476 o
= PyInt_FromLong((long) (*_arg2
));
4477 _resultobj
= t_output_helper(_resultobj
, o
);
4482 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4483 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
* _resultobj
;
4486 wxPyListCtrl
* _arg0
;
4488 PyObject
* _argo0
= 0;
4489 PyObject
* _argo1
= 0;
4490 char *_kwnames
[] = { "self","info", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4515 } _resultobj
= Py_BuildValue("l",_result
);
4519 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4520 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 wxPyListCtrl
* _arg0
;
4526 PyObject
* _argo0
= 0;
4527 PyObject
* _obj2
= 0;
4528 char *_kwnames
[] = { "self","index","label", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4541 _arg2
= wxString_in_helper(_obj2
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) return NULL
;
4551 } _resultobj
= Py_BuildValue("l",_result
);
4559 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4560 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4563 wxPyListCtrl
* _arg0
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } _resultobj
= Py_BuildValue("l",_result
);
4589 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4590 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4593 wxPyListCtrl
* _arg0
;
4597 PyObject
* _argo0
= 0;
4598 PyObject
* _obj2
= 0;
4599 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4612 _arg2
= wxString_in_helper(_obj2
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) return NULL
;
4622 } _resultobj
= Py_BuildValue("l",_result
);
4630 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4631 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
* _resultobj
;
4634 wxPyListCtrl
* _arg0
;
4637 PyObject
* _argo0
= 0;
4638 PyObject
* _argo2
= 0;
4639 char *_kwnames
[] = { "self","col","info", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4652 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) return NULL
;
4664 } _resultobj
= Py_BuildValue("l",_result
);
4668 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4669 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4672 wxPyListCtrl
* _arg0
;
4675 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4676 int _arg4
= (int ) -1;
4677 PyObject
* _argo0
= 0;
4678 PyObject
* _obj2
= 0;
4679 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4692 _arg2
= wxString_in_helper(_obj2
);
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) return NULL
;
4702 } _resultobj
= Py_BuildValue("l",_result
);
4710 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4711 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4713 wxPyListCtrl
* _arg0
;
4715 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self","count", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) return NULL
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4740 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4743 wxPyListCtrl
* _arg0
;
4746 PyObject
* _argo0
= 0;
4747 char *_kwnames
[] = { "self","dx","dy", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) return NULL
;
4765 } _resultobj
= Py_BuildValue("i",_result
);
4769 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4770 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4772 wxPyListCtrl
* _arg0
;
4775 PyObject
* _argo0
= 0;
4777 PyObject
* _obj2
= 0;
4778 char *_kwnames
[] = { "self","item","col", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4792 if (! wxColour_helper(_obj2
, &_arg2
))
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) return NULL
;
4801 } Py_INCREF(Py_None
);
4802 _resultobj
= Py_None
;
4806 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4807 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4810 wxPyListCtrl
* _arg0
;
4812 PyObject
* _argo0
= 0;
4813 char *_kwnames
[] = { "self","item", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4833 _resultobj
= Py_BuildValue("s",_ptemp
);
4837 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4838 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4840 wxPyListCtrl
* _arg0
;
4843 PyObject
* _argo0
= 0;
4845 PyObject
* _obj2
= 0;
4846 char *_kwnames
[] = { "self","item","col", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4860 if (! wxColour_helper(_obj2
, &_arg2
))
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) return NULL
;
4869 } Py_INCREF(Py_None
);
4870 _resultobj
= Py_None
;
4874 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4875 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4878 wxPyListCtrl
* _arg0
;
4880 PyObject
* _argo0
= 0;
4881 char *_kwnames
[] = { "self","item", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4901 _resultobj
= Py_BuildValue("s",_ptemp
);
4905 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4906 if (!PyCallable_Check(func
))
4908 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4910 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
* _resultobj
;
4913 wxPyListCtrl
* _arg0
;
4915 PyObject
* _argo0
= 0;
4916 PyObject
* _obj1
= 0;
4917 char *_kwnames
[] = { "self","func", NULL
};
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) return NULL
;
4938 } _resultobj
= Py_BuildValue("i",_result
);
4942 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
4945 src
= (wxListView
*) ptr
;
4946 dest
= (wxPyListCtrl
*) src
;
4947 return (void *) dest
;
4950 static void *SwigwxListViewTowxControl(void *ptr
) {
4953 src
= (wxListView
*) ptr
;
4954 dest
= (wxControl
*) src
;
4955 return (void *) dest
;
4958 static void *SwigwxListViewTowxWindow(void *ptr
) {
4961 src
= (wxListView
*) ptr
;
4962 dest
= (wxWindow
*) src
;
4963 return (void *) dest
;
4966 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
4969 src
= (wxListView
*) ptr
;
4970 dest
= (wxEvtHandler
*) src
;
4971 return (void *) dest
;
4974 static void *SwigwxListViewTowxObject(void *ptr
) {
4977 src
= (wxListView
*) ptr
;
4978 dest
= (wxObject
*) src
;
4979 return (void *) dest
;
4982 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4983 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4985 wxListView
* _result
;
4987 wxWindowID _arg1
= (wxWindowID
) -1;
4988 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4989 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4990 long _arg4
= (long ) (wxLC_REPORT
);
4991 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
4992 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
4993 PyObject
* _argo0
= 0;
4995 PyObject
* _obj2
= 0;
4997 PyObject
* _obj3
= 0;
4998 PyObject
* _argo5
= 0;
4999 PyObject
* _obj6
= 0;
5000 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5016 if (! wxPoint_helper(_obj2
, &_arg2
))
5022 if (! wxSize_helper(_obj3
, &_arg3
))
5026 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5034 _arg6
= wxString_in_helper(_obj6
);
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) return NULL
;
5045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5046 _resultobj
= Py_BuildValue("s",_ptemp
);
5049 _resultobj
= Py_None
;
5058 #define new_wxPreListView() (new wxListView())
5059 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5061 wxListView
* _result
;
5062 char *_kwnames
[] = { NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 _result
= (wxListView
*)new_wxPreListView();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) return NULL
;
5075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5076 _resultobj
= Py_BuildValue("s",_ptemp
);
5079 _resultobj
= Py_None
;
5084 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5085 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5090 wxWindowID _arg2
= (wxWindowID
) -1;
5091 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5092 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5093 long _arg5
= (long ) (wxLC_REPORT
);
5094 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5095 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5096 PyObject
* _argo0
= 0;
5097 PyObject
* _argo1
= 0;
5099 PyObject
* _obj3
= 0;
5101 PyObject
* _obj4
= 0;
5102 PyObject
* _argo6
= 0;
5103 PyObject
* _obj7
= 0;
5104 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5126 if (! wxPoint_helper(_obj3
, &_arg3
))
5132 if (! wxSize_helper(_obj4
, &_arg4
))
5136 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5144 _arg7
= wxString_in_helper(_obj7
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) return NULL
;
5154 } _resultobj
= Py_BuildValue("i",_result
);
5162 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5163 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5167 bool _arg2
= (bool ) TRUE
;
5168 PyObject
* _argo0
= 0;
5169 int tempbool2
= (int) TRUE
;
5170 char *_kwnames
[] = { "self","n","on", NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5182 _arg2
= (bool ) tempbool2
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxListView_Select(_arg0
,_arg1
,_arg2
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) return NULL
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5194 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5195 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self","index", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 wxListView_Focus(_arg0
,_arg1
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) return NULL
;
5218 } Py_INCREF(Py_None
);
5219 _resultobj
= Py_None
;
5223 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5224 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5228 PyObject
* _argo0
= 0;
5229 char *_kwnames
[] = { "self", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } _resultobj
= Py_BuildValue("l",_result
);
5251 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5252 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5257 PyObject
* _argo0
= 0;
5258 char *_kwnames
[] = { "self","item", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) return NULL
;
5276 } _resultobj
= Py_BuildValue("l",_result
);
5280 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5281 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
* _resultobj
;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
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_GetFirstSelected. Expected _wxListView_p.");
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5304 } _resultobj
= Py_BuildValue("l",_result
);
5308 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5309 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5314 PyObject
* _argo0
= 0;
5315 char *_kwnames
[] = { "self","index", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) return NULL
;
5333 } _resultobj
= Py_BuildValue("i",_result
);
5337 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5338 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self","col","image", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) return NULL
;
5362 } Py_INCREF(Py_None
);
5363 _resultobj
= Py_None
;
5367 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5368 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self","col", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 wxListView_ClearColumnImage(_arg0
,_arg1
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5391 } Py_INCREF(Py_None
);
5392 _resultobj
= Py_None
;
5396 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5397 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5399 wxTreeItemAttr
* _result
;
5400 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5401 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5402 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5404 PyObject
* _obj0
= 0;
5406 PyObject
* _obj1
= 0;
5407 PyObject
* _argo2
= 0;
5408 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5417 if (! wxColour_helper(_obj0
, &_arg0
))
5423 if (! wxColour_helper(_obj1
, &_arg1
))
5427 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5428 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) return NULL
;
5440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5441 _resultobj
= Py_BuildValue("s",_ptemp
);
5444 _resultobj
= Py_None
;
5449 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5450 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5452 wxTreeItemAttr
* _arg0
;
5454 PyObject
* _argo0
= 0;
5456 PyObject
* _obj1
= 0;
5457 char *_kwnames
[] = { "self","colText", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5471 if (! wxColour_helper(_obj1
, &_arg1
))
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) return NULL
;
5480 } Py_INCREF(Py_None
);
5481 _resultobj
= Py_None
;
5485 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5486 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
* _resultobj
;
5488 wxTreeItemAttr
* _arg0
;
5490 PyObject
* _argo0
= 0;
5492 PyObject
* _obj1
= 0;
5493 char *_kwnames
[] = { "self","colBack", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5507 if (! wxColour_helper(_obj1
, &_arg1
))
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) return NULL
;
5516 } Py_INCREF(Py_None
);
5517 _resultobj
= Py_None
;
5521 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5522 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5524 wxTreeItemAttr
* _arg0
;
5526 PyObject
* _argo0
= 0;
5527 PyObject
* _argo1
= 0;
5528 char *_kwnames
[] = { "self","font", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) return NULL
;
5553 } Py_INCREF(Py_None
);
5554 _resultobj
= Py_None
;
5558 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5559 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5562 wxTreeItemAttr
* _arg0
;
5563 PyObject
* _argo0
= 0;
5564 char *_kwnames
[] = { "self", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) return NULL
;
5582 } _resultobj
= Py_BuildValue("i",_result
);
5586 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5587 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(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_HasBackgroundColour",_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_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) return NULL
;
5610 } _resultobj
= Py_BuildValue("i",_result
);
5614 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5615 static PyObject
*_wrap_wxTreeItemAttr_HasFont(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_HasFont",_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_HasFont. Expected _wxTreeItemAttr_p.");
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) return NULL
;
5638 } _resultobj
= Py_BuildValue("i",_result
);
5642 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5643 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5646 wxTreeItemAttr
* _arg0
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) return NULL
;
5667 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5668 _resultobj
= Py_BuildValue("s",_ptemp
);
5672 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5673 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5676 wxTreeItemAttr
* _arg0
;
5677 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self", NULL
};
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) return NULL
;
5697 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5698 _resultobj
= Py_BuildValue("s",_ptemp
);
5702 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5703 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
* _resultobj
;
5706 wxTreeItemAttr
* _arg0
;
5707 PyObject
* _argo0
= 0;
5708 char *_kwnames
[] = { "self", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) return NULL
;
5727 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5728 _resultobj
= Py_BuildValue("s",_ptemp
);
5732 #define new_wxTreeItemId() (new wxTreeItemId())
5733 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5735 wxTreeItemId
* _result
;
5736 char *_kwnames
[] = { NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5750 _resultobj
= Py_BuildValue("s",_ptemp
);
5753 _resultobj
= Py_None
;
5758 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5759 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5761 wxTreeItemId
* _arg0
;
5762 PyObject
* _argo0
= 0;
5763 char *_kwnames
[] = { "self", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 delete_wxTreeItemId(_arg0
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) return NULL
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5786 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5787 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5790 wxTreeItemId
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } _resultobj
= Py_BuildValue("i",_result
);
5814 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5815 if (! other
) return -1;
5816 return *self
!= *other
;
5818 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5821 wxTreeItemId
* _arg0
;
5822 wxTreeItemId
* _arg1
;
5823 PyObject
* _argo0
= 0;
5824 PyObject
* _argo1
= 0;
5825 char *_kwnames
[] = { "self","other", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5850 } _resultobj
= Py_BuildValue("i",_result
);
5854 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5855 wxPyTreeItemData
*src
;
5857 src
= (wxPyTreeItemData
*) ptr
;
5858 dest
= (wxObject
*) src
;
5859 return (void *) dest
;
5862 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5863 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
* _resultobj
;
5865 wxPyTreeItemData
* _result
;
5866 PyObject
* _arg0
= (PyObject
*) NULL
;
5867 PyObject
* _obj0
= 0;
5868 char *_kwnames
[] = { "obj", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) return NULL
;
5885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5886 _resultobj
= Py_BuildValue("s",_ptemp
);
5889 _resultobj
= Py_None
;
5894 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5895 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5898 wxPyTreeItemData
* _arg0
;
5899 PyObject
* _argo0
= 0;
5900 char *_kwnames
[] = { "self", NULL
};
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) return NULL
;
5919 _resultobj
= _result
;
5924 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5925 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5927 wxPyTreeItemData
* _arg0
;
5929 PyObject
* _argo0
= 0;
5930 PyObject
* _obj1
= 0;
5931 char *_kwnames
[] = { "self","obj", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxTreeItemData_SetData(_arg0
,_arg1
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) return NULL
;
5952 } Py_INCREF(Py_None
);
5953 _resultobj
= Py_None
;
5957 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
5958 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
* _resultobj
;
5960 wxTreeItemId
* _result
;
5961 wxPyTreeItemData
* _arg0
;
5962 PyObject
* _argo0
= 0;
5963 char *_kwnames
[] = { "self", NULL
};
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
5970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
5979 _result
= (wxTreeItemId
*) &_result_ref
;
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) return NULL
;
5984 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5985 _resultobj
= Py_BuildValue("s",_ptemp
);
5988 _resultobj
= Py_None
;
5993 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
5994 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5996 wxPyTreeItemData
* _arg0
;
5997 wxTreeItemId
* _arg1
;
5998 PyObject
* _argo0
= 0;
5999 PyObject
* _argo1
= 0;
6000 char *_kwnames
[] = { "self","id", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxTreeItemData_SetId(_arg0
,*_arg1
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) return NULL
;
6025 } Py_INCREF(Py_None
);
6026 _resultobj
= Py_None
;
6030 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6032 wxNotifyEvent
*dest
;
6033 src
= (wxTreeEvent
*) ptr
;
6034 dest
= (wxNotifyEvent
*) src
;
6035 return (void *) dest
;
6038 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6040 wxCommandEvent
*dest
;
6041 src
= (wxTreeEvent
*) ptr
;
6042 dest
= (wxCommandEvent
*) src
;
6043 return (void *) dest
;
6046 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6049 src
= (wxTreeEvent
*) ptr
;
6050 dest
= (wxEvent
*) src
;
6051 return (void *) dest
;
6054 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6057 src
= (wxTreeEvent
*) ptr
;
6058 dest
= (wxObject
*) src
;
6059 return (void *) dest
;
6062 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6063 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6065 wxTreeEvent
* _result
;
6066 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6067 int _arg1
= (int ) 0;
6068 char *_kwnames
[] = { "commandType","id", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) return NULL
;
6081 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6082 _resultobj
= Py_BuildValue("s",_ptemp
);
6085 _resultobj
= Py_None
;
6090 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6091 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxTreeItemId
* _result
;
6094 wxTreeEvent
* _arg0
;
6095 PyObject
* _argo0
= 0;
6096 char *_kwnames
[] = { "self", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) return NULL
;
6115 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6116 _resultobj
= Py_BuildValue("s",_ptemp
);
6120 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6121 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6123 wxTreeItemId
* _result
;
6124 wxTreeEvent
* _arg0
;
6125 PyObject
* _argo0
= 0;
6126 char *_kwnames
[] = { "self", NULL
};
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) return NULL
;
6145 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6146 _resultobj
= Py_BuildValue("s",_ptemp
);
6150 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6151 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
* _resultobj
;
6154 wxTreeEvent
* _arg0
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) return NULL
;
6175 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6176 _resultobj
= Py_BuildValue("s",_ptemp
);
6180 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6181 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6183 wxKeyEvent
* _result
;
6184 wxTreeEvent
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6202 _result
= (wxKeyEvent
*) &_result_ref
;
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) return NULL
;
6207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6208 _resultobj
= Py_BuildValue("s",_ptemp
);
6211 _resultobj
= Py_None
;
6216 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6217 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6220 wxTreeEvent
* _arg0
;
6221 PyObject
* _argo0
= 0;
6222 char *_kwnames
[] = { "self", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) return NULL
;
6240 } _resultobj
= Py_BuildValue("i",_result
);
6244 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6245 static PyObject
*_wrap_wxTreeEvent_GetLabel(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_GetLabel",_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_GetLabel. Expected _wxTreeEvent_p.");
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6265 _result
= (wxString
*) &_result_ref
;
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) return NULL
;
6271 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6273 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6279 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6282 src
= (wxPyTreeCtrl
*) ptr
;
6283 dest
= (wxControl
*) src
;
6284 return (void *) dest
;
6287 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6290 src
= (wxPyTreeCtrl
*) ptr
;
6291 dest
= (wxWindow
*) src
;
6292 return (void *) dest
;
6295 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6298 src
= (wxPyTreeCtrl
*) ptr
;
6299 dest
= (wxEvtHandler
*) src
;
6300 return (void *) dest
;
6303 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6306 src
= (wxPyTreeCtrl
*) ptr
;
6307 dest
= (wxObject
*) src
;
6308 return (void *) dest
;
6311 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6312 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6314 wxPyTreeCtrl
* _result
;
6316 wxWindowID _arg1
= (wxWindowID
) -1;
6317 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6318 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6319 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6320 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6321 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6322 PyObject
* _argo0
= 0;
6324 PyObject
* _obj2
= 0;
6326 PyObject
* _obj3
= 0;
6327 PyObject
* _argo5
= 0;
6328 PyObject
* _obj6
= 0;
6329 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6345 if (! wxPoint_helper(_obj2
, &_arg2
))
6351 if (! wxSize_helper(_obj3
, &_arg3
))
6355 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6363 _arg6
= wxString_in_helper(_obj6
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) return NULL
;
6374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6375 _resultobj
= Py_BuildValue("s",_ptemp
);
6378 _resultobj
= Py_None
;
6387 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6388 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6390 wxPyTreeCtrl
* _result
;
6391 char *_kwnames
[] = { NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) return NULL
;
6404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6405 _resultobj
= Py_BuildValue("s",_ptemp
);
6408 _resultobj
= Py_None
;
6413 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6414 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6417 wxPyTreeCtrl
* _arg0
;
6419 wxWindowID _arg2
= (wxWindowID
) -1;
6420 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6421 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6422 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6423 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6424 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6425 PyObject
* _argo0
= 0;
6426 PyObject
* _argo1
= 0;
6428 PyObject
* _obj3
= 0;
6430 PyObject
* _obj4
= 0;
6431 PyObject
* _argo6
= 0;
6432 PyObject
* _obj7
= 0;
6433 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6455 if (! wxPoint_helper(_obj3
, &_arg3
))
6461 if (! wxSize_helper(_obj4
, &_arg4
))
6465 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6473 _arg7
= wxString_in_helper(_obj7
);
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) return NULL
;
6483 } _resultobj
= Py_BuildValue("i",_result
);
6491 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6492 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6494 wxPyTreeCtrl
* _arg0
;
6497 PyObject
* _argo0
= 0;
6498 PyObject
* _obj1
= 0;
6499 PyObject
* _obj2
= 0;
6500 char *_kwnames
[] = { "self","self","_class", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) return NULL
;
6524 } Py_INCREF(Py_None
);
6525 _resultobj
= Py_None
;
6529 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6530 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6533 wxPyTreeCtrl
* _arg0
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) return NULL
;
6553 } _resultobj
= Py_BuildValue("i",_result
);
6557 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6558 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6560 unsigned int _result
;
6561 wxPyTreeCtrl
* _arg0
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6581 } _resultobj
= Py_BuildValue("i",_result
);
6585 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6586 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
* _resultobj
;
6588 wxPyTreeCtrl
* _arg0
;
6590 PyObject
* _argo0
= 0;
6591 char *_kwnames
[] = { "self","indent", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) return NULL
;
6609 } Py_INCREF(Py_None
);
6610 _resultobj
= Py_None
;
6614 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6615 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6617 wxImageList
* _result
;
6618 wxPyTreeCtrl
* _arg0
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) return NULL
;
6638 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6642 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6643 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6645 wxImageList
* _result
;
6646 wxPyTreeCtrl
* _arg0
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6670 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6671 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6673 wxPyTreeCtrl
* _arg0
;
6674 wxImageList
* _arg1
;
6675 PyObject
* _argo0
= 0;
6676 PyObject
* _argo1
= 0;
6677 char *_kwnames
[] = { "self","imageList", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) return NULL
;
6702 } Py_INCREF(Py_None
);
6703 _resultobj
= Py_None
;
6707 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6708 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
* _resultobj
;
6710 wxPyTreeCtrl
* _arg0
;
6711 wxImageList
* _arg1
;
6712 PyObject
* _argo0
= 0;
6713 PyObject
* _argo1
= 0;
6714 char *_kwnames
[] = { "self","imageList", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) return NULL
;
6739 } Py_INCREF(Py_None
);
6740 _resultobj
= Py_None
;
6744 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6745 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6747 wxPyTreeCtrl
* _arg0
;
6748 wxImageList
* _arg1
;
6749 PyObject
* _argo0
= 0;
6750 PyObject
* _argo1
= 0;
6751 char *_kwnames
[] = { "self","imageList", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) return NULL
;
6776 } Py_INCREF(Py_None
);
6777 _resultobj
= Py_None
;
6781 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6782 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6784 wxPyTreeCtrl
* _arg0
;
6785 wxImageList
* _arg1
;
6786 PyObject
* _argo0
= 0;
6787 PyObject
* _argo1
= 0;
6788 char *_kwnames
[] = { "self","imageList", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6813 } Py_INCREF(Py_None
);
6814 _resultobj
= Py_None
;
6818 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6819 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6821 unsigned int _result
;
6822 wxPyTreeCtrl
* _arg0
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) return NULL
;
6842 } _resultobj
= Py_BuildValue("i",_result
);
6846 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6847 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
* _resultobj
;
6849 wxPyTreeCtrl
* _arg0
;
6851 PyObject
* _argo0
= 0;
6852 char *_kwnames
[] = { "self","spacing", NULL
};
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) return NULL
;
6870 } Py_INCREF(Py_None
);
6871 _resultobj
= Py_None
;
6875 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6876 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
* _resultobj
;
6879 wxPyTreeCtrl
* _arg0
;
6880 wxTreeItemId
* _arg1
;
6881 PyObject
* _argo0
= 0;
6882 PyObject
* _argo1
= 0;
6883 char *_kwnames
[] = { "self","item", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
6896 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) return NULL
;
6910 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6912 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6921 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
6922 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6925 wxPyTreeCtrl
* _arg0
;
6926 wxTreeItemId
* _arg1
;
6927 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6928 PyObject
* _argo0
= 0;
6929 PyObject
* _argo1
= 0;
6930 char *_kwnames
[] = { "self","item","which", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
6943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) return NULL
;
6955 } _resultobj
= Py_BuildValue("i",_result
);
6959 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6960 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6963 wxPyTreeCtrl
* _arg0
;
6964 wxTreeItemId
* _arg1
;
6965 PyObject
* _argo0
= 0;
6966 PyObject
* _argo1
= 0;
6967 char *_kwnames
[] = { "self","item", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6980 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) return NULL
;
6992 } _resultobj
= Py_BuildValue("i",_result
);
6996 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
6997 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
6999 wxPyTreeCtrl
* _arg0
;
7000 wxTreeItemId
* _arg1
;
7002 PyObject
* _argo0
= 0;
7003 PyObject
* _argo1
= 0;
7004 PyObject
* _obj2
= 0;
7005 char *_kwnames
[] = { "self","item","text", NULL
};
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7025 _arg2
= wxString_in_helper(_obj2
);
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7035 } Py_INCREF(Py_None
);
7036 _resultobj
= Py_None
;
7044 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7045 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7047 wxPyTreeCtrl
* _arg0
;
7048 wxTreeItemId
* _arg1
;
7050 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7051 PyObject
* _argo0
= 0;
7052 PyObject
* _argo1
= 0;
7053 char *_kwnames
[] = { "self","item","image","which", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) return NULL
;
7078 } Py_INCREF(Py_None
);
7079 _resultobj
= Py_None
;
7083 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7084 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7086 wxPyTreeCtrl
* _arg0
;
7087 wxTreeItemId
* _arg1
;
7089 PyObject
* _argo0
= 0;
7090 PyObject
* _argo1
= 0;
7091 char *_kwnames
[] = { "self","item","image", NULL
};
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) return NULL
;
7116 } Py_INCREF(Py_None
);
7117 _resultobj
= Py_None
;
7121 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7122 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7124 wxPyTreeCtrl
* _arg0
;
7125 wxTreeItemId
* _arg1
;
7126 bool _arg2
= (bool ) TRUE
;
7127 PyObject
* _argo0
= 0;
7128 PyObject
* _argo1
= 0;
7129 int tempbool2
= (int) TRUE
;
7130 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7149 _arg2
= (bool ) tempbool2
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) return NULL
;
7156 } Py_INCREF(Py_None
);
7157 _resultobj
= Py_None
;
7161 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7162 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7164 data
= new wxPyTreeItemData();
7165 data
->SetId(item
); // set the id
7166 self
->SetItemData(item
, data
);
7170 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7172 wxPyTreeItemData
* _result
;
7173 wxPyTreeCtrl
* _arg0
;
7174 wxTreeItemId
* _arg1
;
7175 PyObject
* _argo0
= 0;
7176 PyObject
* _argo1
= 0;
7177 char *_kwnames
[] = { "self","item", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) return NULL
;
7204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7205 _resultobj
= Py_BuildValue("s",_ptemp
);
7208 _resultobj
= Py_None
;
7213 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7214 data
->SetId(item
); // set the id
7215 self
->SetItemData(item
, data
);
7217 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7219 wxPyTreeCtrl
* _arg0
;
7220 wxTreeItemId
* _arg1
;
7221 wxPyTreeItemData
* _arg2
;
7222 PyObject
* _argo0
= 0;
7223 PyObject
* _argo1
= 0;
7224 PyObject
* _argo2
= 0;
7225 char *_kwnames
[] = { "self","item","data", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7245 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) return NULL
;
7257 } Py_INCREF(Py_None
);
7258 _resultobj
= Py_None
;
7262 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7263 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7265 data
= new wxPyTreeItemData();
7266 data
->SetId(item
); // set the id
7267 self
->SetItemData(item
, data
);
7269 return data
->GetData();
7271 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7274 wxPyTreeCtrl
* _arg0
;
7275 wxTreeItemId
* _arg1
;
7276 PyObject
* _argo0
= 0;
7277 PyObject
* _argo1
= 0;
7278 char *_kwnames
[] = { "self","item", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) return NULL
;
7304 _resultobj
= _result
;
7309 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7310 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7312 data
= new wxPyTreeItemData(obj
);
7313 data
->SetId(item
); // set the id
7314 self
->SetItemData(item
, data
);
7318 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
* _resultobj
;
7320 wxPyTreeCtrl
* _arg0
;
7321 wxTreeItemId
* _arg1
;
7323 PyObject
* _argo0
= 0;
7324 PyObject
* _argo1
= 0;
7325 PyObject
* _obj2
= 0;
7326 char *_kwnames
[] = { "self","item","obj", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) return NULL
;
7354 } Py_INCREF(Py_None
);
7355 _resultobj
= Py_None
;
7359 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7360 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
* _resultobj
;
7363 wxPyTreeCtrl
* _arg0
;
7364 wxTreeItemId
* _arg1
;
7365 PyObject
* _argo0
= 0;
7366 PyObject
* _argo1
= 0;
7367 char *_kwnames
[] = { "self","item", NULL
};
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) return NULL
;
7392 } _resultobj
= Py_BuildValue("i",_result
);
7396 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7397 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7400 wxPyTreeCtrl
* _arg0
;
7401 wxTreeItemId
* _arg1
;
7402 PyObject
* _argo0
= 0;
7403 PyObject
* _argo1
= 0;
7404 char *_kwnames
[] = { "self","item", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } _resultobj
= Py_BuildValue("i",_result
);
7433 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7434 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7437 wxPyTreeCtrl
* _arg0
;
7438 wxTreeItemId
* _arg1
;
7439 PyObject
* _argo0
= 0;
7440 PyObject
* _argo1
= 0;
7441 char *_kwnames
[] = { "self","item", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) return NULL
;
7466 } _resultobj
= Py_BuildValue("i",_result
);
7470 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7471 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
* _resultobj
;
7474 wxPyTreeCtrl
* _arg0
;
7475 wxTreeItemId
* _arg1
;
7476 PyObject
* _argo0
= 0;
7477 PyObject
* _argo1
= 0;
7478 char *_kwnames
[] = { "self","item", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } _resultobj
= Py_BuildValue("i",_result
);
7507 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7508 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7510 wxTreeItemId
* _result
;
7511 wxPyTreeCtrl
* _arg0
;
7512 PyObject
* _argo0
= 0;
7513 char *_kwnames
[] = { "self", NULL
};
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) return NULL
;
7532 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7533 _resultobj
= Py_BuildValue("s",_ptemp
);
7537 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7538 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
* _resultobj
;
7540 wxTreeItemId
* _result
;
7541 wxPyTreeCtrl
* _arg0
;
7542 PyObject
* _argo0
= 0;
7543 char *_kwnames
[] = { "self", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) return NULL
;
7562 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7563 _resultobj
= Py_BuildValue("s",_ptemp
);
7567 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7568 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7570 wxTreeItemId
* _result
;
7571 wxPyTreeCtrl
* _arg0
;
7572 wxTreeItemId
* _arg1
;
7573 PyObject
* _argo0
= 0;
7574 PyObject
* _argo1
= 0;
7575 char *_kwnames
[] = { "self","item", NULL
};
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) return NULL
;
7601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7602 _resultobj
= Py_BuildValue("s",_ptemp
);
7606 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7607 wxPyBeginBlockThreads();
7608 PyObject
* rval
= PyList_New(0);
7609 wxArrayTreeItemIds array
;
7611 num
= self
->GetSelections(array
);
7612 for (x
=0; x
< num
; x
++) {
7613 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7614 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7615 PyList_Append(rval
, item
);
7617 wxPyEndBlockThreads();
7620 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
* _resultobj
;
7623 wxPyTreeCtrl
* _arg0
;
7624 PyObject
* _argo0
= 0;
7625 char *_kwnames
[] = { "self", NULL
};
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) return NULL
;
7644 _resultobj
= _result
;
7649 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7650 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
* _resultobj
;
7653 wxPyTreeCtrl
* _arg0
;
7654 wxTreeItemId
* _arg1
;
7655 bool _arg2
= (bool ) TRUE
;
7656 PyObject
* _argo0
= 0;
7657 PyObject
* _argo1
= 0;
7658 int tempbool2
= (int) TRUE
;
7659 char *_kwnames
[] = { "self","item","recursively", NULL
};
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7678 _arg2
= (bool ) tempbool2
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) return NULL
;
7685 } _resultobj
= Py_BuildValue("i",_result
);
7689 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7690 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
* _resultobj
;
7692 wxTreeItemId
* _result
;
7693 wxPyTreeCtrl
* _arg0
;
7694 wxTreeItemId
* _arg1
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7699 PyObject
* _obj2
= 0;
7700 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7721 temp
= (long) PyInt_AsLong(_obj2
);
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) return NULL
;
7730 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7731 _resultobj
= Py_BuildValue("s",_ptemp
);
7734 o
= PyInt_FromLong((long) (*_arg2
));
7735 _resultobj
= t_output_helper(_resultobj
, o
);
7740 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7741 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7743 wxTreeItemId
* _result
;
7744 wxPyTreeCtrl
* _arg0
;
7745 wxTreeItemId
* _arg1
;
7747 PyObject
* _argo0
= 0;
7748 PyObject
* _argo1
= 0;
7750 PyObject
* _obj2
= 0;
7751 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7772 temp
= (long) PyInt_AsLong(_obj2
);
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) return NULL
;
7781 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7782 _resultobj
= Py_BuildValue("s",_ptemp
);
7785 o
= PyInt_FromLong((long) (*_arg2
));
7786 _resultobj
= t_output_helper(_resultobj
, o
);
7791 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7792 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
* _resultobj
;
7794 wxTreeItemId
* _result
;
7795 wxPyTreeCtrl
* _arg0
;
7796 wxTreeItemId
* _arg1
;
7797 PyObject
* _argo0
= 0;
7798 PyObject
* _argo1
= 0;
7799 char *_kwnames
[] = { "self","item", NULL
};
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) return NULL
;
7825 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7826 _resultobj
= Py_BuildValue("s",_ptemp
);
7830 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7831 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7833 wxTreeItemId
* _result
;
7834 wxPyTreeCtrl
* _arg0
;
7835 wxTreeItemId
* _arg1
;
7836 PyObject
* _argo0
= 0;
7837 PyObject
* _argo1
= 0;
7838 char *_kwnames
[] = { "self","item", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7865 _resultobj
= Py_BuildValue("s",_ptemp
);
7869 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7870 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7872 wxTreeItemId
* _result
;
7873 wxPyTreeCtrl
* _arg0
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self", NULL
};
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
7882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) return NULL
;
7894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7895 _resultobj
= Py_BuildValue("s",_ptemp
);
7899 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
7900 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7902 wxTreeItemId
* _result
;
7903 wxPyTreeCtrl
* _arg0
;
7904 wxTreeItemId
* _arg1
;
7905 PyObject
* _argo0
= 0;
7906 PyObject
* _argo1
= 0;
7907 char *_kwnames
[] = { "self","item", NULL
};
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
7914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
7921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) return NULL
;
7933 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7934 _resultobj
= Py_BuildValue("s",_ptemp
);
7938 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
7939 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
* _resultobj
;
7941 wxTreeItemId
* _result
;
7942 wxPyTreeCtrl
* _arg0
;
7943 wxTreeItemId
* _arg1
;
7944 PyObject
* _argo0
= 0;
7945 PyObject
* _argo1
= 0;
7946 char *_kwnames
[] = { "self","item", NULL
};
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
7953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
7960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) return NULL
;
7972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7973 _resultobj
= Py_BuildValue("s",_ptemp
);
7977 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
7978 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
* _resultobj
;
7980 wxTreeItemId
* _result
;
7981 wxPyTreeCtrl
* _arg0
;
7982 wxTreeItemId
* _arg1
;
7983 PyObject
* _argo0
= 0;
7984 PyObject
* _argo1
= 0;
7985 char *_kwnames
[] = { "self","item", NULL
};
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
7992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
7999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) return NULL
;
8011 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8012 _resultobj
= Py_BuildValue("s",_ptemp
);
8016 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8017 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
* _resultobj
;
8019 wxTreeItemId
* _result
;
8020 wxPyTreeCtrl
* _arg0
;
8022 int _arg2
= (int ) -1;
8023 int _arg3
= (int ) -1;
8024 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8025 PyObject
* _argo0
= 0;
8026 PyObject
* _obj1
= 0;
8027 PyObject
* _argo4
= 0;
8028 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8042 _arg1
= wxString_in_helper(_obj1
);
8047 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) return NULL
;
8059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8060 _resultobj
= Py_BuildValue("s",_ptemp
);
8068 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8069 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8071 wxTreeItemId
* _result
;
8072 wxPyTreeCtrl
* _arg0
;
8073 wxTreeItemId
* _arg1
;
8075 int _arg3
= (int ) -1;
8076 int _arg4
= (int ) -1;
8077 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8078 PyObject
* _argo0
= 0;
8079 PyObject
* _argo1
= 0;
8080 PyObject
* _obj2
= 0;
8081 PyObject
* _argo5
= 0;
8082 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8103 _arg2
= wxString_in_helper(_obj2
);
8108 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) return NULL
;
8120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8121 _resultobj
= Py_BuildValue("s",_ptemp
);
8129 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8130 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8132 wxTreeItemId
* _result
;
8133 wxPyTreeCtrl
* _arg0
;
8134 wxTreeItemId
* _arg1
;
8135 wxTreeItemId
* _arg2
;
8137 int _arg4
= (int ) -1;
8138 int _arg5
= (int ) -1;
8139 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8140 PyObject
* _argo0
= 0;
8141 PyObject
* _argo1
= 0;
8142 PyObject
* _argo2
= 0;
8143 PyObject
* _obj3
= 0;
8144 PyObject
* _argo6
= 0;
8145 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8166 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8167 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8173 _arg3
= wxString_in_helper(_obj3
);
8178 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8179 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) return NULL
;
8190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8191 _resultobj
= Py_BuildValue("s",_ptemp
);
8199 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8200 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8202 wxTreeItemId
* _result
;
8203 wxPyTreeCtrl
* _arg0
;
8204 wxTreeItemId
* _arg1
;
8207 int _arg4
= (int ) -1;
8208 int _arg5
= (int ) -1;
8209 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8210 PyObject
* _argo0
= 0;
8211 PyObject
* _argo1
= 0;
8212 PyObject
* _obj3
= 0;
8213 PyObject
* _argo6
= 0;
8214 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8235 _arg3
= wxString_in_helper(_obj3
);
8240 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) return NULL
;
8252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8253 _resultobj
= Py_BuildValue("s",_ptemp
);
8261 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8262 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8264 wxTreeItemId
* _result
;
8265 wxPyTreeCtrl
* _arg0
;
8266 wxTreeItemId
* _arg1
;
8268 int _arg3
= (int ) -1;
8269 int _arg4
= (int ) -1;
8270 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8271 PyObject
* _argo0
= 0;
8272 PyObject
* _argo1
= 0;
8273 PyObject
* _obj2
= 0;
8274 PyObject
* _argo5
= 0;
8275 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8296 _arg2
= wxString_in_helper(_obj2
);
8301 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8302 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) return NULL
;
8313 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8314 _resultobj
= Py_BuildValue("s",_ptemp
);
8322 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8323 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
* _resultobj
;
8325 wxPyTreeCtrl
* _arg0
;
8326 wxTreeItemId
* _arg1
;
8327 PyObject
* _argo0
= 0;
8328 PyObject
* _argo1
= 0;
8329 char *_kwnames
[] = { "self","item", NULL
};
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8342 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8343 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) return NULL
;
8354 } Py_INCREF(Py_None
);
8355 _resultobj
= Py_None
;
8359 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8360 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
* _resultobj
;
8362 wxPyTreeCtrl
* _arg0
;
8363 wxTreeItemId
* _arg1
;
8364 PyObject
* _argo0
= 0;
8365 PyObject
* _argo1
= 0;
8366 char *_kwnames
[] = { "self","item", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) return NULL
;
8391 } Py_INCREF(Py_None
);
8392 _resultobj
= Py_None
;
8396 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8397 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
* _resultobj
;
8399 wxPyTreeCtrl
* _arg0
;
8400 PyObject
* _argo0
= 0;
8401 char *_kwnames
[] = { "self", NULL
};
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 wxTreeCtrl_DeleteAllItems(_arg0
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) return NULL
;
8419 } Py_INCREF(Py_None
);
8420 _resultobj
= Py_None
;
8424 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8425 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
* _resultobj
;
8427 wxPyTreeCtrl
* _arg0
;
8428 wxTreeItemId
* _arg1
;
8429 PyObject
* _argo0
= 0;
8430 PyObject
* _argo1
= 0;
8431 char *_kwnames
[] = { "self","item", NULL
};
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) return NULL
;
8456 } Py_INCREF(Py_None
);
8457 _resultobj
= Py_None
;
8461 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8462 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
* _resultobj
;
8464 wxPyTreeCtrl
* _arg0
;
8465 wxTreeItemId
* _arg1
;
8466 PyObject
* _argo0
= 0;
8467 PyObject
* _argo1
= 0;
8468 char *_kwnames
[] = { "self","item", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8493 } Py_INCREF(Py_None
);
8494 _resultobj
= Py_None
;
8498 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8499 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8501 wxPyTreeCtrl
* _arg0
;
8502 wxTreeItemId
* _arg1
;
8503 PyObject
* _argo0
= 0;
8504 PyObject
* _argo1
= 0;
8505 char *_kwnames
[] = { "self","item", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) return NULL
;
8530 } Py_INCREF(Py_None
);
8531 _resultobj
= Py_None
;
8535 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8536 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
* _resultobj
;
8538 wxPyTreeCtrl
* _arg0
;
8539 wxTreeItemId
* _arg1
;
8540 PyObject
* _argo0
= 0;
8541 PyObject
* _argo1
= 0;
8542 char *_kwnames
[] = { "self","item", NULL
};
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) return NULL
;
8567 } Py_INCREF(Py_None
);
8568 _resultobj
= Py_None
;
8572 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8573 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
* _resultobj
;
8575 wxPyTreeCtrl
* _arg0
;
8576 PyObject
* _argo0
= 0;
8577 char *_kwnames
[] = { "self", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 wxTreeCtrl_Unselect(_arg0
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) return NULL
;
8595 } Py_INCREF(Py_None
);
8596 _resultobj
= Py_None
;
8600 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8601 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
* _resultobj
;
8603 wxPyTreeCtrl
* _arg0
;
8604 PyObject
* _argo0
= 0;
8605 char *_kwnames
[] = { "self", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxTreeCtrl_UnselectAll(_arg0
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } Py_INCREF(Py_None
);
8624 _resultobj
= Py_None
;
8628 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8629 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8631 wxPyTreeCtrl
* _arg0
;
8632 wxTreeItemId
* _arg1
;
8633 PyObject
* _argo0
= 0;
8634 PyObject
* _argo1
= 0;
8635 char *_kwnames
[] = { "self","item", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) return NULL
;
8660 } Py_INCREF(Py_None
);
8661 _resultobj
= Py_None
;
8665 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8666 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
* _resultobj
;
8668 wxPyTreeCtrl
* _arg0
;
8669 wxTreeItemId
* _arg1
;
8670 PyObject
* _argo0
= 0;
8671 PyObject
* _argo1
= 0;
8672 char *_kwnames
[] = { "self","item", NULL
};
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) return NULL
;
8697 } Py_INCREF(Py_None
);
8698 _resultobj
= Py_None
;
8702 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8703 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
* _resultobj
;
8705 wxPyTreeCtrl
* _arg0
;
8706 wxTreeItemId
* _arg1
;
8707 PyObject
* _argo0
= 0;
8708 PyObject
* _argo1
= 0;
8709 char *_kwnames
[] = { "self","item", NULL
};
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) return NULL
;
8734 } Py_INCREF(Py_None
);
8735 _resultobj
= Py_None
;
8739 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8740 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
* _resultobj
;
8742 wxPyTreeCtrl
* _arg0
;
8743 wxTreeItemId
* _arg1
;
8744 PyObject
* _argo0
= 0;
8745 PyObject
* _argo1
= 0;
8746 char *_kwnames
[] = { "self","item", NULL
};
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) return NULL
;
8771 } Py_INCREF(Py_None
);
8772 _resultobj
= Py_None
;
8776 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8777 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
* _resultobj
;
8779 wxPyTreeCtrl
* _arg0
;
8780 wxTreeItemId
* _arg1
;
8781 PyObject
* _argo0
= 0;
8782 PyObject
* _argo1
= 0;
8783 char *_kwnames
[] = { "self","item", NULL
};
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8808 } Py_INCREF(Py_None
);
8809 _resultobj
= Py_None
;
8813 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
8814 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
* _resultobj
;
8816 wxPyTreeCtrl
* _arg0
;
8817 wxTreeItemId
* _arg1
;
8818 int _arg2
= (int ) TRUE
;
8819 PyObject
* _argo0
= 0;
8820 PyObject
* _argo1
= 0;
8821 char *_kwnames
[] = { "self","item","bold", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
8834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) return NULL
;
8846 } Py_INCREF(Py_None
);
8847 _resultobj
= Py_None
;
8851 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
8852 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
* _resultobj
;
8855 wxPyTreeCtrl
* _arg0
;
8856 wxTreeItemId
* _arg1
;
8857 PyObject
* _argo0
= 0;
8858 PyObject
* _argo1
= 0;
8859 char *_kwnames
[] = { "self","item", NULL
};
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
8865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
8872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) return NULL
;
8884 } _resultobj
= Py_BuildValue("i",_result
);
8888 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
8889 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
* _resultobj
;
8891 wxTreeItemId
* _result
;
8892 wxPyTreeCtrl
* _arg0
;
8896 PyObject
* _argo0
= 0;
8898 PyObject
* _obj1
= 0;
8899 char *_kwnames
[] = { "self","point", NULL
};
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
8909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
8917 if (! wxPoint_helper(_obj1
, &_arg1
))
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) return NULL
;
8926 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8927 _resultobj
= Py_BuildValue("s",_ptemp
);
8930 o
= PyInt_FromLong((long) (*_arg2
));
8931 _resultobj
= t_output_helper(_resultobj
, o
);
8936 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8937 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
* _resultobj
;
8939 wxPyTreeCtrl
* _arg0
;
8940 wxTreeItemId
* _arg1
;
8942 PyObject
* _argo0
= 0;
8943 PyObject
* _argo1
= 0;
8945 PyObject
* _obj2
= 0;
8946 char *_kwnames
[] = { "self","item","col", NULL
};
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
8959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
8967 if (! wxColour_helper(_obj2
, &_arg2
))
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) return NULL
;
8976 } Py_INCREF(Py_None
);
8977 _resultobj
= Py_None
;
8981 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
8982 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
* _resultobj
;
8984 wxPyTreeCtrl
* _arg0
;
8985 wxTreeItemId
* _arg1
;
8987 PyObject
* _argo0
= 0;
8988 PyObject
* _argo1
= 0;
8990 PyObject
* _obj2
= 0;
8991 char *_kwnames
[] = { "self","item","col", NULL
};
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9012 if (! wxColour_helper(_obj2
, &_arg2
))
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) return NULL
;
9021 } Py_INCREF(Py_None
);
9022 _resultobj
= Py_None
;
9026 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9027 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
* _resultobj
;
9029 wxPyTreeCtrl
* _arg0
;
9030 wxTreeItemId
* _arg1
;
9032 PyObject
* _argo0
= 0;
9033 PyObject
* _argo1
= 0;
9034 PyObject
* _argo2
= 0;
9035 char *_kwnames
[] = { "self","item","font", NULL
};
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9055 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9056 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) return NULL
;
9067 } Py_INCREF(Py_None
);
9068 _resultobj
= Py_None
;
9072 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9074 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9075 wxPyBeginBlockThreads();
9076 wxRect
* r
= new wxRect(rect
);
9077 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9078 wxPyEndBlockThreads();
9086 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
* _resultobj
;
9089 wxPyTreeCtrl
* _arg0
;
9090 wxTreeItemId
* _arg1
;
9091 int _arg2
= (int ) FALSE
;
9092 PyObject
* _argo0
= 0;
9093 PyObject
* _argo1
= 0;
9094 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) return NULL
;
9120 _resultobj
= _result
;
9125 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9128 src
= (wxDirItemData
*) ptr
;
9129 dest
= (wxObject
*) src
;
9130 return (void *) dest
;
9133 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9134 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
* _resultobj
;
9136 wxDirItemData
* _result
;
9140 PyObject
* _obj0
= 0;
9141 PyObject
* _obj1
= 0;
9143 char *_kwnames
[] = { "path","name","isDir", NULL
};
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9150 _arg0
= wxString_in_helper(_obj0
);
9155 _arg1
= wxString_in_helper(_obj1
);
9159 _arg2
= (bool ) tempbool2
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) return NULL
;
9167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9168 _resultobj
= Py_BuildValue("s",_ptemp
);
9171 _resultobj
= Py_None
;
9184 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9185 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
* _resultobj
;
9187 wxDirItemData
* _arg0
;
9189 PyObject
* _argo0
= 0;
9190 PyObject
* _obj1
= 0;
9191 char *_kwnames
[] = { "self","path", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9204 _arg1
= wxString_in_helper(_obj1
);
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) return NULL
;
9214 } Py_INCREF(Py_None
);
9215 _resultobj
= Py_None
;
9223 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9224 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9227 wxDirItemData
* _arg0
;
9229 PyObject
* _argo0
= 0;
9230 PyObject
* _obj1
= 0;
9231 char *_kwnames
[] = { "self","m_path", NULL
};
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9244 _arg1
= wxString_in_helper(_obj1
);
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) return NULL
;
9256 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9258 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9268 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9269 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
* _resultobj
;
9272 wxDirItemData
* _arg0
;
9273 PyObject
* _argo0
= 0;
9274 char *_kwnames
[] = { "self", NULL
};
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) return NULL
;
9294 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9296 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9302 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9303 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
* _resultobj
;
9306 wxDirItemData
* _arg0
;
9308 PyObject
* _argo0
= 0;
9309 PyObject
* _obj1
= 0;
9310 char *_kwnames
[] = { "self","m_name", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9323 _arg1
= wxString_in_helper(_obj1
);
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) return NULL
;
9335 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9337 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9347 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9348 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
* _resultobj
;
9351 wxDirItemData
* _arg0
;
9352 PyObject
* _argo0
= 0;
9353 char *_kwnames
[] = { "self", NULL
};
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) return NULL
;
9373 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9375 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9381 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9382 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
* _resultobj
;
9385 wxDirItemData
* _arg0
;
9387 PyObject
* _argo0
= 0;
9389 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9401 _arg1
= (bool ) tempbool1
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) return NULL
;
9408 } _resultobj
= Py_BuildValue("i",_result
);
9412 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9413 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
* _resultobj
;
9416 wxDirItemData
* _arg0
;
9417 PyObject
* _argo0
= 0;
9418 char *_kwnames
[] = { "self", NULL
};
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) return NULL
;
9436 } _resultobj
= Py_BuildValue("i",_result
);
9440 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9441 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
* _resultobj
;
9444 wxDirItemData
* _arg0
;
9446 PyObject
* _argo0
= 0;
9448 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9460 _arg1
= (bool ) tempbool1
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) return NULL
;
9467 } _resultobj
= Py_BuildValue("i",_result
);
9471 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9472 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9475 wxDirItemData
* _arg0
;
9476 PyObject
* _argo0
= 0;
9477 char *_kwnames
[] = { "self", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) return NULL
;
9495 } _resultobj
= Py_BuildValue("i",_result
);
9499 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9500 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
* _resultobj
;
9503 wxDirItemData
* _arg0
;
9505 PyObject
* _argo0
= 0;
9507 char *_kwnames
[] = { "self","m_isDir", NULL
};
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9519 _arg1
= (bool ) tempbool1
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) return NULL
;
9526 } _resultobj
= Py_BuildValue("i",_result
);
9530 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9531 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
* _resultobj
;
9534 wxDirItemData
* _arg0
;
9535 PyObject
* _argo0
= 0;
9536 char *_kwnames
[] = { "self", NULL
};
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) return NULL
;
9554 } _resultobj
= Py_BuildValue("i",_result
);
9558 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9559 wxGenericDirCtrl
*src
;
9561 src
= (wxGenericDirCtrl
*) ptr
;
9562 dest
= (wxControl
*) src
;
9563 return (void *) dest
;
9566 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9567 wxGenericDirCtrl
*src
;
9569 src
= (wxGenericDirCtrl
*) ptr
;
9570 dest
= (wxWindow
*) src
;
9571 return (void *) dest
;
9574 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9575 wxGenericDirCtrl
*src
;
9577 src
= (wxGenericDirCtrl
*) ptr
;
9578 dest
= (wxEvtHandler
*) src
;
9579 return (void *) dest
;
9582 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9583 wxGenericDirCtrl
*src
;
9585 src
= (wxGenericDirCtrl
*) ptr
;
9586 dest
= (wxObject
*) src
;
9587 return (void *) dest
;
9590 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9591 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
* _resultobj
;
9593 wxGenericDirCtrl
* _result
;
9595 wxWindowID _arg1
= (wxWindowID
) -1;
9596 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9597 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9598 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9599 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9600 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9601 int _arg7
= (int ) 0;
9602 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9603 PyObject
* _argo0
= 0;
9604 PyObject
* _obj2
= 0;
9606 PyObject
* _obj3
= 0;
9608 PyObject
* _obj4
= 0;
9609 PyObject
* _obj6
= 0;
9610 PyObject
* _obj8
= 0;
9611 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9626 _arg2
= wxString_in_helper(_obj2
);
9633 if (! wxPoint_helper(_obj3
, &_arg3
))
9639 if (! wxSize_helper(_obj4
, &_arg4
))
9644 _arg6
= wxString_in_helper(_obj6
);
9650 _arg8
= wxString_in_helper(_obj8
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) return NULL
;
9661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9662 _resultobj
= Py_BuildValue("s",_ptemp
);
9665 _resultobj
= Py_None
;
9682 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9683 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
* _resultobj
;
9685 wxGenericDirCtrl
* _result
;
9686 char *_kwnames
[] = { NULL
};
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) return NULL
;
9699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9700 _resultobj
= Py_BuildValue("s",_ptemp
);
9703 _resultobj
= Py_None
;
9708 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9709 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
* _resultobj
;
9712 wxGenericDirCtrl
* _arg0
;
9714 wxWindowID _arg2
= (wxWindowID
) -1;
9715 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9716 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9717 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9718 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9719 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
9720 int _arg8
= (int ) 0;
9721 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9722 PyObject
* _argo0
= 0;
9723 PyObject
* _argo1
= 0;
9724 PyObject
* _obj3
= 0;
9726 PyObject
* _obj4
= 0;
9728 PyObject
* _obj5
= 0;
9729 PyObject
* _obj7
= 0;
9730 PyObject
* _obj9
= 0;
9731 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
9737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9752 _arg3
= wxString_in_helper(_obj3
);
9759 if (! wxPoint_helper(_obj4
, &_arg4
))
9765 if (! wxSize_helper(_obj5
, &_arg5
))
9770 _arg7
= wxString_in_helper(_obj7
);
9776 _arg9
= wxString_in_helper(_obj9
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) return NULL
;
9786 } _resultobj
= Py_BuildValue("i",_result
);
9802 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9803 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
* _resultobj
;
9806 wxGenericDirCtrl
* _arg0
;
9808 PyObject
* _argo0
= 0;
9809 PyObject
* _obj1
= 0;
9810 char *_kwnames
[] = { "self","path", NULL
};
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
9816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9823 _arg1
= wxString_in_helper(_obj1
);
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) return NULL
;
9833 } _resultobj
= Py_BuildValue("i",_result
);
9841 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
9842 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
* _resultobj
;
9845 wxGenericDirCtrl
* _arg0
;
9846 PyObject
* _argo0
= 0;
9847 char *_kwnames
[] = { "self", NULL
};
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
9853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) return NULL
;
9867 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9878 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
9879 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
* _resultobj
;
9881 wxGenericDirCtrl
* _arg0
;
9883 PyObject
* _argo0
= 0;
9884 PyObject
* _obj1
= 0;
9885 char *_kwnames
[] = { "self","path", NULL
};
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
9891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
9898 _arg1
= wxString_in_helper(_obj1
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9908 } Py_INCREF(Py_None
);
9909 _resultobj
= Py_None
;
9917 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
9918 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
* _resultobj
;
9921 wxGenericDirCtrl
* _arg0
;
9922 PyObject
* _argo0
= 0;
9923 char *_kwnames
[] = { "self", NULL
};
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
9929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) return NULL
;
9943 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9945 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9954 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
9955 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
* _resultobj
;
9958 wxGenericDirCtrl
* _arg0
;
9959 PyObject
* _argo0
= 0;
9960 char *_kwnames
[] = { "self", NULL
};
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
9966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) return NULL
;
9980 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9982 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9991 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
9992 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9994 wxGenericDirCtrl
* _arg0
;
9996 PyObject
* _argo0
= 0;
9997 PyObject
* _obj1
= 0;
9998 char *_kwnames
[] = { "self","path", NULL
};
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10011 _arg1
= wxString_in_helper(_obj1
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) return NULL
;
10021 } Py_INCREF(Py_None
);
10022 _resultobj
= Py_None
;
10030 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10031 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
* _resultobj
;
10033 wxGenericDirCtrl
* _arg0
;
10035 PyObject
* _argo0
= 0;
10037 char *_kwnames
[] = { "self","show", NULL
};
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10049 _arg1
= (bool ) tempbool1
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) return NULL
;
10056 } Py_INCREF(Py_None
);
10057 _resultobj
= Py_None
;
10061 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10062 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
* _resultobj
;
10065 wxGenericDirCtrl
* _arg0
;
10066 PyObject
* _argo0
= 0;
10067 char *_kwnames
[] = { "self", NULL
};
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) return NULL
;
10085 } _resultobj
= Py_BuildValue("i",_result
);
10089 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10090 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
* _resultobj
;
10092 wxString
* _result
;
10093 wxGenericDirCtrl
* _arg0
;
10094 PyObject
* _argo0
= 0;
10095 char *_kwnames
[] = { "self", NULL
};
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) return NULL
;
10115 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10117 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10126 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10127 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
* _resultobj
;
10129 wxGenericDirCtrl
* _arg0
;
10131 PyObject
* _argo0
= 0;
10132 PyObject
* _obj1
= 0;
10133 char *_kwnames
[] = { "self","filter", NULL
};
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10146 _arg1
= wxString_in_helper(_obj1
);
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) return NULL
;
10156 } Py_INCREF(Py_None
);
10157 _resultobj
= Py_None
;
10165 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10166 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
* _resultobj
;
10169 wxGenericDirCtrl
* _arg0
;
10170 PyObject
* _argo0
= 0;
10171 char *_kwnames
[] = { "self", NULL
};
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) return NULL
;
10189 } _resultobj
= Py_BuildValue("i",_result
);
10193 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10194 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
* _resultobj
;
10196 wxGenericDirCtrl
* _arg0
;
10198 PyObject
* _argo0
= 0;
10199 char *_kwnames
[] = { "self","n", NULL
};
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
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_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) return NULL
;
10217 } Py_INCREF(Py_None
);
10218 _resultobj
= Py_None
;
10222 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10223 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
* _resultobj
;
10225 wxTreeItemId
* _result
;
10226 wxGenericDirCtrl
* _arg0
;
10227 PyObject
* _argo0
= 0;
10228 char *_kwnames
[] = { "self", NULL
};
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) return NULL
;
10247 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10248 _resultobj
= Py_BuildValue("s",_ptemp
);
10252 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10253 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
* _resultobj
;
10255 wxTreeCtrl
* _result
;
10256 wxGenericDirCtrl
* _arg0
;
10257 PyObject
* _argo0
= 0;
10258 char *_kwnames
[] = { "self", NULL
};
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) return NULL
;
10276 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10280 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10281 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
* _resultobj
;
10283 wxDirFilterListCtrl
* _result
;
10284 wxGenericDirCtrl
* _arg0
;
10285 PyObject
* _argo0
= 0;
10286 char *_kwnames
[] = { "self", NULL
};
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10307 _resultobj
= Py_BuildValue("s",_ptemp
);
10309 Py_INCREF(Py_None
);
10310 _resultobj
= Py_None
;
10315 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10316 wxDirFilterListCtrl
*src
;
10318 src
= (wxDirFilterListCtrl
*) ptr
;
10319 dest
= (wxChoice
*) src
;
10320 return (void *) dest
;
10323 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10324 wxDirFilterListCtrl
*src
;
10325 wxControlWithItems
*dest
;
10326 src
= (wxDirFilterListCtrl
*) ptr
;
10327 dest
= (wxControlWithItems
*) src
;
10328 return (void *) dest
;
10331 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10332 wxDirFilterListCtrl
*src
;
10334 src
= (wxDirFilterListCtrl
*) ptr
;
10335 dest
= (wxControl
*) src
;
10336 return (void *) dest
;
10339 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10340 wxDirFilterListCtrl
*src
;
10342 src
= (wxDirFilterListCtrl
*) ptr
;
10343 dest
= (wxWindow
*) src
;
10344 return (void *) dest
;
10347 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10348 wxDirFilterListCtrl
*src
;
10349 wxEvtHandler
*dest
;
10350 src
= (wxDirFilterListCtrl
*) ptr
;
10351 dest
= (wxEvtHandler
*) src
;
10352 return (void *) dest
;
10355 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10356 wxDirFilterListCtrl
*src
;
10358 src
= (wxDirFilterListCtrl
*) ptr
;
10359 dest
= (wxObject
*) src
;
10360 return (void *) dest
;
10363 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10364 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
* _resultobj
;
10366 wxDirFilterListCtrl
* _result
;
10367 wxGenericDirCtrl
* _arg0
;
10368 wxWindowID _arg1
= (wxWindowID
) -1;
10369 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10370 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10371 long _arg4
= (long ) 0;
10372 PyObject
* _argo0
= 0;
10374 PyObject
* _obj2
= 0;
10376 PyObject
* _obj3
= 0;
10377 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10393 if (! wxPoint_helper(_obj2
, &_arg2
))
10399 if (! wxSize_helper(_obj3
, &_arg3
))
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) return NULL
;
10409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10410 _resultobj
= Py_BuildValue("s",_ptemp
);
10412 Py_INCREF(Py_None
);
10413 _resultobj
= Py_None
;
10418 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10419 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
* _resultobj
;
10421 wxDirFilterListCtrl
* _result
;
10422 char *_kwnames
[] = { NULL
};
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) return NULL
;
10435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10436 _resultobj
= Py_BuildValue("s",_ptemp
);
10438 Py_INCREF(Py_None
);
10439 _resultobj
= Py_None
;
10444 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10445 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
* _resultobj
;
10448 wxDirFilterListCtrl
* _arg0
;
10449 wxGenericDirCtrl
* _arg1
;
10450 wxWindowID _arg2
= (wxWindowID
) -1;
10451 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10452 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10453 long _arg5
= (long ) 0;
10454 PyObject
* _argo0
= 0;
10455 PyObject
* _argo1
= 0;
10457 PyObject
* _obj3
= 0;
10459 PyObject
* _obj4
= 0;
10460 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10482 if (! wxPoint_helper(_obj3
, &_arg3
))
10488 if (! wxSize_helper(_obj4
, &_arg4
))
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) return NULL
;
10497 } _resultobj
= Py_BuildValue("i",_result
);
10501 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10502 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
* _resultobj
;
10504 wxDirFilterListCtrl
* _arg0
;
10507 PyObject
* _argo0
= 0;
10508 PyObject
* _obj1
= 0;
10509 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10522 _arg1
= wxString_in_helper(_obj1
);
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) return NULL
;
10532 } Py_INCREF(Py_None
);
10533 _resultobj
= Py_None
;
10541 static PyMethodDef controls2cMethods
[] = {
10542 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10543 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10544 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10545 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10546 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10547 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10641 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10642 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10643 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10644 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10645 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10646 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10647 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10648 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10649 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10650 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10651 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10652 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10653 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10654 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10655 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10656 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10657 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10658 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10659 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10660 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10661 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10662 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10663 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10664 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10665 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10666 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10667 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10668 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10669 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10670 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10671 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10672 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10673 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10674 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10675 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10676 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10677 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10678 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10679 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10680 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10681 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10682 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10683 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10684 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10685 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10686 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10687 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10688 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10689 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10690 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10691 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10692 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10693 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10694 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10695 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10696 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10697 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10698 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10832 * This table is used by the pointer type-checker
10834 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10835 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
10836 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
10837 { "_signed_long","_long",0},
10838 { "_wxPrintQuality","_wxCoord",0},
10839 { "_wxPrintQuality","_int",0},
10840 { "_wxPrintQuality","_signed_int",0},
10841 { "_wxPrintQuality","_unsigned_int",0},
10842 { "_wxPrintQuality","_wxWindowID",0},
10843 { "_wxPrintQuality","_uint",0},
10844 { "_wxPrintQuality","_EBool",0},
10845 { "_wxPrintQuality","_size_t",0},
10846 { "_wxPrintQuality","_time_t",0},
10847 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
10848 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
10849 { "_byte","_unsigned_char",0},
10850 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
10851 { "_long","_unsigned_long",0},
10852 { "_long","_signed_long",0},
10853 { "_size_t","_wxCoord",0},
10854 { "_size_t","_wxPrintQuality",0},
10855 { "_size_t","_time_t",0},
10856 { "_size_t","_unsigned_int",0},
10857 { "_size_t","_int",0},
10858 { "_size_t","_wxWindowID",0},
10859 { "_size_t","_uint",0},
10860 { "_uint","_wxCoord",0},
10861 { "_uint","_wxPrintQuality",0},
10862 { "_uint","_time_t",0},
10863 { "_uint","_size_t",0},
10864 { "_uint","_unsigned_int",0},
10865 { "_uint","_int",0},
10866 { "_uint","_wxWindowID",0},
10867 { "_wxChar","_char",0},
10868 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
10869 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
10870 { "_char","_wxChar",0},
10871 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10872 { "_EBool","_wxCoord",0},
10873 { "_EBool","_wxPrintQuality",0},
10874 { "_EBool","_signed_int",0},
10875 { "_EBool","_int",0},
10876 { "_EBool","_wxWindowID",0},
10877 { "_unsigned_long","_long",0},
10878 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10879 { "_signed_int","_wxCoord",0},
10880 { "_signed_int","_wxPrintQuality",0},
10881 { "_signed_int","_EBool",0},
10882 { "_signed_int","_wxWindowID",0},
10883 { "_signed_int","_int",0},
10884 { "_WXTYPE","_short",0},
10885 { "_WXTYPE","_signed_short",0},
10886 { "_WXTYPE","_unsigned_short",0},
10887 { "_unsigned_short","_WXTYPE",0},
10888 { "_unsigned_short","_short",0},
10889 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
10890 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
10891 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
10892 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
10893 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
10894 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
10895 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
10896 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
10897 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
10898 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
10899 { "_signed_short","_WXTYPE",0},
10900 { "_signed_short","_short",0},
10901 { "_unsigned_char","_byte",0},
10902 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
10903 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
10904 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
10905 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
10906 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
10907 { "_unsigned_int","_wxCoord",0},
10908 { "_unsigned_int","_wxPrintQuality",0},
10909 { "_unsigned_int","_time_t",0},
10910 { "_unsigned_int","_size_t",0},
10911 { "_unsigned_int","_uint",0},
10912 { "_unsigned_int","_wxWindowID",0},
10913 { "_unsigned_int","_int",0},
10914 { "_short","_WXTYPE",0},
10915 { "_short","_unsigned_short",0},
10916 { "_short","_signed_short",0},
10917 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
10918 { "_wxWindowID","_wxCoord",0},
10919 { "_wxWindowID","_wxPrintQuality",0},
10920 { "_wxWindowID","_time_t",0},
10921 { "_wxWindowID","_size_t",0},
10922 { "_wxWindowID","_EBool",0},
10923 { "_wxWindowID","_uint",0},
10924 { "_wxWindowID","_int",0},
10925 { "_wxWindowID","_signed_int",0},
10926 { "_wxWindowID","_unsigned_int",0},
10927 { "_int","_wxCoord",0},
10928 { "_int","_wxPrintQuality",0},
10929 { "_int","_time_t",0},
10930 { "_int","_size_t",0},
10931 { "_int","_EBool",0},
10932 { "_int","_uint",0},
10933 { "_int","_wxWindowID",0},
10934 { "_int","_unsigned_int",0},
10935 { "_int","_signed_int",0},
10936 { "_time_t","_wxCoord",0},
10937 { "_time_t","_wxPrintQuality",0},
10938 { "_time_t","_unsigned_int",0},
10939 { "_time_t","_int",0},
10940 { "_time_t","_wxWindowID",0},
10941 { "_time_t","_uint",0},
10942 { "_time_t","_size_t",0},
10943 { "_wxCoord","_int",0},
10944 { "_wxCoord","_signed_int",0},
10945 { "_wxCoord","_unsigned_int",0},
10946 { "_wxCoord","_wxWindowID",0},
10947 { "_wxCoord","_uint",0},
10948 { "_wxCoord","_EBool",0},
10949 { "_wxCoord","_size_t",0},
10950 { "_wxCoord","_time_t",0},
10951 { "_wxCoord","_wxPrintQuality",0},
10952 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
10953 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
10954 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
10955 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
10956 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
10957 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
10958 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
10959 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
10960 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
10961 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
10962 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
10965 static PyObject
*SWIG_globals
;
10969 SWIGEXPORT(void) initcontrols2c() {
10971 SWIG_globals
= SWIG_newvarlink();
10972 m
= Py_InitModule("controls2c", controls2cMethods
);
10973 d
= PyModule_GetDict(m
);
10974 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
10975 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
10976 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
10977 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
10978 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
10979 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
10980 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
10981 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
10982 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
10983 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
10984 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
10985 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
10986 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
10987 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
10988 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
10989 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
10990 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
10991 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
10992 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
10993 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
10994 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
10995 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
10996 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
10997 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
10998 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
10999 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11000 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11001 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11002 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11003 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11004 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11005 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11006 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11007 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11008 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11009 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11010 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11011 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11012 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11013 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11014 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11015 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11016 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11017 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11018 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11019 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11020 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11021 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11022 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11023 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11024 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11025 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11026 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11027 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11028 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11029 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11030 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11031 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11032 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11033 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11034 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11035 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11036 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11037 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11038 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11039 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11040 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11041 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11042 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11043 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11044 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11045 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11046 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11047 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11048 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11049 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11050 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11051 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11052 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11053 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11054 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11055 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11056 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11057 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11058 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11059 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11060 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11061 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11062 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11063 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11064 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11065 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11066 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11067 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11068 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11069 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11070 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11071 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11072 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11073 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11074 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11075 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11076 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11077 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11078 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11079 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11080 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11081 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11082 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11083 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11084 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11085 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11086 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11087 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11088 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11089 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11090 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11091 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11092 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11093 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11094 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11095 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11096 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11097 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11098 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11099 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11100 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11101 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11102 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11103 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11104 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11105 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11106 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11107 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11108 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11109 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11110 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11111 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11112 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11113 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11114 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11115 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11116 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11117 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11118 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11119 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11121 // Map renamed classes back to their common name for OOR
11122 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11123 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11124 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11127 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11128 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);