2 * FILE : src/msw/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcontrols2c
55 #define SWIG_name "controls2c"
61 #include <wx/listctrl.h>
62 #include <wx/treectrl.h>
63 #include <wx/imaglist.h>
64 #include <wx/dirctrl.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
95 DECLARE_DEF_STRING(ListCtrlNameStr
);
97 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
98 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
99 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
101 static const wxString
wxPyEmptyString(wxT(""));
103 static const long longzero
= 0;
104 // C++ Version of a Python aware class
105 class wxPyListCtrl
: public wxListCtrl
{
106 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
108 wxPyListCtrl() : wxListCtrl() {}
109 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
113 const wxValidator
& validator
,
114 const wxString
& name
) :
115 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
117 bool Create(wxWindow
* parent
, wxWindowID id
,
121 const wxValidator
& validator
,
122 const wxString
& name
) {
123 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
126 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
127 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
128 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
133 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
135 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
136 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
137 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
138 // Python aware sorting function for wxPyListCtrl
139 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
141 PyObject
* func
= (PyObject
*)funcPtr
;
142 wxPyBeginBlockThreads();
144 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
145 PyObject
* result
= PyEval_CallObject(func
, args
);
148 retval
= PyInt_AsLong(result
);
152 wxPyEndBlockThreads();
157 class wxPyTreeItemData
: public wxTreeItemData
{
159 wxPyTreeItemData(PyObject
* obj
= NULL
) {
166 ~wxPyTreeItemData() {
167 wxPyBeginBlockThreads();
169 wxPyEndBlockThreads();
172 PyObject
* GetData() {
177 void SetData(PyObject
* obj
) {
178 wxPyBeginBlockThreads();
180 wxPyEndBlockThreads();
187 // C++ version of Python aware wxTreeCtrl
188 class wxPyTreeCtrl
: public wxTreeCtrl
{
189 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
191 wxPyTreeCtrl() : wxTreeCtrl() {}
192 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
196 const wxValidator
& validator
,
197 const wxString
& name
) :
198 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
200 bool Create(wxWindow
*parent
, wxWindowID id
,
204 const wxValidator
& validator
,
205 const wxString
& name
) {
206 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
210 int OnCompareItems(const wxTreeItemId
& item1
,
211 const wxTreeItemId
& item2
) {
214 wxPyBeginBlockThreads();
215 if ((found
= m_myInst
.findCallback("OnCompareItems"))) {
216 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"));
217 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"));
218 rval
= m_myInst
.callCallback(Py_BuildValue("(OO)",o1
,o2
));
222 wxPyEndBlockThreads();
224 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
230 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
235 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
236 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
238 wxListItemAttr
* _result
;
239 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
240 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
241 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
243 PyObject
* _obj0
= 0;
245 PyObject
* _obj1
= 0;
246 PyObject
* _argo2
= 0;
247 char *_kwnames
[] = { "colText","colBack","font", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
256 if (! wxColour_helper(_obj0
, &_arg0
))
262 if (! wxColour_helper(_obj1
, &_arg1
))
266 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
279 _resultobj
= Py_BuildValue("s",_ptemp
);
282 _resultobj
= Py_None
;
287 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
288 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
290 wxListItemAttr
* _arg0
;
292 PyObject
* _argo0
= 0;
294 PyObject
* _obj1
= 0;
295 char *_kwnames
[] = { "self","colText", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
309 if (! wxColour_helper(_obj1
, &_arg1
))
313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
314 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
316 wxPyEndAllowThreads(__tstate
);
317 if (PyErr_Occurred()) return NULL
;
318 } Py_INCREF(Py_None
);
319 _resultobj
= Py_None
;
323 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
324 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
326 wxListItemAttr
* _arg0
;
328 PyObject
* _argo0
= 0;
330 PyObject
* _obj1
= 0;
331 char *_kwnames
[] = { "self","colBack", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
345 if (! wxColour_helper(_obj1
, &_arg1
))
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
354 } Py_INCREF(Py_None
);
355 _resultobj
= Py_None
;
359 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
360 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxListItemAttr
* _arg0
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _argo1
= 0;
366 char *_kwnames
[] = { "self","font", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
379 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 wxListItemAttr_SetFont(_arg0
,*_arg1
);
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
395 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
396 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxListItemAttr
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
424 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
427 wxListItemAttr
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
452 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
455 wxListItemAttr
* _arg0
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
471 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
473 wxPyEndAllowThreads(__tstate
);
474 if (PyErr_Occurred()) return NULL
;
475 } _resultobj
= Py_BuildValue("i",_result
);
479 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
480 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
483 wxListItemAttr
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
502 wxPyEndAllowThreads(__tstate
);
503 if (PyErr_Occurred()) return NULL
;
504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
505 _resultobj
= Py_BuildValue("s",_ptemp
);
509 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
510 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxListItemAttr
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
530 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
532 wxPyEndAllowThreads(__tstate
);
533 if (PyErr_Occurred()) return NULL
;
534 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
535 _resultobj
= Py_BuildValue("s",_ptemp
);
539 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
540 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxListItemAttr
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
560 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
562 wxPyEndAllowThreads(__tstate
);
563 if (PyErr_Occurred()) return NULL
;
564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
569 static void *SwigwxListItemTowxObject(void *ptr
) {
572 src
= (wxListItem
*) ptr
;
573 dest
= (wxObject
*) src
;
574 return (void *) dest
;
577 #define new_wxListItem() (new wxListItem())
578 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
580 wxListItem
* _result
;
581 char *_kwnames
[] = { NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
589 _result
= (wxListItem
*)new_wxListItem();
591 wxPyEndAllowThreads(__tstate
);
592 if (PyErr_Occurred()) return NULL
;
594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
595 _resultobj
= Py_BuildValue("s",_ptemp
);
598 _resultobj
= Py_None
;
603 #define delete_wxListItem(_swigobj) (delete _swigobj)
604 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 delete_wxListItem(_arg0
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
632 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
635 PyObject
* _argo0
= 0;
636 char *_kwnames
[] = { "self", NULL
};
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
650 wxListItem_Clear(_arg0
);
652 wxPyEndAllowThreads(__tstate
);
653 if (PyErr_Occurred()) return NULL
;
654 } Py_INCREF(Py_None
);
655 _resultobj
= Py_None
;
659 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
660 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 wxListItem_ClearAttributes(_arg0
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
688 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self","mask", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 wxListItem_SetMask(_arg0
,_arg1
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
717 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self","id", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 wxListItem_SetId(_arg0
,_arg1
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 } Py_INCREF(Py_None
);
741 _resultobj
= Py_None
;
745 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
746 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self","col", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 wxListItem_SetColumn(_arg0
,_arg1
);
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
769 } Py_INCREF(Py_None
);
770 _resultobj
= Py_None
;
774 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
775 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self","state", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxListItem_SetState(_arg0
,_arg1
);
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
803 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
804 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self","stateMask", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 wxListItem_SetStateMask(_arg0
,_arg1
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } Py_INCREF(Py_None
);
828 _resultobj
= Py_None
;
832 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
833 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 PyObject
* _obj1
= 0;
839 char *_kwnames
[] = { "self","text", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
852 _arg1
= wxString_in_helper(_obj1
);
857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
858 wxListItem_SetText(_arg0
,*_arg1
);
860 wxPyEndAllowThreads(__tstate
);
861 if (PyErr_Occurred()) return NULL
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
871 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
872 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self","image", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 wxListItem_SetImage(_arg0
,_arg1
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
895 } Py_INCREF(Py_None
);
896 _resultobj
= Py_None
;
900 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
901 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
905 PyObject
* _argo0
= 0;
906 char *_kwnames
[] = { "self","data", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 wxListItem_SetData(_arg0
,_arg1
);
922 wxPyEndAllowThreads(__tstate
);
923 if (PyErr_Occurred()) return NULL
;
924 } Py_INCREF(Py_None
);
925 _resultobj
= Py_None
;
929 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
930 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self","width", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxListItem_SetWidth(_arg0
,_arg1
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
959 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
962 wxListColumnFormat _arg1
;
963 PyObject
* _argo0
= 0;
964 char *_kwnames
[] = { "self","align", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 wxListItem_SetAlign(_arg0
,_arg1
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
987 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
988 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
992 PyObject
* _argo0
= 0;
994 PyObject
* _obj1
= 0;
995 char *_kwnames
[] = { "self","colText", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1009 if (! wxColour_helper(_obj1
, &_arg1
))
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 wxListItem_SetTextColour(_arg0
,*_arg1
);
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) return NULL
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1023 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1024 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1028 PyObject
* _argo0
= 0;
1030 PyObject
* _obj1
= 0;
1031 char *_kwnames
[] = { "self","colBack", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1045 if (! wxColour_helper(_obj1
, &_arg1
))
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1054 } Py_INCREF(Py_None
);
1055 _resultobj
= Py_None
;
1059 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1060 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1064 PyObject
* _argo0
= 0;
1065 PyObject
* _argo1
= 0;
1066 char *_kwnames
[] = { "self","font", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1079 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_FromWideChar(_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_FromWideChar(_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_FromWideChar(_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_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2335 static PyObject
*_wrap_wxListEvent_GetKeyCode(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_GetKeyCode",_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_GetKeyCode. Expected _wxListEvent_p.");
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 _result
= (int )wxListEvent_GetKeyCode(_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_FromWideChar(_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_FromWideChar(_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 (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2770 _arg6
= wxString_in_helper(_obj6
);
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2782 _resultobj
= Py_BuildValue("s",_ptemp
);
2785 _resultobj
= Py_None
;
2794 #define new_wxPreListCtrl() (new wxPyListCtrl())
2795 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2797 wxPyListCtrl
* _result
;
2798 char *_kwnames
[] = { NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) return NULL
;
2811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2812 _resultobj
= Py_BuildValue("s",_ptemp
);
2815 _resultobj
= Py_None
;
2820 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2821 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2824 wxPyListCtrl
* _arg0
;
2826 wxWindowID _arg2
= (wxWindowID
) -1;
2827 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2828 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2829 long _arg5
= (long ) (wxLC_ICON
);
2830 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2831 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
2832 PyObject
* _argo0
= 0;
2833 PyObject
* _argo1
= 0;
2835 PyObject
* _obj3
= 0;
2837 PyObject
* _obj4
= 0;
2838 PyObject
* _argo6
= 0;
2839 PyObject
* _obj7
= 0;
2840 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2862 if (! wxPoint_helper(_obj3
, &_arg3
))
2868 if (! wxSize_helper(_obj4
, &_arg4
))
2872 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2879 _arg7
= wxString_in_helper(_obj7
);
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) return NULL
;
2889 } _resultobj
= Py_BuildValue("i",_result
);
2897 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2898 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxPyListCtrl
* _arg0
;
2903 PyObject
* _argo0
= 0;
2904 PyObject
* _obj1
= 0;
2905 PyObject
* _obj2
= 0;
2906 char *_kwnames
[] = { "self","self","_class", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2936 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2939 wxPyListCtrl
* _arg0
;
2941 PyObject
* _argo0
= 0;
2943 PyObject
* _obj1
= 0;
2944 char *_kwnames
[] = { "self","col", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
2958 if (! wxColour_helper(_obj1
, &_arg1
))
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) return NULL
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2972 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxPyListCtrl
* _arg0
;
2977 PyObject
* _argo0
= 0;
2979 PyObject
* _obj1
= 0;
2980 char *_kwnames
[] = { "self","col", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
2994 if (! wxColour_helper(_obj1
, &_arg1
))
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3003 } _resultobj
= Py_BuildValue("i",_result
);
3007 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3009 item
.SetMask(0xFFFF);
3010 if (self
->GetColumn(col
, item
))
3011 return new wxListItem(item
);
3015 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3017 wxListItem
* _result
;
3018 wxPyListCtrl
* _arg0
;
3020 PyObject
* _argo0
= 0;
3021 char *_kwnames
[] = { "self","col", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) return NULL
;
3039 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3043 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3044 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3047 wxPyListCtrl
* _arg0
;
3050 PyObject
* _argo0
= 0;
3051 PyObject
* _argo2
= 0;
3052 char *_kwnames
[] = { "self","col","item", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3065 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3081 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3084 wxPyListCtrl
* _arg0
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self","col", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) return NULL
;
3105 } _resultobj
= Py_BuildValue("i",_result
);
3109 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3110 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 wxPyListCtrl
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self","col","width", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3140 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 wxPyListCtrl
* _arg0
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } _resultobj
= Py_BuildValue("i",_result
);
3167 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3168 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxTextCtrl
* _result
;
3171 wxPyListCtrl
* _arg0
;
3172 PyObject
* _argo0
= 0;
3173 char *_kwnames
[] = { "self", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3191 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3195 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3196 wxListItem
* info
= new wxListItem
;
3197 info
->m_itemId
= itemId
;
3199 info
->m_mask
= 0xFFFF;
3200 self
->GetItem(*info
);
3203 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxListItem
* _result
;
3206 wxPyListCtrl
* _arg0
;
3208 int _arg2
= (int ) 0;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self","itemId","col", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3232 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3233 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 wxPyListCtrl
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 PyObject
* _argo1
= 0;
3240 char *_kwnames
[] = { "self","info", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3253 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3264 } _resultobj
= Py_BuildValue("i",_result
);
3268 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3269 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3272 wxPyListCtrl
* _arg0
;
3276 int _arg4
= (int ) -1;
3277 PyObject
* _argo0
= 0;
3278 PyObject
* _obj3
= 0;
3279 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3292 _arg3
= wxString_in_helper(_obj3
);
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } _resultobj
= Py_BuildValue("l",_result
);
3310 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3311 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3314 wxPyListCtrl
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) return NULL
;
3336 } _resultobj
= Py_BuildValue("i",_result
);
3340 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3341 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
* _resultobj
;
3344 wxPyListCtrl
* _arg0
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3367 } _resultobj
= Py_BuildValue("i",_result
);
3371 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3372 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
* _resultobj
;
3375 wxPyListCtrl
* _arg0
;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) return NULL
;
3398 } _resultobj
= Py_BuildValue("i",_result
);
3402 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3403 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3406 wxPyListCtrl
* _arg0
;
3408 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self","item", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) return NULL
;
3429 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3440 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3441 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3443 wxPyListCtrl
* _arg0
;
3446 PyObject
* _argo0
= 0;
3447 PyObject
* _obj2
= 0;
3448 char *_kwnames
[] = { "self","item","str", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3461 _arg2
= wxString_in_helper(_obj2
);
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) return NULL
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3480 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3481 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxPyListCtrl
* _arg0
;
3486 PyObject
* _argo0
= 0;
3487 char *_kwnames
[] = { "self","item", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) return NULL
;
3505 } _resultobj
= Py_BuildValue("l",_result
);
3509 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3510 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3513 wxPyListCtrl
* _arg0
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self","item","data", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3540 wxPoint
* pos
= new wxPoint
;
3541 self
->GetItemPosition(item
, *pos
);
3544 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3547 wxPyListCtrl
* _arg0
;
3549 PyObject
* _argo0
= 0;
3550 char *_kwnames
[] = { "self","item", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) return NULL
;
3570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3571 _resultobj
= Py_BuildValue("s",_ptemp
);
3574 _resultobj
= Py_None
;
3579 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3580 wxRect
* rect
= new wxRect
;
3581 self
->GetItemRect(item
, *rect
, code
);
3584 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3587 wxPyListCtrl
* _arg0
;
3589 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self","item","code", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) return NULL
;
3611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3612 _resultobj
= Py_BuildValue("s",_ptemp
);
3615 _resultobj
= Py_None
;
3620 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3621 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3624 wxPyListCtrl
* _arg0
;
3627 PyObject
* _argo0
= 0;
3629 PyObject
* _obj2
= 0;
3630 char *_kwnames
[] = { "self","item","pos", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3644 if (! wxPoint_helper(_obj2
, &_arg2
))
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } _resultobj
= Py_BuildValue("i",_result
);
3657 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3658 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3661 wxPyListCtrl
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } _resultobj
= Py_BuildValue("i",_result
);
3685 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3686 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3689 wxPyListCtrl
* _arg0
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) return NULL
;
3709 } _resultobj
= Py_BuildValue("i",_result
);
3713 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3714 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxPyListCtrl
* _arg0
;
3719 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","isSmall", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3733 _arg1
= (bool ) tempbool1
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) return NULL
;
3740 } _resultobj
= Py_BuildValue("i",_result
);
3744 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3745 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3748 wxPyListCtrl
* _arg0
;
3749 PyObject
* _argo0
= 0;
3750 char *_kwnames
[] = { "self", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) return NULL
;
3768 } _resultobj
= Py_BuildValue("i",_result
);
3772 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3773 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3776 wxPyListCtrl
* _arg0
;
3777 PyObject
* _argo0
= 0;
3778 char *_kwnames
[] = { "self", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) return NULL
;
3797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3798 _resultobj
= Py_BuildValue("s",_ptemp
);
3802 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3803 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3805 wxPyListCtrl
* _arg0
;
3807 PyObject
* _argo0
= 0;
3809 PyObject
* _obj1
= 0;
3810 char *_kwnames
[] = { "self","col", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3824 if (! wxColour_helper(_obj1
, &_arg1
))
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3833 } Py_INCREF(Py_None
);
3834 _resultobj
= Py_None
;
3838 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3839 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3842 wxPyListCtrl
* _arg0
;
3843 PyObject
* _argo0
= 0;
3844 char *_kwnames
[] = { "self", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) return NULL
;
3862 } _resultobj
= Py_BuildValue("l",_result
);
3866 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxPyListCtrl
* _arg0
;
3871 bool _arg2
= (bool ) TRUE
;
3872 PyObject
* _argo0
= 0;
3873 int tempbool2
= (int) TRUE
;
3874 char *_kwnames
[] = { "self","style","add", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3886 _arg2
= (bool ) tempbool2
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) return NULL
;
3893 } Py_INCREF(Py_None
);
3894 _resultobj
= Py_None
;
3898 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3899 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3901 wxPyListCtrl
* _arg0
;
3903 PyObject
* _argo0
= 0;
3904 char *_kwnames
[] = { "self","style", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) return NULL
;
3922 } Py_INCREF(Py_None
);
3923 _resultobj
= Py_None
;
3927 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3928 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3931 wxPyListCtrl
* _arg0
;
3933 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3934 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3935 PyObject
* _argo0
= 0;
3936 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) return NULL
;
3954 } _resultobj
= Py_BuildValue("l",_result
);
3958 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3959 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3961 wxImageList
* _result
;
3962 wxPyListCtrl
* _arg0
;
3964 PyObject
* _argo0
= 0;
3965 char *_kwnames
[] = { "self","which", NULL
};
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) return NULL
;
3983 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3987 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3988 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3990 wxPyListCtrl
* _arg0
;
3991 wxImageList
* _arg1
;
3993 PyObject
* _argo0
= 0;
3994 PyObject
* _argo1
= 0;
3995 char *_kwnames
[] = { "self","imageList","which", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) return NULL
;
4020 } Py_INCREF(Py_None
);
4021 _resultobj
= Py_None
;
4025 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4026 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxPyListCtrl
* _arg0
;
4029 wxImageList
* _arg1
;
4031 PyObject
* _argo0
= 0;
4032 PyObject
* _argo1
= 0;
4033 char *_kwnames
[] = { "self","imageList","which", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4064 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4067 wxPyListCtrl
* _arg0
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4087 } _resultobj
= Py_BuildValue("i",_result
);
4091 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4092 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4094 wxPyListCtrl
* _arg0
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self","item", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4120 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4121 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4123 wxPyListCtrl
* _arg0
;
4126 PyObject
* _argo0
= 0;
4127 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) return NULL
;
4145 } Py_INCREF(Py_None
);
4146 _resultobj
= Py_None
;
4150 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4151 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4154 wxPyListCtrl
* _arg0
;
4155 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self","flag", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) return NULL
;
4175 } _resultobj
= Py_BuildValue("i",_result
);
4179 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4180 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4183 wxPyListCtrl
* _arg0
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self","item", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) return NULL
;
4204 } _resultobj
= Py_BuildValue("i",_result
);
4208 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4209 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
* _resultobj
;
4212 wxPyListCtrl
* _arg0
;
4213 PyObject
* _argo0
= 0;
4214 char *_kwnames
[] = { "self", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) return NULL
;
4232 } _resultobj
= Py_BuildValue("i",_result
);
4236 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4237 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4240 wxPyListCtrl
* _arg0
;
4242 PyObject
* _argo0
= 0;
4243 char *_kwnames
[] = { "self","col", NULL
};
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) return NULL
;
4261 } _resultobj
= Py_BuildValue("i",_result
);
4265 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4266 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4269 wxPyListCtrl
* _arg0
;
4270 PyObject
* _argo0
= 0;
4271 char *_kwnames
[] = { "self", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) return NULL
;
4289 } _resultobj
= Py_BuildValue("i",_result
);
4293 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4294 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4296 wxPyListCtrl
* _arg0
;
4297 PyObject
* _argo0
= 0;
4298 char *_kwnames
[] = { "self", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxListCtrl_ClearAll(_arg0
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } Py_INCREF(Py_None
);
4317 _resultobj
= Py_None
;
4321 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4322 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4324 wxTextCtrl
* _result
;
4325 wxPyListCtrl
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self","item", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4350 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4351 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
* _resultobj
;
4354 wxPyListCtrl
* _arg0
;
4356 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self","cancel", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4370 _arg1
= (bool ) tempbool1
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) return NULL
;
4377 } _resultobj
= Py_BuildValue("i",_result
);
4381 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4382 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4385 wxPyListCtrl
* _arg0
;
4387 PyObject
* _argo0
= 0;
4388 char *_kwnames
[] = { "self","item", NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) return NULL
;
4406 } _resultobj
= Py_BuildValue("i",_result
);
4410 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4411 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4414 wxPyListCtrl
* _arg0
;
4417 bool _arg3
= (bool ) FALSE
;
4418 PyObject
* _argo0
= 0;
4419 PyObject
* _obj2
= 0;
4420 int tempbool3
= (int) FALSE
;
4421 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4434 _arg2
= wxString_in_helper(_obj2
);
4438 _arg3
= (bool ) tempbool3
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } _resultobj
= Py_BuildValue("l",_result
);
4453 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4454 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4457 wxPyListCtrl
* _arg0
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self","start","data", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4479 } _resultobj
= Py_BuildValue("l",_result
);
4483 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4484 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4487 wxPyListCtrl
* _arg0
;
4491 PyObject
* _argo0
= 0;
4493 PyObject
* _obj2
= 0;
4494 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4508 if (! wxPoint_helper(_obj2
, &_arg2
))
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4517 } _resultobj
= Py_BuildValue("l",_result
);
4521 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4522 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4525 wxPyListCtrl
* _arg0
;
4529 PyObject
* _argo0
= 0;
4531 PyObject
* _obj1
= 0;
4532 char *_kwnames
[] = { "self","point", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4549 if (! wxPoint_helper(_obj1
, &_arg1
))
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4558 } _resultobj
= Py_BuildValue("l",_result
);
4561 o
= PyInt_FromLong((long) (*_arg2
));
4562 _resultobj
= t_output_helper(_resultobj
, o
);
4567 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4568 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4571 wxPyListCtrl
* _arg0
;
4573 PyObject
* _argo0
= 0;
4574 PyObject
* _argo1
= 0;
4575 char *_kwnames
[] = { "self","info", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4588 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) return NULL
;
4599 } _resultobj
= Py_BuildValue("l",_result
);
4603 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4604 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4607 wxPyListCtrl
* _arg0
;
4610 PyObject
* _argo0
= 0;
4611 PyObject
* _obj2
= 0;
4612 char *_kwnames
[] = { "self","index","label", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4625 _arg2
= wxString_in_helper(_obj2
);
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) return NULL
;
4635 } _resultobj
= Py_BuildValue("l",_result
);
4643 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4644 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4647 wxPyListCtrl
* _arg0
;
4650 PyObject
* _argo0
= 0;
4651 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) return NULL
;
4669 } _resultobj
= Py_BuildValue("l",_result
);
4673 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4674 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4677 wxPyListCtrl
* _arg0
;
4681 PyObject
* _argo0
= 0;
4682 PyObject
* _obj2
= 0;
4683 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4696 _arg2
= wxString_in_helper(_obj2
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) return NULL
;
4706 } _resultobj
= Py_BuildValue("l",_result
);
4714 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4715 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4718 wxPyListCtrl
* _arg0
;
4721 PyObject
* _argo0
= 0;
4722 PyObject
* _argo2
= 0;
4723 char *_kwnames
[] = { "self","col","info", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4736 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) return NULL
;
4747 } _resultobj
= Py_BuildValue("l",_result
);
4751 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4752 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4755 wxPyListCtrl
* _arg0
;
4758 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4759 int _arg4
= (int ) -1;
4760 PyObject
* _argo0
= 0;
4761 PyObject
* _obj2
= 0;
4762 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4775 _arg2
= wxString_in_helper(_obj2
);
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) return NULL
;
4785 } _resultobj
= Py_BuildValue("l",_result
);
4793 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4794 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4796 wxPyListCtrl
* _arg0
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self","count", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) return NULL
;
4817 } Py_INCREF(Py_None
);
4818 _resultobj
= Py_None
;
4822 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4823 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4826 wxPyListCtrl
* _arg0
;
4829 PyObject
* _argo0
= 0;
4830 char *_kwnames
[] = { "self","dx","dy", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) return NULL
;
4848 } _resultobj
= Py_BuildValue("i",_result
);
4852 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4853 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4855 wxPyListCtrl
* _arg0
;
4858 PyObject
* _argo0
= 0;
4860 PyObject
* _obj2
= 0;
4861 char *_kwnames
[] = { "self","item","col", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4875 if (! wxColour_helper(_obj2
, &_arg2
))
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) return NULL
;
4884 } Py_INCREF(Py_None
);
4885 _resultobj
= Py_None
;
4889 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4890 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4893 wxPyListCtrl
* _arg0
;
4895 PyObject
* _argo0
= 0;
4896 char *_kwnames
[] = { "self","item", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4915 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4916 _resultobj
= Py_BuildValue("s",_ptemp
);
4920 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4921 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4923 wxPyListCtrl
* _arg0
;
4926 PyObject
* _argo0
= 0;
4928 PyObject
* _obj2
= 0;
4929 char *_kwnames
[] = { "self","item","col", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4943 if (! wxColour_helper(_obj2
, &_arg2
))
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4957 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4958 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4961 wxPyListCtrl
* _arg0
;
4963 PyObject
* _argo0
= 0;
4964 char *_kwnames
[] = { "self","item", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) return NULL
;
4983 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4984 _resultobj
= Py_BuildValue("s",_ptemp
);
4988 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4989 if (!PyCallable_Check(func
))
4991 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4993 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4996 wxPyListCtrl
* _arg0
;
4998 PyObject
* _argo0
= 0;
4999 PyObject
* _obj1
= 0;
5000 char *_kwnames
[] = { "self","func", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) return NULL
;
5021 } _resultobj
= Py_BuildValue("i",_result
);
5025 static wxWindow
* wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
) {
5029 return (wxWindow
*)self
->m_mainWin
;
5032 static PyObject
*_wrap_wxListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5035 wxPyListCtrl
* _arg0
;
5036 PyObject
* _argo0
= 0;
5037 char *_kwnames
[] = { "self", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetMainWindow",_kwnames
,&_argo0
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetMainWindow. Expected _wxPyListCtrl_p.");
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 _result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(_arg0
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) return NULL
;
5055 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5059 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5062 src
= (wxListView
*) ptr
;
5063 dest
= (wxPyListCtrl
*) src
;
5064 return (void *) dest
;
5067 static void *SwigwxListViewTowxControl(void *ptr
) {
5070 src
= (wxListView
*) ptr
;
5071 dest
= (wxControl
*) src
;
5072 return (void *) dest
;
5075 static void *SwigwxListViewTowxWindow(void *ptr
) {
5078 src
= (wxListView
*) ptr
;
5079 dest
= (wxWindow
*) src
;
5080 return (void *) dest
;
5083 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5086 src
= (wxListView
*) ptr
;
5087 dest
= (wxEvtHandler
*) src
;
5088 return (void *) dest
;
5091 static void *SwigwxListViewTowxObject(void *ptr
) {
5094 src
= (wxListView
*) ptr
;
5095 dest
= (wxObject
*) src
;
5096 return (void *) dest
;
5099 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5100 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
* _resultobj
;
5102 wxListView
* _result
;
5104 wxWindowID _arg1
= (wxWindowID
) -1;
5105 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5106 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5107 long _arg4
= (long ) (wxLC_REPORT
);
5108 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5109 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5110 PyObject
* _argo0
= 0;
5112 PyObject
* _obj2
= 0;
5114 PyObject
* _obj3
= 0;
5115 PyObject
* _argo5
= 0;
5116 PyObject
* _obj6
= 0;
5117 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5133 if (! wxPoint_helper(_obj2
, &_arg2
))
5139 if (! wxSize_helper(_obj3
, &_arg3
))
5143 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5150 _arg6
= wxString_in_helper(_obj6
);
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) return NULL
;
5161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5162 _resultobj
= Py_BuildValue("s",_ptemp
);
5165 _resultobj
= Py_None
;
5174 #define new_wxPreListView() (new wxListView())
5175 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5177 wxListView
* _result
;
5178 char *_kwnames
[] = { NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 _result
= (wxListView
*)new_wxPreListView();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) return NULL
;
5191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5192 _resultobj
= Py_BuildValue("s",_ptemp
);
5195 _resultobj
= Py_None
;
5200 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5201 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5206 wxWindowID _arg2
= (wxWindowID
) -1;
5207 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5208 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5209 long _arg5
= (long ) (wxLC_REPORT
);
5210 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5211 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5212 PyObject
* _argo0
= 0;
5213 PyObject
* _argo1
= 0;
5215 PyObject
* _obj3
= 0;
5217 PyObject
* _obj4
= 0;
5218 PyObject
* _argo6
= 0;
5219 PyObject
* _obj7
= 0;
5220 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5242 if (! wxPoint_helper(_obj3
, &_arg3
))
5248 if (! wxSize_helper(_obj4
, &_arg4
))
5252 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5259 _arg7
= wxString_in_helper(_obj7
);
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) return NULL
;
5269 } _resultobj
= Py_BuildValue("i",_result
);
5277 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5278 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
* _resultobj
;
5282 bool _arg2
= (bool ) TRUE
;
5283 PyObject
* _argo0
= 0;
5284 int tempbool2
= (int) TRUE
;
5285 char *_kwnames
[] = { "self","n","on", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5297 _arg2
= (bool ) tempbool2
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 wxListView_Select(_arg0
,_arg1
,_arg2
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5304 } Py_INCREF(Py_None
);
5305 _resultobj
= Py_None
;
5309 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5310 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5314 PyObject
* _argo0
= 0;
5315 char *_kwnames
[] = { "self","index", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_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_Focus. Expected _wxListView_p.");
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 wxListView_Focus(_arg0
,_arg1
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) return NULL
;
5333 } Py_INCREF(Py_None
);
5334 _resultobj
= Py_None
;
5338 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5339 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
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_GetFocusedItem. Expected _wxListView_p.");
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) return NULL
;
5362 } _resultobj
= Py_BuildValue("l",_result
);
5366 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5367 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self","item", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_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_GetNextSelected. Expected _wxListView_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5391 } _resultobj
= Py_BuildValue("l",_result
);
5395 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5396 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5400 PyObject
* _argo0
= 0;
5401 char *_kwnames
[] = { "self", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) return NULL
;
5419 } _resultobj
= Py_BuildValue("l",_result
);
5423 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5424 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5429 PyObject
* _argo0
= 0;
5430 char *_kwnames
[] = { "self","index", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) return NULL
;
5448 } _resultobj
= Py_BuildValue("i",_result
);
5452 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5453 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
* _resultobj
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self","col","image", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5483 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5487 PyObject
* _argo0
= 0;
5488 char *_kwnames
[] = { "self","col", NULL
};
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 wxListView_ClearColumnImage(_arg0
,_arg1
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) return NULL
;
5506 } Py_INCREF(Py_None
);
5507 _resultobj
= Py_None
;
5511 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5512 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5514 wxTreeItemAttr
* _result
;
5515 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5516 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5517 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5519 PyObject
* _obj0
= 0;
5521 PyObject
* _obj1
= 0;
5522 PyObject
* _argo2
= 0;
5523 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5532 if (! wxColour_helper(_obj0
, &_arg0
))
5538 if (! wxColour_helper(_obj1
, &_arg1
))
5542 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) return NULL
;
5554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5555 _resultobj
= Py_BuildValue("s",_ptemp
);
5558 _resultobj
= Py_None
;
5563 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5564 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxTreeItemAttr
* _arg0
;
5568 PyObject
* _argo0
= 0;
5570 PyObject
* _obj1
= 0;
5571 char *_kwnames
[] = { "self","colText", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5585 if (! wxColour_helper(_obj1
, &_arg1
))
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5600 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxTreeItemAttr
* _arg0
;
5604 PyObject
* _argo0
= 0;
5606 PyObject
* _obj1
= 0;
5607 char *_kwnames
[] = { "self","colBack", NULL
};
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5621 if (! wxColour_helper(_obj1
, &_arg1
))
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) return NULL
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5635 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5636 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxTreeItemAttr
* _arg0
;
5640 PyObject
* _argo0
= 0;
5641 PyObject
* _argo1
= 0;
5642 char *_kwnames
[] = { "self","font", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5655 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5671 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5672 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5675 wxTreeItemAttr
* _arg0
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } _resultobj
= Py_BuildValue("i",_result
);
5699 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5700 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5703 wxTreeItemAttr
* _arg0
;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) return NULL
;
5723 } _resultobj
= Py_BuildValue("i",_result
);
5727 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5728 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5731 wxTreeItemAttr
* _arg0
;
5732 PyObject
* _argo0
= 0;
5733 char *_kwnames
[] = { "self", NULL
};
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) return NULL
;
5751 } _resultobj
= Py_BuildValue("i",_result
);
5755 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5756 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
* _resultobj
;
5759 wxTreeItemAttr
* _arg0
;
5760 PyObject
* _argo0
= 0;
5761 char *_kwnames
[] = { "self", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) return NULL
;
5780 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5781 _resultobj
= Py_BuildValue("s",_ptemp
);
5785 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5786 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
* _resultobj
;
5789 wxTreeItemAttr
* _arg0
;
5790 PyObject
* _argo0
= 0;
5791 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5811 _resultobj
= Py_BuildValue("s",_ptemp
);
5815 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5816 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5819 wxTreeItemAttr
* _arg0
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) return NULL
;
5840 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5841 _resultobj
= Py_BuildValue("s",_ptemp
);
5845 #define new_wxTreeItemId() (new wxTreeItemId())
5846 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5848 wxTreeItemId
* _result
;
5849 char *_kwnames
[] = { NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) return NULL
;
5862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5863 _resultobj
= Py_BuildValue("s",_ptemp
);
5866 _resultobj
= Py_None
;
5871 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5872 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxTreeItemId
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 delete_wxTreeItemId(_arg0
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5894 } Py_INCREF(Py_None
);
5895 _resultobj
= Py_None
;
5899 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5900 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5903 wxTreeItemId
* _arg0
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) return NULL
;
5923 } _resultobj
= Py_BuildValue("i",_result
);
5927 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5928 if (! other
) return -1;
5929 return *self
!= *other
;
5931 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5934 wxTreeItemId
* _arg0
;
5935 wxTreeItemId
* _arg1
;
5936 PyObject
* _argo0
= 0;
5937 PyObject
* _argo1
= 0;
5938 char *_kwnames
[] = { "self","other", NULL
};
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) return NULL
;
5963 } _resultobj
= Py_BuildValue("i",_result
);
5967 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5968 wxPyTreeItemData
*src
;
5970 src
= (wxPyTreeItemData
*) ptr
;
5971 dest
= (wxObject
*) src
;
5972 return (void *) dest
;
5975 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5976 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
* _resultobj
;
5978 wxPyTreeItemData
* _result
;
5979 PyObject
* _arg0
= (PyObject
*) NULL
;
5980 PyObject
* _obj0
= 0;
5981 char *_kwnames
[] = { "obj", NULL
};
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) return NULL
;
5998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5999 _resultobj
= Py_BuildValue("s",_ptemp
);
6002 _resultobj
= Py_None
;
6007 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6008 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6011 wxPyTreeItemData
* _arg0
;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6032 _resultobj
= _result
;
6037 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6038 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
* _resultobj
;
6040 wxPyTreeItemData
* _arg0
;
6042 PyObject
* _argo0
= 0;
6043 PyObject
* _obj1
= 0;
6044 char *_kwnames
[] = { "self","obj", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 wxTreeItemData_SetData(_arg0
,_arg1
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) return NULL
;
6065 } Py_INCREF(Py_None
);
6066 _resultobj
= Py_None
;
6070 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6071 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6073 wxTreeItemId
* _result
;
6074 wxPyTreeItemData
* _arg0
;
6075 PyObject
* _argo0
= 0;
6076 char *_kwnames
[] = { "self", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6092 _result
= (wxTreeItemId
*) &_result_ref
;
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) return NULL
;
6097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6098 _resultobj
= Py_BuildValue("s",_ptemp
);
6101 _resultobj
= Py_None
;
6106 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6107 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6109 wxPyTreeItemData
* _arg0
;
6110 wxTreeItemId
* _arg1
;
6111 PyObject
* _argo0
= 0;
6112 PyObject
* _argo1
= 0;
6113 char *_kwnames
[] = { "self","id", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6126 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 wxTreeItemData_SetId(_arg0
,*_arg1
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) return NULL
;
6137 } Py_INCREF(Py_None
);
6138 _resultobj
= Py_None
;
6142 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6144 wxNotifyEvent
*dest
;
6145 src
= (wxTreeEvent
*) ptr
;
6146 dest
= (wxNotifyEvent
*) src
;
6147 return (void *) dest
;
6150 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6152 wxCommandEvent
*dest
;
6153 src
= (wxTreeEvent
*) ptr
;
6154 dest
= (wxCommandEvent
*) src
;
6155 return (void *) dest
;
6158 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6161 src
= (wxTreeEvent
*) ptr
;
6162 dest
= (wxEvent
*) src
;
6163 return (void *) dest
;
6166 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6169 src
= (wxTreeEvent
*) ptr
;
6170 dest
= (wxObject
*) src
;
6171 return (void *) dest
;
6174 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6175 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
* _resultobj
;
6177 wxTreeEvent
* _result
;
6178 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6179 int _arg1
= (int ) 0;
6180 char *_kwnames
[] = { "commandType","id", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) return NULL
;
6193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6194 _resultobj
= Py_BuildValue("s",_ptemp
);
6197 _resultobj
= Py_None
;
6202 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6203 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6205 wxTreeItemId
* _result
;
6206 wxTreeEvent
* _arg0
;
6207 PyObject
* _argo0
= 0;
6208 char *_kwnames
[] = { "self", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) return NULL
;
6227 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6228 _resultobj
= Py_BuildValue("s",_ptemp
);
6232 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6233 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6235 wxTreeItemId
* _result
;
6236 wxTreeEvent
* _arg0
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self", NULL
};
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) return NULL
;
6257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6258 _resultobj
= Py_BuildValue("s",_ptemp
);
6262 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6263 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
* _resultobj
;
6266 wxTreeEvent
* _arg0
;
6267 PyObject
* _argo0
= 0;
6268 char *_kwnames
[] = { "self", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) return NULL
;
6287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6288 _resultobj
= Py_BuildValue("s",_ptemp
);
6292 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6293 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
* _resultobj
;
6295 wxKeyEvent
* _result
;
6296 wxTreeEvent
* _arg0
;
6297 PyObject
* _argo0
= 0;
6298 char *_kwnames
[] = { "self", NULL
};
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6314 _result
= (wxKeyEvent
*) &_result_ref
;
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6320 _resultobj
= Py_BuildValue("s",_ptemp
);
6323 _resultobj
= Py_None
;
6328 #define wxTreeEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
6329 static PyObject
*_wrap_wxTreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6332 wxTreeEvent
* _arg0
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyCode",_kwnames
,&_argo0
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyCode. Expected _wxTreeEvent_p.");
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 _result
= (int )wxTreeEvent_GetKeyCode(_arg0
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) return NULL
;
6352 } _resultobj
= Py_BuildValue("i",_result
);
6356 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6357 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
* _resultobj
;
6360 wxTreeEvent
* _arg0
;
6361 PyObject
* _argo0
= 0;
6362 char *_kwnames
[] = { "self", NULL
};
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6377 _result
= (wxString
*) &_result_ref
;
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) return NULL
;
6383 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6385 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6391 #define wxTreeEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
6392 static PyObject
*_wrap_wxTreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
* _resultobj
;
6395 wxTreeEvent
* _arg0
;
6396 PyObject
* _argo0
= 0;
6397 char *_kwnames
[] = { "self", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_IsEditCancelled",_kwnames
,&_argo0
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_IsEditCancelled. Expected _wxTreeEvent_p.");
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 _result
= (bool )wxTreeEvent_IsEditCancelled(_arg0
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) return NULL
;
6415 } _resultobj
= Py_BuildValue("i",_result
);
6419 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6422 src
= (wxPyTreeCtrl
*) ptr
;
6423 dest
= (wxControl
*) src
;
6424 return (void *) dest
;
6427 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6430 src
= (wxPyTreeCtrl
*) ptr
;
6431 dest
= (wxWindow
*) src
;
6432 return (void *) dest
;
6435 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6438 src
= (wxPyTreeCtrl
*) ptr
;
6439 dest
= (wxEvtHandler
*) src
;
6440 return (void *) dest
;
6443 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6446 src
= (wxPyTreeCtrl
*) ptr
;
6447 dest
= (wxObject
*) src
;
6448 return (void *) dest
;
6451 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6452 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6454 wxPyTreeCtrl
* _result
;
6456 wxWindowID _arg1
= (wxWindowID
) -1;
6457 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6458 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6459 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6460 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6461 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6462 PyObject
* _argo0
= 0;
6464 PyObject
* _obj2
= 0;
6466 PyObject
* _obj3
= 0;
6467 PyObject
* _argo5
= 0;
6468 PyObject
* _obj6
= 0;
6469 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6485 if (! wxPoint_helper(_obj2
, &_arg2
))
6491 if (! wxSize_helper(_obj3
, &_arg3
))
6495 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6502 _arg6
= wxString_in_helper(_obj6
);
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6514 _resultobj
= Py_BuildValue("s",_ptemp
);
6517 _resultobj
= Py_None
;
6526 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6527 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6529 wxPyTreeCtrl
* _result
;
6530 char *_kwnames
[] = { NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) return NULL
;
6543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6544 _resultobj
= Py_BuildValue("s",_ptemp
);
6547 _resultobj
= Py_None
;
6552 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6553 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6556 wxPyTreeCtrl
* _arg0
;
6558 wxWindowID _arg2
= (wxWindowID
) -1;
6559 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6560 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6561 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6562 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6563 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6564 PyObject
* _argo0
= 0;
6565 PyObject
* _argo1
= 0;
6567 PyObject
* _obj3
= 0;
6569 PyObject
* _obj4
= 0;
6570 PyObject
* _argo6
= 0;
6571 PyObject
* _obj7
= 0;
6572 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6594 if (! wxPoint_helper(_obj3
, &_arg3
))
6600 if (! wxSize_helper(_obj4
, &_arg4
))
6604 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6611 _arg7
= wxString_in_helper(_obj7
);
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) return NULL
;
6621 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6630 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6632 wxPyTreeCtrl
* _arg0
;
6635 PyObject
* _argo0
= 0;
6636 PyObject
* _obj1
= 0;
6637 PyObject
* _obj2
= 0;
6638 char *_kwnames
[] = { "self","self","_class", NULL
};
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) return NULL
;
6662 } Py_INCREF(Py_None
);
6663 _resultobj
= Py_None
;
6667 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6668 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6671 wxPyTreeCtrl
* _arg0
;
6672 PyObject
* _argo0
= 0;
6673 char *_kwnames
[] = { "self", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6691 } _resultobj
= Py_BuildValue("i",_result
);
6695 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6696 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
* _resultobj
;
6698 unsigned int _result
;
6699 wxPyTreeCtrl
* _arg0
;
6700 PyObject
* _argo0
= 0;
6701 char *_kwnames
[] = { "self", NULL
};
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) return NULL
;
6719 } _resultobj
= Py_BuildValue("i",_result
);
6723 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6724 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
* _resultobj
;
6726 wxPyTreeCtrl
* _arg0
;
6728 PyObject
* _argo0
= 0;
6729 char *_kwnames
[] = { "self","indent", NULL
};
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) return NULL
;
6747 } Py_INCREF(Py_None
);
6748 _resultobj
= Py_None
;
6752 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6753 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
* _resultobj
;
6755 wxImageList
* _result
;
6756 wxPyTreeCtrl
* _arg0
;
6757 PyObject
* _argo0
= 0;
6758 char *_kwnames
[] = { "self", NULL
};
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) return NULL
;
6776 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6780 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6781 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
* _resultobj
;
6783 wxImageList
* _result
;
6784 wxPyTreeCtrl
* _arg0
;
6785 PyObject
* _argo0
= 0;
6786 char *_kwnames
[] = { "self", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) return NULL
;
6804 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6808 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6809 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6811 wxPyTreeCtrl
* _arg0
;
6812 wxImageList
* _arg1
;
6813 PyObject
* _argo0
= 0;
6814 PyObject
* _argo1
= 0;
6815 char *_kwnames
[] = { "self","imageList", NULL
};
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) return NULL
;
6840 } Py_INCREF(Py_None
);
6841 _resultobj
= Py_None
;
6845 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6846 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
* _resultobj
;
6848 wxPyTreeCtrl
* _arg0
;
6849 wxImageList
* _arg1
;
6850 PyObject
* _argo0
= 0;
6851 PyObject
* _argo1
= 0;
6852 char *_kwnames
[] = { "self","imageList", NULL
};
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
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_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) return NULL
;
6877 } Py_INCREF(Py_None
);
6878 _resultobj
= Py_None
;
6882 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6883 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6885 wxPyTreeCtrl
* _arg0
;
6886 wxImageList
* _arg1
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _argo1
= 0;
6889 char *_kwnames
[] = { "self","imageList", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6914 } Py_INCREF(Py_None
);
6915 _resultobj
= Py_None
;
6919 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6920 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
* _resultobj
;
6922 wxPyTreeCtrl
* _arg0
;
6923 wxImageList
* _arg1
;
6924 PyObject
* _argo0
= 0;
6925 PyObject
* _argo1
= 0;
6926 char *_kwnames
[] = { "self","imageList", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } Py_INCREF(Py_None
);
6952 _resultobj
= Py_None
;
6956 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6957 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 unsigned int _result
;
6960 wxPyTreeCtrl
* _arg0
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) return NULL
;
6980 } _resultobj
= Py_BuildValue("i",_result
);
6984 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6985 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6987 wxPyTreeCtrl
* _arg0
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self","spacing", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } Py_INCREF(Py_None
);
7009 _resultobj
= Py_None
;
7013 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7014 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7017 wxPyTreeCtrl
* _arg0
;
7018 wxTreeItemId
* _arg1
;
7019 PyObject
* _argo0
= 0;
7020 PyObject
* _argo1
= 0;
7021 char *_kwnames
[] = { "self","item", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7034 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) return NULL
;
7047 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7049 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7058 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7059 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7062 wxPyTreeCtrl
* _arg0
;
7063 wxTreeItemId
* _arg1
;
7064 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7065 PyObject
* _argo0
= 0;
7066 PyObject
* _argo1
= 0;
7067 char *_kwnames
[] = { "self","item","which", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7080 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } _resultobj
= Py_BuildValue("i",_result
);
7095 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7096 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7099 wxPyTreeCtrl
* _arg0
;
7100 wxTreeItemId
* _arg1
;
7101 PyObject
* _argo0
= 0;
7102 PyObject
* _argo1
= 0;
7103 char *_kwnames
[] = { "self","item", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7116 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) return NULL
;
7127 } _resultobj
= Py_BuildValue("i",_result
);
7131 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7132 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7134 wxPyTreeCtrl
* _arg0
;
7135 wxTreeItemId
* _arg1
;
7137 PyObject
* _argo0
= 0;
7138 PyObject
* _argo1
= 0;
7139 PyObject
* _obj2
= 0;
7140 char *_kwnames
[] = { "self","item","text", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7153 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7159 _arg2
= wxString_in_helper(_obj2
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) return NULL
;
7169 } Py_INCREF(Py_None
);
7170 _resultobj
= Py_None
;
7178 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7179 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
* _resultobj
;
7181 wxPyTreeCtrl
* _arg0
;
7182 wxTreeItemId
* _arg1
;
7184 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7185 PyObject
* _argo0
= 0;
7186 PyObject
* _argo1
= 0;
7187 char *_kwnames
[] = { "self","item","image","which", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7200 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) return NULL
;
7211 } Py_INCREF(Py_None
);
7212 _resultobj
= Py_None
;
7216 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7217 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7219 wxPyTreeCtrl
* _arg0
;
7220 wxTreeItemId
* _arg1
;
7222 PyObject
* _argo0
= 0;
7223 PyObject
* _argo1
= 0;
7224 char *_kwnames
[] = { "self","item","image", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7237 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) return NULL
;
7248 } Py_INCREF(Py_None
);
7249 _resultobj
= Py_None
;
7253 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7254 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7256 wxPyTreeCtrl
* _arg0
;
7257 wxTreeItemId
* _arg1
;
7258 bool _arg2
= (bool ) TRUE
;
7259 PyObject
* _argo0
= 0;
7260 PyObject
* _argo1
= 0;
7261 int tempbool2
= (int) TRUE
;
7262 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7275 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7280 _arg2
= (bool ) tempbool2
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } Py_INCREF(Py_None
);
7288 _resultobj
= Py_None
;
7292 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7293 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7295 data
= new wxPyTreeItemData();
7296 data
->SetId(item
); // set the id
7297 self
->SetItemData(item
, data
);
7301 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7303 wxPyTreeItemData
* _result
;
7304 wxPyTreeCtrl
* _arg0
;
7305 wxTreeItemId
* _arg1
;
7306 PyObject
* _argo0
= 0;
7307 PyObject
* _argo1
= 0;
7308 char *_kwnames
[] = { "self","item", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7322 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) return NULL
;
7334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7335 _resultobj
= Py_BuildValue("s",_ptemp
);
7338 _resultobj
= Py_None
;
7343 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7344 data
->SetId(item
); // set the id
7345 self
->SetItemData(item
, data
);
7347 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7349 wxPyTreeCtrl
* _arg0
;
7350 wxTreeItemId
* _arg1
;
7351 wxPyTreeItemData
* _arg2
;
7352 PyObject
* _argo0
= 0;
7353 PyObject
* _argo1
= 0;
7354 PyObject
* _argo2
= 0;
7355 char *_kwnames
[] = { "self","item","data", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7368 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7374 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) return NULL
;
7386 } Py_INCREF(Py_None
);
7387 _resultobj
= Py_None
;
7391 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7392 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7394 data
= new wxPyTreeItemData();
7395 data
->SetId(item
); // set the id
7396 self
->SetItemData(item
, data
);
7398 return data
->GetData();
7400 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7403 wxPyTreeCtrl
* _arg0
;
7404 wxTreeItemId
* _arg1
;
7405 PyObject
* _argo0
= 0;
7406 PyObject
* _argo1
= 0;
7407 char *_kwnames
[] = { "self","item", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7420 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) return NULL
;
7432 _resultobj
= _result
;
7437 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7438 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7440 data
= new wxPyTreeItemData(obj
);
7441 data
->SetId(item
); // set the id
7442 self
->SetItemData(item
, data
);
7446 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7448 wxPyTreeCtrl
* _arg0
;
7449 wxTreeItemId
* _arg1
;
7451 PyObject
* _argo0
= 0;
7452 PyObject
* _argo1
= 0;
7453 PyObject
* _obj2
= 0;
7454 char *_kwnames
[] = { "self","item","obj", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7467 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) return NULL
;
7481 } Py_INCREF(Py_None
);
7482 _resultobj
= Py_None
;
7486 #define wxTreeCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
7487 static PyObject
*_wrap_wxTreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
* _resultobj
;
7490 wxPyTreeCtrl
* _arg0
;
7491 wxTreeItemId
* _arg1
;
7492 PyObject
* _argo0
= 0;
7493 PyObject
* _argo1
= 0;
7494 char *_kwnames
[] = { "self","item", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_argo1
))
7501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemTextColour. Expected _wxPyTreeCtrl_p.");
7508 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 _result
= new wxColour (wxTreeCtrl_GetItemTextColour(_arg0
,*_arg1
));
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) return NULL
;
7519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7520 _resultobj
= Py_BuildValue("s",_ptemp
);
7524 #define wxTreeCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
7525 static PyObject
*_wrap_wxTreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
* _resultobj
;
7528 wxPyTreeCtrl
* _arg0
;
7529 wxTreeItemId
* _arg1
;
7530 PyObject
* _argo0
= 0;
7531 PyObject
* _argo1
= 0;
7532 char *_kwnames
[] = { "self","item", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7546 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 _result
= new wxColour (wxTreeCtrl_GetItemBackgroundColour(_arg0
,*_arg1
));
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) return NULL
;
7557 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7558 _resultobj
= Py_BuildValue("s",_ptemp
);
7562 #define wxTreeCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
7563 static PyObject
*_wrap_wxTreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
* _resultobj
;
7566 wxPyTreeCtrl
* _arg0
;
7567 wxTreeItemId
* _arg1
;
7568 PyObject
* _argo0
= 0;
7569 PyObject
* _argo1
= 0;
7570 char *_kwnames
[] = { "self","item", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemFont",_kwnames
,&_argo0
,&_argo1
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemFont. Expected _wxPyTreeCtrl_p.");
7584 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemFont. Expected _wxTreeItemId_p.");
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 _result
= new wxFont (wxTreeCtrl_GetItemFont(_arg0
,*_arg1
));
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) return NULL
;
7595 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7596 _resultobj
= Py_BuildValue("s",_ptemp
);
7600 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7601 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7604 wxPyTreeCtrl
* _arg0
;
7605 wxTreeItemId
* _arg1
;
7606 PyObject
* _argo0
= 0;
7607 PyObject
* _argo1
= 0;
7608 char *_kwnames
[] = { "self","item", NULL
};
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7621 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) return NULL
;
7632 } _resultobj
= Py_BuildValue("i",_result
);
7636 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7637 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
* _resultobj
;
7640 wxPyTreeCtrl
* _arg0
;
7641 wxTreeItemId
* _arg1
;
7642 PyObject
* _argo0
= 0;
7643 PyObject
* _argo1
= 0;
7644 char *_kwnames
[] = { "self","item", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7657 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } _resultobj
= Py_BuildValue("i",_result
);
7672 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7673 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7676 wxPyTreeCtrl
* _arg0
;
7677 wxTreeItemId
* _arg1
;
7678 PyObject
* _argo0
= 0;
7679 PyObject
* _argo1
= 0;
7680 char *_kwnames
[] = { "self","item", NULL
};
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7693 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) return NULL
;
7704 } _resultobj
= Py_BuildValue("i",_result
);
7708 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7709 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7712 wxPyTreeCtrl
* _arg0
;
7713 wxTreeItemId
* _arg1
;
7714 PyObject
* _argo0
= 0;
7715 PyObject
* _argo1
= 0;
7716 char *_kwnames
[] = { "self","item", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7729 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) return NULL
;
7740 } _resultobj
= Py_BuildValue("i",_result
);
7744 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7745 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
* _resultobj
;
7747 wxTreeItemId
* _result
;
7748 wxPyTreeCtrl
* _arg0
;
7749 PyObject
* _argo0
= 0;
7750 char *_kwnames
[] = { "self", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) return NULL
;
7769 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7770 _resultobj
= Py_BuildValue("s",_ptemp
);
7774 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7775 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
* _resultobj
;
7777 wxTreeItemId
* _result
;
7778 wxPyTreeCtrl
* _arg0
;
7779 PyObject
* _argo0
= 0;
7780 char *_kwnames
[] = { "self", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) return NULL
;
7799 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7800 _resultobj
= Py_BuildValue("s",_ptemp
);
7804 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetItemParent(_swigarg0))
7805 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
* _resultobj
;
7807 wxTreeItemId
* _result
;
7808 wxPyTreeCtrl
* _arg0
;
7809 wxTreeItemId
* _arg1
;
7810 PyObject
* _argo0
= 0;
7811 PyObject
* _argo1
= 0;
7812 char *_kwnames
[] = { "self","item", NULL
};
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7826 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) return NULL
;
7837 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7838 _resultobj
= Py_BuildValue("s",_ptemp
);
7842 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7843 wxPyBeginBlockThreads();
7844 PyObject
* rval
= PyList_New(0);
7845 wxArrayTreeItemIds array
;
7847 num
= self
->GetSelections(array
);
7848 for (x
=0; x
< num
; x
++) {
7849 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7850 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), TRUE
);
7851 PyList_Append(rval
, item
);
7853 wxPyEndBlockThreads();
7856 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7859 wxPyTreeCtrl
* _arg0
;
7860 PyObject
* _argo0
= 0;
7861 char *_kwnames
[] = { "self", NULL
};
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) return NULL
;
7880 _resultobj
= _result
;
7885 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7886 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxPyTreeCtrl
* _arg0
;
7890 wxTreeItemId
* _arg1
;
7891 bool _arg2
= (bool ) TRUE
;
7892 PyObject
* _argo0
= 0;
7893 PyObject
* _argo1
= 0;
7894 int tempbool2
= (int) TRUE
;
7895 char *_kwnames
[] = { "self","item","recursively", NULL
};
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7908 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7913 _arg2
= (bool ) tempbool2
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) return NULL
;
7920 } _resultobj
= Py_BuildValue("i",_result
);
7924 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7925 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7927 wxTreeItemId
* _result
;
7928 wxPyTreeCtrl
* _arg0
;
7929 wxTreeItemId
* _arg1
;
7930 long * _arg2
= (long *) &longzero
;
7931 PyObject
* _argo0
= 0;
7932 PyObject
* _argo1
= 0;
7934 PyObject
* _obj2
= 0;
7935 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7949 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7956 temp
= (long) PyInt_AsLong(_obj2
);
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) return NULL
;
7965 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7966 _resultobj
= Py_BuildValue("s",_ptemp
);
7969 o
= PyInt_FromLong((long) (*_arg2
));
7970 _resultobj
= t_output_helper(_resultobj
, o
);
7975 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7976 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
* _resultobj
;
7978 wxTreeItemId
* _result
;
7979 wxPyTreeCtrl
* _arg0
;
7980 wxTreeItemId
* _arg1
;
7982 PyObject
* _argo0
= 0;
7983 PyObject
* _argo1
= 0;
7985 PyObject
* _obj2
= 0;
7986 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8000 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8006 temp
= (long) PyInt_AsLong(_obj2
);
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) return NULL
;
8015 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8016 _resultobj
= Py_BuildValue("s",_ptemp
);
8019 o
= PyInt_FromLong((long) (*_arg2
));
8020 _resultobj
= t_output_helper(_resultobj
, o
);
8025 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8026 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
* _resultobj
;
8028 wxTreeItemId
* _result
;
8029 wxPyTreeCtrl
* _arg0
;
8030 wxTreeItemId
* _arg1
;
8031 PyObject
* _argo0
= 0;
8032 PyObject
* _argo1
= 0;
8033 char *_kwnames
[] = { "self","item", NULL
};
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8047 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) return NULL
;
8058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8059 _resultobj
= Py_BuildValue("s",_ptemp
);
8063 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8064 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
* _resultobj
;
8066 wxTreeItemId
* _result
;
8067 wxPyTreeCtrl
* _arg0
;
8068 wxTreeItemId
* _arg1
;
8069 PyObject
* _argo0
= 0;
8070 PyObject
* _argo1
= 0;
8071 char *_kwnames
[] = { "self","item", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8085 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) return NULL
;
8096 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8097 _resultobj
= Py_BuildValue("s",_ptemp
);
8101 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8102 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
* _resultobj
;
8104 wxTreeItemId
* _result
;
8105 wxPyTreeCtrl
* _arg0
;
8106 PyObject
* _argo0
= 0;
8107 char *_kwnames
[] = { "self", NULL
};
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) return NULL
;
8126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8127 _resultobj
= Py_BuildValue("s",_ptemp
);
8131 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8132 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8134 wxTreeItemId
* _result
;
8135 wxPyTreeCtrl
* _arg0
;
8136 wxTreeItemId
* _arg1
;
8137 PyObject
* _argo0
= 0;
8138 PyObject
* _argo1
= 0;
8139 char *_kwnames
[] = { "self","item", NULL
};
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8153 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) return NULL
;
8164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8165 _resultobj
= Py_BuildValue("s",_ptemp
);
8169 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8170 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
* _resultobj
;
8172 wxTreeItemId
* _result
;
8173 wxPyTreeCtrl
* _arg0
;
8174 wxTreeItemId
* _arg1
;
8175 PyObject
* _argo0
= 0;
8176 PyObject
* _argo1
= 0;
8177 char *_kwnames
[] = { "self","item", NULL
};
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8191 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) return NULL
;
8202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8203 _resultobj
= Py_BuildValue("s",_ptemp
);
8207 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8208 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8210 wxTreeItemId
* _result
;
8211 wxPyTreeCtrl
* _arg0
;
8212 wxTreeItemId
* _arg1
;
8213 PyObject
* _argo0
= 0;
8214 PyObject
* _argo1
= 0;
8215 char *_kwnames
[] = { "self","item", NULL
};
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8229 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) return NULL
;
8240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8241 _resultobj
= Py_BuildValue("s",_ptemp
);
8245 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8246 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
* _resultobj
;
8248 wxTreeItemId
* _result
;
8249 wxPyTreeCtrl
* _arg0
;
8251 int _arg2
= (int ) -1;
8252 int _arg3
= (int ) -1;
8253 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8254 PyObject
* _argo0
= 0;
8255 PyObject
* _obj1
= 0;
8256 PyObject
* _argo4
= 0;
8257 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8271 _arg1
= wxString_in_helper(_obj1
);
8276 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8277 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) return NULL
;
8288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8289 _resultobj
= Py_BuildValue("s",_ptemp
);
8297 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8298 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8300 wxTreeItemId
* _result
;
8301 wxPyTreeCtrl
* _arg0
;
8302 wxTreeItemId
* _arg1
;
8304 int _arg3
= (int ) -1;
8305 int _arg4
= (int ) -1;
8306 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8307 PyObject
* _argo0
= 0;
8308 PyObject
* _argo1
= 0;
8309 PyObject
* _obj2
= 0;
8310 PyObject
* _argo5
= 0;
8311 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8325 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8331 _arg2
= wxString_in_helper(_obj2
);
8336 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8337 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) return NULL
;
8348 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8349 _resultobj
= Py_BuildValue("s",_ptemp
);
8357 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8358 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
* _resultobj
;
8360 wxTreeItemId
* _result
;
8361 wxPyTreeCtrl
* _arg0
;
8362 wxTreeItemId
* _arg1
;
8363 wxTreeItemId
* _arg2
;
8365 int _arg4
= (int ) -1;
8366 int _arg5
= (int ) -1;
8367 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8368 PyObject
* _argo0
= 0;
8369 PyObject
* _argo1
= 0;
8370 PyObject
* _argo2
= 0;
8371 PyObject
* _obj3
= 0;
8372 PyObject
* _argo6
= 0;
8373 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8387 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8393 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8399 _arg3
= wxString_in_helper(_obj3
);
8404 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8405 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) return NULL
;
8416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8417 _resultobj
= Py_BuildValue("s",_ptemp
);
8425 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8426 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
* _resultobj
;
8428 wxTreeItemId
* _result
;
8429 wxPyTreeCtrl
* _arg0
;
8430 wxTreeItemId
* _arg1
;
8433 int _arg4
= (int ) -1;
8434 int _arg5
= (int ) -1;
8435 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8436 PyObject
* _argo0
= 0;
8437 PyObject
* _argo1
= 0;
8438 PyObject
* _obj3
= 0;
8439 PyObject
* _argo6
= 0;
8440 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8454 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8460 _arg3
= wxString_in_helper(_obj3
);
8465 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8466 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) return NULL
;
8477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8478 _resultobj
= Py_BuildValue("s",_ptemp
);
8486 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8487 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
* _resultobj
;
8489 wxTreeItemId
* _result
;
8490 wxPyTreeCtrl
* _arg0
;
8491 wxTreeItemId
* _arg1
;
8493 int _arg3
= (int ) -1;
8494 int _arg4
= (int ) -1;
8495 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8496 PyObject
* _argo0
= 0;
8497 PyObject
* _argo1
= 0;
8498 PyObject
* _obj2
= 0;
8499 PyObject
* _argo5
= 0;
8500 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8514 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8520 _arg2
= wxString_in_helper(_obj2
);
8525 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8526 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) return NULL
;
8537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8538 _resultobj
= Py_BuildValue("s",_ptemp
);
8546 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8547 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
* _resultobj
;
8549 wxPyTreeCtrl
* _arg0
;
8550 wxTreeItemId
* _arg1
;
8551 PyObject
* _argo0
= 0;
8552 PyObject
* _argo1
= 0;
8553 char *_kwnames
[] = { "self","item", NULL
};
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8566 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) return NULL
;
8577 } Py_INCREF(Py_None
);
8578 _resultobj
= Py_None
;
8582 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8583 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
* _resultobj
;
8585 wxPyTreeCtrl
* _arg0
;
8586 wxTreeItemId
* _arg1
;
8587 PyObject
* _argo0
= 0;
8588 PyObject
* _argo1
= 0;
8589 char *_kwnames
[] = { "self","item", NULL
};
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8602 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) return NULL
;
8613 } Py_INCREF(Py_None
);
8614 _resultobj
= Py_None
;
8618 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8619 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
* _resultobj
;
8621 wxPyTreeCtrl
* _arg0
;
8622 PyObject
* _argo0
= 0;
8623 char *_kwnames
[] = { "self", NULL
};
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 wxTreeCtrl_DeleteAllItems(_arg0
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) return NULL
;
8641 } Py_INCREF(Py_None
);
8642 _resultobj
= Py_None
;
8646 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8647 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
* _resultobj
;
8649 wxPyTreeCtrl
* _arg0
;
8650 wxTreeItemId
* _arg1
;
8651 PyObject
* _argo0
= 0;
8652 PyObject
* _argo1
= 0;
8653 char *_kwnames
[] = { "self","item", NULL
};
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8666 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) return NULL
;
8677 } Py_INCREF(Py_None
);
8678 _resultobj
= Py_None
;
8682 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8683 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
* _resultobj
;
8685 wxPyTreeCtrl
* _arg0
;
8686 wxTreeItemId
* _arg1
;
8687 PyObject
* _argo0
= 0;
8688 PyObject
* _argo1
= 0;
8689 char *_kwnames
[] = { "self","item", NULL
};
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8702 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) return NULL
;
8713 } Py_INCREF(Py_None
);
8714 _resultobj
= Py_None
;
8718 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8719 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
* _resultobj
;
8721 wxPyTreeCtrl
* _arg0
;
8722 wxTreeItemId
* _arg1
;
8723 PyObject
* _argo0
= 0;
8724 PyObject
* _argo1
= 0;
8725 char *_kwnames
[] = { "self","item", NULL
};
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8738 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) return NULL
;
8749 } Py_INCREF(Py_None
);
8750 _resultobj
= Py_None
;
8754 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8755 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
* _resultobj
;
8757 wxPyTreeCtrl
* _arg0
;
8758 wxTreeItemId
* _arg1
;
8759 PyObject
* _argo0
= 0;
8760 PyObject
* _argo1
= 0;
8761 char *_kwnames
[] = { "self","item", NULL
};
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8774 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) return NULL
;
8785 } Py_INCREF(Py_None
);
8786 _resultobj
= Py_None
;
8790 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8791 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8793 wxPyTreeCtrl
* _arg0
;
8794 PyObject
* _argo0
= 0;
8795 char *_kwnames
[] = { "self", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxTreeCtrl_Unselect(_arg0
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) return NULL
;
8813 } Py_INCREF(Py_None
);
8814 _resultobj
= Py_None
;
8818 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8819 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8821 wxPyTreeCtrl
* _arg0
;
8822 PyObject
* _argo0
= 0;
8823 char *_kwnames
[] = { "self", NULL
};
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 wxTreeCtrl_UnselectAll(_arg0
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) return NULL
;
8841 } Py_INCREF(Py_None
);
8842 _resultobj
= Py_None
;
8846 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8847 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
* _resultobj
;
8849 wxPyTreeCtrl
* _arg0
;
8850 wxTreeItemId
* _arg1
;
8851 PyObject
* _argo0
= 0;
8852 PyObject
* _argo1
= 0;
8853 char *_kwnames
[] = { "self","item", NULL
};
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8866 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) return NULL
;
8877 } Py_INCREF(Py_None
);
8878 _resultobj
= Py_None
;
8882 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8883 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
* _resultobj
;
8885 wxPyTreeCtrl
* _arg0
;
8886 wxTreeItemId
* _arg1
;
8887 PyObject
* _argo0
= 0;
8888 PyObject
* _argo1
= 0;
8889 char *_kwnames
[] = { "self","item", NULL
};
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8902 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) return NULL
;
8913 } Py_INCREF(Py_None
);
8914 _resultobj
= Py_None
;
8918 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8919 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
* _resultobj
;
8921 wxPyTreeCtrl
* _arg0
;
8922 wxTreeItemId
* _arg1
;
8923 PyObject
* _argo0
= 0;
8924 PyObject
* _argo1
= 0;
8925 char *_kwnames
[] = { "self","item", NULL
};
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8938 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) return NULL
;
8949 } Py_INCREF(Py_None
);
8950 _resultobj
= Py_None
;
8954 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
8955 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
* _resultobj
;
8957 wxTextCtrl
* _result
;
8958 wxPyTreeCtrl
* _arg0
;
8959 PyObject
* _argo0
= 0;
8960 char *_kwnames
[] = { "self", NULL
};
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
8966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) return NULL
;
8978 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8982 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8983 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8985 wxPyTreeCtrl
* _arg0
;
8986 wxTreeItemId
* _arg1
;
8987 PyObject
* _argo0
= 0;
8988 PyObject
* _argo1
= 0;
8989 char *_kwnames
[] = { "self","item", NULL
};
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9002 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) return NULL
;
9013 } Py_INCREF(Py_None
);
9014 _resultobj
= Py_None
;
9018 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9019 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9021 wxPyTreeCtrl
* _arg0
;
9022 wxTreeItemId
* _arg1
;
9023 int _arg2
= (int ) FALSE
;
9024 PyObject
* _argo0
= 0;
9025 PyObject
* _argo1
= 0;
9026 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9039 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) return NULL
;
9050 } Py_INCREF(Py_None
);
9051 _resultobj
= Py_None
;
9055 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9056 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
* _resultobj
;
9058 wxPyTreeCtrl
* _arg0
;
9059 wxTreeItemId
* _arg1
;
9060 PyObject
* _argo0
= 0;
9061 PyObject
* _argo1
= 0;
9062 char *_kwnames
[] = { "self","item", NULL
};
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9075 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) return NULL
;
9086 } Py_INCREF(Py_None
);
9087 _resultobj
= Py_None
;
9091 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9092 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9094 wxPyTreeCtrl
* _arg0
;
9095 wxTreeItemId
* _arg1
;
9096 int _arg2
= (int ) TRUE
;
9097 PyObject
* _argo0
= 0;
9098 PyObject
* _argo1
= 0;
9099 char *_kwnames
[] = { "self","item","bold", NULL
};
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9112 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) return NULL
;
9123 } Py_INCREF(Py_None
);
9124 _resultobj
= Py_None
;
9128 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9129 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
* _resultobj
;
9132 wxPyTreeCtrl
* _arg0
;
9133 wxTreeItemId
* _arg1
;
9134 PyObject
* _argo0
= 0;
9135 PyObject
* _argo1
= 0;
9136 char *_kwnames
[] = { "self","item", NULL
};
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9149 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) return NULL
;
9160 } _resultobj
= Py_BuildValue("i",_result
);
9164 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9165 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9167 wxTreeItemId
* _result
;
9168 wxPyTreeCtrl
* _arg0
;
9172 PyObject
* _argo0
= 0;
9174 PyObject
* _obj1
= 0;
9175 char *_kwnames
[] = { "self","point", NULL
};
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9193 if (! wxPoint_helper(_obj1
, &_arg1
))
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) return NULL
;
9202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9203 _resultobj
= Py_BuildValue("s",_ptemp
);
9206 o
= PyInt_FromLong((long) (*_arg2
));
9207 _resultobj
= t_output_helper(_resultobj
, o
);
9212 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9213 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9215 wxPyTreeCtrl
* _arg0
;
9216 wxTreeItemId
* _arg1
;
9218 PyObject
* _argo0
= 0;
9219 PyObject
* _argo1
= 0;
9221 PyObject
* _obj2
= 0;
9222 char *_kwnames
[] = { "self","item","col", NULL
};
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9235 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9242 if (! wxColour_helper(_obj2
, &_arg2
))
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) return NULL
;
9251 } Py_INCREF(Py_None
);
9252 _resultobj
= Py_None
;
9256 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9257 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
* _resultobj
;
9259 wxPyTreeCtrl
* _arg0
;
9260 wxTreeItemId
* _arg1
;
9262 PyObject
* _argo0
= 0;
9263 PyObject
* _argo1
= 0;
9265 PyObject
* _obj2
= 0;
9266 char *_kwnames
[] = { "self","item","col", NULL
};
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9279 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9286 if (! wxColour_helper(_obj2
, &_arg2
))
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) return NULL
;
9295 } Py_INCREF(Py_None
);
9296 _resultobj
= Py_None
;
9300 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9301 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
* _resultobj
;
9303 wxPyTreeCtrl
* _arg0
;
9304 wxTreeItemId
* _arg1
;
9306 PyObject
* _argo0
= 0;
9307 PyObject
* _argo1
= 0;
9308 PyObject
* _argo2
= 0;
9309 char *_kwnames
[] = { "self","item","font", NULL
};
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9322 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9328 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) return NULL
;
9339 } Py_INCREF(Py_None
);
9340 _resultobj
= Py_None
;
9344 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9345 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
* _resultobj
;
9347 wxPyTreeCtrl
* _arg0
;
9348 wxTreeItemId
* _arg1
;
9349 int _arg2
= (int ) TRUE
;
9350 PyObject
* _argo0
= 0;
9351 PyObject
* _argo1
= 0;
9352 char *_kwnames
[] = { "self","item","highlight", NULL
};
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9365 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) return NULL
;
9376 } Py_INCREF(Py_None
);
9377 _resultobj
= Py_None
;
9381 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9383 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9384 wxPyBeginBlockThreads();
9385 wxRect
* r
= new wxRect(rect
);
9386 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"));
9387 wxPyEndBlockThreads();
9395 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
* _resultobj
;
9398 wxPyTreeCtrl
* _arg0
;
9399 wxTreeItemId
* _arg1
;
9400 int _arg2
= (int ) FALSE
;
9401 PyObject
* _argo0
= 0;
9402 PyObject
* _argo1
= 0;
9403 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9416 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) return NULL
;
9428 _resultobj
= _result
;
9433 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9436 src
= (wxDirItemData
*) ptr
;
9437 dest
= (wxObject
*) src
;
9438 return (void *) dest
;
9441 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9442 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
* _resultobj
;
9444 wxDirItemData
* _result
;
9448 PyObject
* _obj0
= 0;
9449 PyObject
* _obj1
= 0;
9451 char *_kwnames
[] = { "path","name","isDir", NULL
};
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9458 _arg0
= wxString_in_helper(_obj0
);
9463 _arg1
= wxString_in_helper(_obj1
);
9467 _arg2
= (bool ) tempbool2
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) return NULL
;
9475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9476 _resultobj
= Py_BuildValue("s",_ptemp
);
9479 _resultobj
= Py_None
;
9492 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9493 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
* _resultobj
;
9495 wxDirItemData
* _arg0
;
9497 PyObject
* _argo0
= 0;
9498 PyObject
* _obj1
= 0;
9499 char *_kwnames
[] = { "self","path", NULL
};
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9512 _arg1
= wxString_in_helper(_obj1
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9522 } Py_INCREF(Py_None
);
9523 _resultobj
= Py_None
;
9531 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9532 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
* _resultobj
;
9535 wxDirItemData
* _arg0
;
9537 PyObject
* _argo0
= 0;
9538 PyObject
* _obj1
= 0;
9539 char *_kwnames
[] = { "self","m_path", NULL
};
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9552 _arg1
= wxString_in_helper(_obj1
);
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) return NULL
;
9564 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9576 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9577 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
* _resultobj
;
9580 wxDirItemData
* _arg0
;
9581 PyObject
* _argo0
= 0;
9582 char *_kwnames
[] = { "self", NULL
};
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) return NULL
;
9602 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9604 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9610 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9611 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
* _resultobj
;
9614 wxDirItemData
* _arg0
;
9616 PyObject
* _argo0
= 0;
9617 PyObject
* _obj1
= 0;
9618 char *_kwnames
[] = { "self","m_name", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9631 _arg1
= wxString_in_helper(_obj1
);
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) return NULL
;
9643 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9655 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9656 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9659 wxDirItemData
* _arg0
;
9660 PyObject
* _argo0
= 0;
9661 char *_kwnames
[] = { "self", NULL
};
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) return NULL
;
9681 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9683 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9689 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9690 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9693 wxDirItemData
* _arg0
;
9695 PyObject
* _argo0
= 0;
9697 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9709 _arg1
= (bool ) tempbool1
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) return NULL
;
9716 } _resultobj
= Py_BuildValue("i",_result
);
9720 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9721 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
* _resultobj
;
9724 wxDirItemData
* _arg0
;
9725 PyObject
* _argo0
= 0;
9726 char *_kwnames
[] = { "self", NULL
};
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) return NULL
;
9744 } _resultobj
= Py_BuildValue("i",_result
);
9748 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9749 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
* _resultobj
;
9752 wxDirItemData
* _arg0
;
9754 PyObject
* _argo0
= 0;
9756 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9768 _arg1
= (bool ) tempbool1
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) return NULL
;
9775 } _resultobj
= Py_BuildValue("i",_result
);
9779 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9780 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
* _resultobj
;
9783 wxDirItemData
* _arg0
;
9784 PyObject
* _argo0
= 0;
9785 char *_kwnames
[] = { "self", NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) return NULL
;
9803 } _resultobj
= Py_BuildValue("i",_result
);
9807 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9808 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
* _resultobj
;
9811 wxDirItemData
* _arg0
;
9813 PyObject
* _argo0
= 0;
9815 char *_kwnames
[] = { "self","m_isDir", NULL
};
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9827 _arg1
= (bool ) tempbool1
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) return NULL
;
9834 } _resultobj
= Py_BuildValue("i",_result
);
9838 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9839 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
* _resultobj
;
9842 wxDirItemData
* _arg0
;
9843 PyObject
* _argo0
= 0;
9844 char *_kwnames
[] = { "self", NULL
};
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) return NULL
;
9862 } _resultobj
= Py_BuildValue("i",_result
);
9866 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9867 wxGenericDirCtrl
*src
;
9869 src
= (wxGenericDirCtrl
*) ptr
;
9870 dest
= (wxControl
*) src
;
9871 return (void *) dest
;
9874 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9875 wxGenericDirCtrl
*src
;
9877 src
= (wxGenericDirCtrl
*) ptr
;
9878 dest
= (wxWindow
*) src
;
9879 return (void *) dest
;
9882 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9883 wxGenericDirCtrl
*src
;
9885 src
= (wxGenericDirCtrl
*) ptr
;
9886 dest
= (wxEvtHandler
*) src
;
9887 return (void *) dest
;
9890 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9891 wxGenericDirCtrl
*src
;
9893 src
= (wxGenericDirCtrl
*) ptr
;
9894 dest
= (wxObject
*) src
;
9895 return (void *) dest
;
9898 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9899 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
* _resultobj
;
9901 wxGenericDirCtrl
* _result
;
9903 wxWindowID _arg1
= (wxWindowID
) -1;
9904 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9905 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9906 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9907 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9908 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9909 int _arg7
= (int ) 0;
9910 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9911 PyObject
* _argo0
= 0;
9912 PyObject
* _obj2
= 0;
9914 PyObject
* _obj3
= 0;
9916 PyObject
* _obj4
= 0;
9917 PyObject
* _obj6
= 0;
9918 PyObject
* _obj8
= 0;
9919 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9934 _arg2
= wxString_in_helper(_obj2
);
9941 if (! wxPoint_helper(_obj3
, &_arg3
))
9947 if (! wxSize_helper(_obj4
, &_arg4
))
9952 _arg6
= wxString_in_helper(_obj6
);
9958 _arg8
= wxString_in_helper(_obj8
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) return NULL
;
9969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9970 _resultobj
= Py_BuildValue("s",_ptemp
);
9973 _resultobj
= Py_None
;
9990 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9991 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
* _resultobj
;
9993 wxGenericDirCtrl
* _result
;
9994 char *_kwnames
[] = { NULL
};
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) return NULL
;
10007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10008 _resultobj
= Py_BuildValue("s",_ptemp
);
10010 Py_INCREF(Py_None
);
10011 _resultobj
= Py_None
;
10016 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10017 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
* _resultobj
;
10020 wxGenericDirCtrl
* _arg0
;
10022 wxWindowID _arg2
= (wxWindowID
) -1;
10023 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
10024 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10025 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10026 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10027 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
10028 int _arg8
= (int ) 0;
10029 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
10030 PyObject
* _argo0
= 0;
10031 PyObject
* _argo1
= 0;
10032 PyObject
* _obj3
= 0;
10034 PyObject
* _obj4
= 0;
10036 PyObject
* _obj5
= 0;
10037 PyObject
* _obj7
= 0;
10038 PyObject
* _obj9
= 0;
10039 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
10045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10060 _arg3
= wxString_in_helper(_obj3
);
10067 if (! wxPoint_helper(_obj4
, &_arg4
))
10073 if (! wxSize_helper(_obj5
, &_arg5
))
10078 _arg7
= wxString_in_helper(_obj7
);
10084 _arg9
= wxString_in_helper(_obj9
);
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) return NULL
;
10094 } _resultobj
= Py_BuildValue("i",_result
);
10110 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10111 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
* _resultobj
;
10114 wxGenericDirCtrl
* _arg0
;
10116 PyObject
* _argo0
= 0;
10117 PyObject
* _obj1
= 0;
10118 char *_kwnames
[] = { "self","path", NULL
};
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10131 _arg1
= wxString_in_helper(_obj1
);
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) return NULL
;
10141 } _resultobj
= Py_BuildValue("i",_result
);
10149 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10150 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
* _resultobj
;
10152 wxString
* _result
;
10153 wxGenericDirCtrl
* _arg0
;
10154 PyObject
* _argo0
= 0;
10155 char *_kwnames
[] = { "self", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10175 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10177 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10186 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10187 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
* _resultobj
;
10189 wxGenericDirCtrl
* _arg0
;
10191 PyObject
* _argo0
= 0;
10192 PyObject
* _obj1
= 0;
10193 char *_kwnames
[] = { "self","path", NULL
};
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10206 _arg1
= wxString_in_helper(_obj1
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } Py_INCREF(Py_None
);
10217 _resultobj
= Py_None
;
10225 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10226 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
* _resultobj
;
10228 wxString
* _result
;
10229 wxGenericDirCtrl
* _arg0
;
10230 PyObject
* _argo0
= 0;
10231 char *_kwnames
[] = { "self", NULL
};
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) return NULL
;
10251 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10253 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10262 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10263 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
* _resultobj
;
10265 wxString
* _result
;
10266 wxGenericDirCtrl
* _arg0
;
10267 PyObject
* _argo0
= 0;
10268 char *_kwnames
[] = { "self", NULL
};
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) return NULL
;
10288 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10290 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10299 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10300 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
* _resultobj
;
10302 wxGenericDirCtrl
* _arg0
;
10304 PyObject
* _argo0
= 0;
10305 PyObject
* _obj1
= 0;
10306 char *_kwnames
[] = { "self","path", NULL
};
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10319 _arg1
= wxString_in_helper(_obj1
);
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) return NULL
;
10329 } Py_INCREF(Py_None
);
10330 _resultobj
= Py_None
;
10338 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10339 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
* _resultobj
;
10341 wxGenericDirCtrl
* _arg0
;
10343 PyObject
* _argo0
= 0;
10345 char *_kwnames
[] = { "self","show", NULL
};
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10357 _arg1
= (bool ) tempbool1
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) return NULL
;
10364 } Py_INCREF(Py_None
);
10365 _resultobj
= Py_None
;
10369 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10370 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
* _resultobj
;
10373 wxGenericDirCtrl
* _arg0
;
10374 PyObject
* _argo0
= 0;
10375 char *_kwnames
[] = { "self", NULL
};
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) return NULL
;
10393 } _resultobj
= Py_BuildValue("i",_result
);
10397 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10398 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
* _resultobj
;
10400 wxString
* _result
;
10401 wxGenericDirCtrl
* _arg0
;
10402 PyObject
* _argo0
= 0;
10403 char *_kwnames
[] = { "self", NULL
};
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) return NULL
;
10423 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10434 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10435 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
* _resultobj
;
10437 wxGenericDirCtrl
* _arg0
;
10439 PyObject
* _argo0
= 0;
10440 PyObject
* _obj1
= 0;
10441 char *_kwnames
[] = { "self","filter", NULL
};
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10454 _arg1
= wxString_in_helper(_obj1
);
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) return NULL
;
10464 } Py_INCREF(Py_None
);
10465 _resultobj
= Py_None
;
10473 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10474 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
* _resultobj
;
10477 wxGenericDirCtrl
* _arg0
;
10478 PyObject
* _argo0
= 0;
10479 char *_kwnames
[] = { "self", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) return NULL
;
10497 } _resultobj
= Py_BuildValue("i",_result
);
10501 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10502 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
* _resultobj
;
10504 wxGenericDirCtrl
* _arg0
;
10506 PyObject
* _argo0
= 0;
10507 char *_kwnames
[] = { "self","n", NULL
};
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) return NULL
;
10525 } Py_INCREF(Py_None
);
10526 _resultobj
= Py_None
;
10530 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10531 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
* _resultobj
;
10533 wxTreeItemId
* _result
;
10534 wxGenericDirCtrl
* _arg0
;
10535 PyObject
* _argo0
= 0;
10536 char *_kwnames
[] = { "self", NULL
};
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) return NULL
;
10555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10556 _resultobj
= Py_BuildValue("s",_ptemp
);
10560 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10561 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
* _resultobj
;
10563 wxTreeCtrl
* _result
;
10564 wxGenericDirCtrl
* _arg0
;
10565 PyObject
* _argo0
= 0;
10566 char *_kwnames
[] = { "self", NULL
};
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) return NULL
;
10584 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10588 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10589 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
* _resultobj
;
10591 wxDirFilterListCtrl
* _result
;
10592 wxGenericDirCtrl
* _arg0
;
10593 PyObject
* _argo0
= 0;
10594 char *_kwnames
[] = { "self", NULL
};
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) return NULL
;
10614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10615 _resultobj
= Py_BuildValue("s",_ptemp
);
10617 Py_INCREF(Py_None
);
10618 _resultobj
= Py_None
;
10623 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10624 wxDirFilterListCtrl
*src
;
10626 src
= (wxDirFilterListCtrl
*) ptr
;
10627 dest
= (wxChoice
*) src
;
10628 return (void *) dest
;
10631 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10632 wxDirFilterListCtrl
*src
;
10633 wxControlWithItems
*dest
;
10634 src
= (wxDirFilterListCtrl
*) ptr
;
10635 dest
= (wxControlWithItems
*) src
;
10636 return (void *) dest
;
10639 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10640 wxDirFilterListCtrl
*src
;
10642 src
= (wxDirFilterListCtrl
*) ptr
;
10643 dest
= (wxControl
*) src
;
10644 return (void *) dest
;
10647 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10648 wxDirFilterListCtrl
*src
;
10650 src
= (wxDirFilterListCtrl
*) ptr
;
10651 dest
= (wxWindow
*) src
;
10652 return (void *) dest
;
10655 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10656 wxDirFilterListCtrl
*src
;
10657 wxEvtHandler
*dest
;
10658 src
= (wxDirFilterListCtrl
*) ptr
;
10659 dest
= (wxEvtHandler
*) src
;
10660 return (void *) dest
;
10663 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10664 wxDirFilterListCtrl
*src
;
10666 src
= (wxDirFilterListCtrl
*) ptr
;
10667 dest
= (wxObject
*) src
;
10668 return (void *) dest
;
10671 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10672 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
* _resultobj
;
10674 wxDirFilterListCtrl
* _result
;
10675 wxGenericDirCtrl
* _arg0
;
10676 wxWindowID _arg1
= (wxWindowID
) -1;
10677 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10678 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10679 long _arg4
= (long ) 0;
10680 PyObject
* _argo0
= 0;
10682 PyObject
* _obj2
= 0;
10684 PyObject
* _obj3
= 0;
10685 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10701 if (! wxPoint_helper(_obj2
, &_arg2
))
10707 if (! wxSize_helper(_obj3
, &_arg3
))
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) return NULL
;
10717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10718 _resultobj
= Py_BuildValue("s",_ptemp
);
10720 Py_INCREF(Py_None
);
10721 _resultobj
= Py_None
;
10726 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10727 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10729 wxDirFilterListCtrl
* _result
;
10730 char *_kwnames
[] = { NULL
};
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) return NULL
;
10743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10744 _resultobj
= Py_BuildValue("s",_ptemp
);
10746 Py_INCREF(Py_None
);
10747 _resultobj
= Py_None
;
10752 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10753 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
* _resultobj
;
10756 wxDirFilterListCtrl
* _arg0
;
10757 wxGenericDirCtrl
* _arg1
;
10758 wxWindowID _arg2
= (wxWindowID
) -1;
10759 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10760 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10761 long _arg5
= (long ) 0;
10762 PyObject
* _argo0
= 0;
10763 PyObject
* _argo1
= 0;
10765 PyObject
* _obj3
= 0;
10767 PyObject
* _obj4
= 0;
10768 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10790 if (! wxPoint_helper(_obj3
, &_arg3
))
10796 if (! wxSize_helper(_obj4
, &_arg4
))
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) return NULL
;
10805 } _resultobj
= Py_BuildValue("i",_result
);
10809 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10810 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
* _resultobj
;
10812 wxDirFilterListCtrl
* _arg0
;
10815 PyObject
* _argo0
= 0;
10816 PyObject
* _obj1
= 0;
10817 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10830 _arg1
= wxString_in_helper(_obj1
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) return NULL
;
10840 } Py_INCREF(Py_None
);
10841 _resultobj
= Py_None
;
10849 static PyMethodDef controls2cMethods
[] = {
10850 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxTreeCtrl_GetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxTreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxTreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxTreeEvent_IsEditCancelled", (PyCFunction
) _wrap_wxTreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxTreeEvent_GetKeyCode", (PyCFunction
) _wrap_wxTreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxListCtrl_GetMainWindow", (PyCFunction
) _wrap_wxListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxListEvent_GetKeyCode", (PyCFunction
) _wrap_wxListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11151 * This table is used by the pointer type-checker
11153 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11154 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11155 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11156 { "_signed_long","_long",0},
11157 { "_wxPrintQuality","_wxCoord",0},
11158 { "_wxPrintQuality","_int",0},
11159 { "_wxPrintQuality","_signed_int",0},
11160 { "_wxPrintQuality","_unsigned_int",0},
11161 { "_wxPrintQuality","_wxWindowID",0},
11162 { "_wxPrintQuality","_uint",0},
11163 { "_wxPrintQuality","_EBool",0},
11164 { "_wxPrintQuality","_size_t",0},
11165 { "_wxPrintQuality","_time_t",0},
11166 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11167 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11168 { "_byte","_unsigned_char",0},
11169 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11170 { "_long","_unsigned_long",0},
11171 { "_long","_signed_long",0},
11172 { "_size_t","_wxCoord",0},
11173 { "_size_t","_wxPrintQuality",0},
11174 { "_size_t","_time_t",0},
11175 { "_size_t","_unsigned_int",0},
11176 { "_size_t","_int",0},
11177 { "_size_t","_wxWindowID",0},
11178 { "_size_t","_uint",0},
11179 { "_uint","_wxCoord",0},
11180 { "_uint","_wxPrintQuality",0},
11181 { "_uint","_time_t",0},
11182 { "_uint","_size_t",0},
11183 { "_uint","_unsigned_int",0},
11184 { "_uint","_int",0},
11185 { "_uint","_wxWindowID",0},
11186 { "_wxChar","_char",0},
11187 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11188 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11189 { "_char","_wxChar",0},
11190 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11191 { "_EBool","_wxCoord",0},
11192 { "_EBool","_wxPrintQuality",0},
11193 { "_EBool","_signed_int",0},
11194 { "_EBool","_int",0},
11195 { "_EBool","_wxWindowID",0},
11196 { "_unsigned_long","_long",0},
11197 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11198 { "_signed_int","_wxCoord",0},
11199 { "_signed_int","_wxPrintQuality",0},
11200 { "_signed_int","_EBool",0},
11201 { "_signed_int","_wxWindowID",0},
11202 { "_signed_int","_int",0},
11203 { "_WXTYPE","_short",0},
11204 { "_WXTYPE","_signed_short",0},
11205 { "_WXTYPE","_unsigned_short",0},
11206 { "_unsigned_short","_WXTYPE",0},
11207 { "_unsigned_short","_short",0},
11208 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11209 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11210 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11211 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11212 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11213 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11214 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11215 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11216 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11217 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11218 { "_signed_short","_WXTYPE",0},
11219 { "_signed_short","_short",0},
11220 { "_unsigned_char","_byte",0},
11221 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11222 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11223 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11224 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11225 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11226 { "_unsigned_int","_wxCoord",0},
11227 { "_unsigned_int","_wxPrintQuality",0},
11228 { "_unsigned_int","_time_t",0},
11229 { "_unsigned_int","_size_t",0},
11230 { "_unsigned_int","_uint",0},
11231 { "_unsigned_int","_wxWindowID",0},
11232 { "_unsigned_int","_int",0},
11233 { "_short","_WXTYPE",0},
11234 { "_short","_unsigned_short",0},
11235 { "_short","_signed_short",0},
11236 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11237 { "_wxWindowID","_wxCoord",0},
11238 { "_wxWindowID","_wxPrintQuality",0},
11239 { "_wxWindowID","_time_t",0},
11240 { "_wxWindowID","_size_t",0},
11241 { "_wxWindowID","_EBool",0},
11242 { "_wxWindowID","_uint",0},
11243 { "_wxWindowID","_int",0},
11244 { "_wxWindowID","_signed_int",0},
11245 { "_wxWindowID","_unsigned_int",0},
11246 { "_int","_wxCoord",0},
11247 { "_int","_wxPrintQuality",0},
11248 { "_int","_time_t",0},
11249 { "_int","_size_t",0},
11250 { "_int","_EBool",0},
11251 { "_int","_uint",0},
11252 { "_int","_wxWindowID",0},
11253 { "_int","_unsigned_int",0},
11254 { "_int","_signed_int",0},
11255 { "_time_t","_wxCoord",0},
11256 { "_time_t","_wxPrintQuality",0},
11257 { "_time_t","_unsigned_int",0},
11258 { "_time_t","_int",0},
11259 { "_time_t","_wxWindowID",0},
11260 { "_time_t","_uint",0},
11261 { "_time_t","_size_t",0},
11262 { "_wxCoord","_int",0},
11263 { "_wxCoord","_signed_int",0},
11264 { "_wxCoord","_unsigned_int",0},
11265 { "_wxCoord","_wxWindowID",0},
11266 { "_wxCoord","_uint",0},
11267 { "_wxCoord","_EBool",0},
11268 { "_wxCoord","_size_t",0},
11269 { "_wxCoord","_time_t",0},
11270 { "_wxCoord","_wxPrintQuality",0},
11271 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11272 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11273 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11274 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11275 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11276 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11277 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11278 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11279 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11280 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11281 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11284 static PyObject
*SWIG_globals
;
11288 SWIGEXPORT(void) initcontrols2c() {
11290 SWIG_globals
= SWIG_newvarlink();
11291 m
= Py_InitModule("controls2c", controls2cMethods
);
11292 d
= PyModule_GetDict(m
);
11293 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11294 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11295 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11296 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11297 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11298 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11299 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11300 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11301 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11302 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11303 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11304 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11305 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11306 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11307 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11308 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11309 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11310 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11311 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11312 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11313 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11314 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11315 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11316 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11317 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11318 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11319 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11320 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11321 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11322 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11323 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11324 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11325 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11326 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11327 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11328 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11329 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11330 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11331 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11332 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11333 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11334 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11335 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11336 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11337 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11338 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11339 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11340 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11341 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11342 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11343 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11344 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11345 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11346 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11347 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11348 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11349 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11350 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11351 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11352 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11353 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11354 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11355 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11356 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11357 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11358 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11359 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11360 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11361 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11362 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11363 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11364 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11365 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11366 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11367 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11368 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11369 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11370 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11371 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11372 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11373 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11374 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11375 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11376 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11377 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11378 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11379 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11380 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11381 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11382 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11383 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11384 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11385 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11386 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11387 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11388 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11389 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11390 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11391 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11392 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11393 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11394 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11395 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11396 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11397 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11398 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11399 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11400 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11401 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11402 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11403 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11404 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11405 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11406 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11407 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11408 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11409 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11410 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11411 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11412 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11413 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11414 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11415 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11416 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11417 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11418 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11419 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11420 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11421 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11422 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11423 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11424 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11425 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11426 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11427 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11428 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11429 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11430 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11431 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11432 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11433 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11434 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11435 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11436 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11437 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11438 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11440 // Map renamed classes back to their common name for OOR
11441 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11442 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11443 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11446 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11447 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);