2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
65 #include <wx/dirctrl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // Put some wx default wxChar* values into wxStrings.
95 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
96 DECLARE_DEF_STRING(ListCtrlNameStr
);
98 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
99 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
100 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
102 static const wxString
wxPyEmptyString(wxT(""));
103 // C++ Version of a Python aware class
104 class wxPyListCtrl
: public wxListCtrl
{
105 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
107 wxPyListCtrl() : wxListCtrl() {}
108 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
112 const wxValidator
& validator
,
113 const wxString
& name
) :
114 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
116 bool Create(wxWindow
* parent
, wxWindowID id
,
120 const wxValidator
& validator
,
121 const wxString
& name
) {
122 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
125 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
126 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
127 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
132 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
134 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
135 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
136 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
137 // Python aware sorting function for wxPyListCtrl
138 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
140 PyObject
* func
= (PyObject
*)funcPtr
;
141 wxPyBeginBlockThreads();
143 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
144 PyObject
* result
= PyEval_CallObject(func
, args
);
147 retval
= PyInt_AsLong(result
);
151 wxPyEndBlockThreads();
156 class wxPyTreeItemData
: public wxTreeItemData
{
158 wxPyTreeItemData(PyObject
* obj
= NULL
) {
165 ~wxPyTreeItemData() {
166 wxPyBeginBlockThreads();
168 wxPyEndBlockThreads();
171 PyObject
* GetData() {
176 void SetData(PyObject
* obj
) {
177 wxPyBeginBlockThreads();
179 wxPyEndBlockThreads();
186 // C++ version of Python aware wxTreeCtrl
187 class wxPyTreeCtrl
: public wxTreeCtrl
{
188 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
190 wxPyTreeCtrl() : wxTreeCtrl() {}
191 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
195 const wxValidator
& validator
,
196 const wxString
& name
) :
197 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
199 bool Create(wxWindow
*parent
, wxWindowID id
,
203 const wxValidator
& validator
,
204 const wxString
& name
) {
205 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
209 int OnCompareItems(const wxTreeItemId
& item1
,
210 const wxTreeItemId
& item2
) {
213 wxPyBeginBlockThreads();
214 if ((found
= m_myInst
.findCallback("OnCompareItems")))
215 rval
= m_myInst
.callCallback(Py_BuildValue(
217 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
218 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
219 wxPyEndBlockThreads();
221 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
227 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
232 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
233 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
235 wxListItemAttr
* _result
;
236 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
237 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
238 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
240 PyObject
* _obj0
= 0;
242 PyObject
* _obj1
= 0;
243 PyObject
* _argo2
= 0;
244 char *_kwnames
[] = { "colText","colBack","font", NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
253 if (! wxColour_helper(_obj0
, &_arg0
))
259 if (! wxColour_helper(_obj1
, &_arg1
))
263 if (_argo2
== Py_None
) { _arg2
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
271 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
273 wxPyEndAllowThreads(__tstate
);
274 if (PyErr_Occurred()) return NULL
;
276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
277 _resultobj
= Py_BuildValue("s",_ptemp
);
280 _resultobj
= Py_None
;
285 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
286 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxListItemAttr
* _arg0
;
290 PyObject
* _argo0
= 0;
292 PyObject
* _obj1
= 0;
293 char *_kwnames
[] = { "self","colText", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
307 if (! wxColour_helper(_obj1
, &_arg1
))
311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
322 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxListItemAttr
* _arg0
;
326 PyObject
* _argo0
= 0;
328 PyObject
* _obj1
= 0;
329 char *_kwnames
[] = { "self","colBack", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
343 if (! wxColour_helper(_obj1
, &_arg1
))
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
352 } Py_INCREF(Py_None
);
353 _resultobj
= Py_None
;
357 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
358 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxListItemAttr
* _arg0
;
362 PyObject
* _argo0
= 0;
363 PyObject
* _argo1
= 0;
364 char *_kwnames
[] = { "self","font", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 wxListItemAttr_SetFont(_arg0
,*_arg1
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
389 } Py_INCREF(Py_None
);
390 _resultobj
= Py_None
;
394 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
395 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxListItemAttr
* _arg0
;
399 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
418 } _resultobj
= Py_BuildValue("i",_result
);
422 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
423 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxListItemAttr
* _arg0
;
427 PyObject
* _argo0
= 0;
428 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
442 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
444 wxPyEndAllowThreads(__tstate
);
445 if (PyErr_Occurred()) return NULL
;
446 } _resultobj
= Py_BuildValue("i",_result
);
450 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
451 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxListItemAttr
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
470 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
472 wxPyEndAllowThreads(__tstate
);
473 if (PyErr_Occurred()) return NULL
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
479 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
482 wxListItemAttr
* _arg0
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
499 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
501 wxPyEndAllowThreads(__tstate
);
502 if (PyErr_Occurred()) return NULL
;
503 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
504 _resultobj
= Py_BuildValue("s",_ptemp
);
508 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
509 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 wxListItemAttr
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
534 _resultobj
= Py_BuildValue("s",_ptemp
);
538 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
539 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
542 wxListItemAttr
* _arg0
;
543 PyObject
* _argo0
= 0;
544 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
559 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
563 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
564 _resultobj
= Py_BuildValue("s",_ptemp
);
568 static void *SwigwxListItemTowxObject(void *ptr
) {
571 src
= (wxListItem
*) ptr
;
572 dest
= (wxObject
*) src
;
573 return (void *) dest
;
576 #define new_wxListItem() (new wxListItem())
577 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
579 wxListItem
* _result
;
580 char *_kwnames
[] = { NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
588 _result
= (wxListItem
*)new_wxListItem();
590 wxPyEndAllowThreads(__tstate
);
591 if (PyErr_Occurred()) return NULL
;
593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
597 _resultobj
= Py_None
;
602 #define delete_wxListItem(_swigobj) (delete _swigobj)
603 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 delete_wxListItem(_arg0
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
631 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 wxListItem_Clear(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } Py_INCREF(Py_None
);
654 _resultobj
= Py_None
;
658 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
659 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 wxListItem_ClearAttributes(_arg0
);
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) return NULL
;
681 } Py_INCREF(Py_None
);
682 _resultobj
= Py_None
;
686 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
687 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
691 PyObject
* _argo0
= 0;
692 char *_kwnames
[] = { "self","mask", NULL
};
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 wxListItem_SetMask(_arg0
,_arg1
);
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
715 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
716 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self","id", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 wxListItem_SetId(_arg0
,_arg1
);
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
744 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
745 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self","col", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 wxListItem_SetColumn(_arg0
,_arg1
);
766 wxPyEndAllowThreads(__tstate
);
767 if (PyErr_Occurred()) return NULL
;
768 } Py_INCREF(Py_None
);
769 _resultobj
= Py_None
;
773 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
774 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self","state", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 wxListItem_SetState(_arg0
,_arg1
);
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
797 } Py_INCREF(Py_None
);
798 _resultobj
= Py_None
;
802 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
803 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self","stateMask", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 wxListItem_SetStateMask(_arg0
,_arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
831 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
832 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _obj1
= 0;
838 char *_kwnames
[] = { "self","text", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
851 _arg1
= wxString_in_helper(_obj1
);
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 wxListItem_SetText(_arg0
,*_arg1
);
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) return NULL
;
861 } Py_INCREF(Py_None
);
862 _resultobj
= Py_None
;
870 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
871 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self","image", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
890 wxListItem_SetImage(_arg0
,_arg1
);
892 wxPyEndAllowThreads(__tstate
);
893 if (PyErr_Occurred()) return NULL
;
894 } Py_INCREF(Py_None
);
895 _resultobj
= Py_None
;
899 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
900 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
904 PyObject
* _argo0
= 0;
905 char *_kwnames
[] = { "self","data", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 wxListItem_SetData(_arg0
,_arg1
);
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) return NULL
;
923 } Py_INCREF(Py_None
);
924 _resultobj
= Py_None
;
928 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
929 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
933 PyObject
* _argo0
= 0;
934 char *_kwnames
[] = { "self","width", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
948 wxListItem_SetWidth(_arg0
,_arg1
);
950 wxPyEndAllowThreads(__tstate
);
951 if (PyErr_Occurred()) return NULL
;
952 } Py_INCREF(Py_None
);
953 _resultobj
= Py_None
;
957 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
958 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 wxListColumnFormat _arg1
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self","align", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxListItem_SetAlign(_arg0
,_arg1
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
987 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
991 PyObject
* _argo0
= 0;
993 PyObject
* _obj1
= 0;
994 char *_kwnames
[] = { "self","colText", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1008 if (! wxColour_helper(_obj1
, &_arg1
))
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 wxListItem_SetTextColour(_arg0
,*_arg1
);
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) return NULL
;
1017 } Py_INCREF(Py_None
);
1018 _resultobj
= Py_None
;
1022 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1023 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1027 PyObject
* _argo0
= 0;
1029 PyObject
* _obj1
= 0;
1030 char *_kwnames
[] = { "self","colBack", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1044 if (! wxColour_helper(_obj1
, &_arg1
))
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1051 wxPyEndAllowThreads(__tstate
);
1052 if (PyErr_Occurred()) return NULL
;
1053 } Py_INCREF(Py_None
);
1054 _resultobj
= Py_None
;
1058 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1059 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 PyObject
* _argo0
= 0;
1064 PyObject
* _argo1
= 0;
1065 char *_kwnames
[] = { "self","font", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1086 wxListItem_SetFont(_arg0
,*_arg1
);
1088 wxPyEndAllowThreads(__tstate
);
1089 if (PyErr_Occurred()) return NULL
;
1090 } Py_INCREF(Py_None
);
1091 _resultobj
= Py_None
;
1095 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1096 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (long )wxListItem_GetMask(_arg0
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("l",_result
);
1123 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1124 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 _result
= (long )wxListItem_GetId(_arg0
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } _resultobj
= Py_BuildValue("l",_result
);
1151 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1152 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 _result
= (int )wxListItem_GetColumn(_arg0
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } _resultobj
= Py_BuildValue("i",_result
);
1179 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1180 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= (long )wxListItem_GetState(_arg0
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1208 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1212 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1228 _result
= (wxString
*) &_result_ref
;
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1234 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1236 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1242 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1243 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= (int )wxListItem_GetImage(_arg0
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1271 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 _result
= (long )wxListItem_GetData(_arg0
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } _resultobj
= Py_BuildValue("l",_result
);
1298 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1299 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 _result
= (int )wxListItem_GetWidth(_arg0
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1327 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxListColumnFormat _result
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1355 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxListItemAttr
* _result
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) return NULL
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1390 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1418 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) return NULL
;
1442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1448 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) return NULL
;
1472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1477 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1478 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1508 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","m_mask", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1532 } _resultobj
= Py_BuildValue("l",_result
);
1536 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1537 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (long )wxListItem_m_mask_get(_arg0
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("l",_result
);
1564 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1565 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1570 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self","m_itemId", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) return NULL
;
1589 } _resultobj
= Py_BuildValue("l",_result
);
1593 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1594 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1617 } _resultobj
= Py_BuildValue("l",_result
);
1621 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1622 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","m_col", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1651 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 _result
= (int )wxListItem_m_col_get(_arg0
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("i",_result
);
1678 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1679 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self","m_state", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } _resultobj
= Py_BuildValue("l",_result
);
1707 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1708 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (long )wxListItem_m_state_get(_arg0
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("l",_result
);
1735 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1736 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("l",_result
);
1764 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1765 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("l",_result
);
1792 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1793 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1798 PyObject
* _argo0
= 0;
1799 PyObject
* _obj1
= 0;
1800 char *_kwnames
[] = { "self","m_text", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1813 _arg1
= wxString_in_helper(_obj1
);
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1825 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1837 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1838 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) return NULL
;
1863 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1865 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1871 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1872 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self","m_image", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1901 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (int )wxListItem_m_image_get(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } _resultobj
= Py_BuildValue("i",_result
);
1928 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1929 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1934 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self","m_data", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } _resultobj
= Py_BuildValue("l",_result
);
1957 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1958 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 _result
= (long )wxListItem_m_data_get(_arg0
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } _resultobj
= Py_BuildValue("l",_result
);
1985 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1986 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self","m_format", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } _resultobj
= Py_BuildValue("i",_result
);
2014 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2015 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 _result
= (int )wxListItem_m_format_get(_arg0
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2043 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self","m_width", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2072 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 _result
= (int )wxListItem_m_width_get(_arg0
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2099 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2101 wxNotifyEvent
*dest
;
2102 src
= (wxListEvent
*) ptr
;
2103 dest
= (wxNotifyEvent
*) src
;
2104 return (void *) dest
;
2107 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2109 wxCommandEvent
*dest
;
2110 src
= (wxListEvent
*) ptr
;
2111 dest
= (wxCommandEvent
*) src
;
2112 return (void *) dest
;
2115 static void *SwigwxListEventTowxEvent(void *ptr
) {
2118 src
= (wxListEvent
*) ptr
;
2119 dest
= (wxEvent
*) src
;
2120 return (void *) dest
;
2123 static void *SwigwxListEventTowxObject(void *ptr
) {
2126 src
= (wxListEvent
*) ptr
;
2127 dest
= (wxObject
*) src
;
2128 return (void *) dest
;
2131 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2132 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxListEvent
* _result
;
2135 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2136 int _arg1
= (int ) 0;
2137 char *_kwnames
[] = { "commandType","id", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2151 _resultobj
= Py_BuildValue("s",_ptemp
);
2154 _resultobj
= Py_None
;
2159 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2160 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 wxListEvent
* _arg0
;
2165 PyObject
* _argo0
= 0;
2166 char *_kwnames
[] = { "self","m_code", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2184 } _resultobj
= Py_BuildValue("i",_result
);
2188 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2189 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2192 wxListEvent
* _arg0
;
2193 PyObject
* _argo0
= 0;
2194 char *_kwnames
[] = { "self", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= (int )wxListEvent_m_code_get(_arg0
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } _resultobj
= Py_BuildValue("i",_result
);
2216 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2217 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2220 wxListEvent
* _arg0
;
2222 PyObject
* _argo0
= 0;
2223 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) return NULL
;
2241 } _resultobj
= Py_BuildValue("l",_result
);
2245 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2246 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
* _resultobj
;
2249 wxListEvent
* _arg0
;
2250 PyObject
* _argo0
= 0;
2251 char *_kwnames
[] = { "self", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) return NULL
;
2269 } _resultobj
= Py_BuildValue("l",_result
);
2273 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2274 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2277 wxListEvent
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2298 } _resultobj
= Py_BuildValue("l",_result
);
2302 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2303 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2306 wxListEvent
* _arg0
;
2307 PyObject
* _argo0
= 0;
2308 char *_kwnames
[] = { "self", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } _resultobj
= Py_BuildValue("l",_result
);
2330 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2331 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2334 wxListEvent
* _arg0
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","m_col", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } _resultobj
= Py_BuildValue("i",_result
);
2359 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2360 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2363 wxListEvent
* _arg0
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 _result
= (int )wxListEvent_m_col_get(_arg0
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } _resultobj
= Py_BuildValue("i",_result
);
2387 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2388 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2391 wxListEvent
* _arg0
;
2393 PyObject
* _argo0
= 0;
2395 PyObject
* _obj1
= 0;
2396 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2411 if (! wxPoint_helper(_obj1
, &_arg1
))
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) return NULL
;
2421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2422 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 _resultobj
= Py_None
;
2430 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2431 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2434 wxListEvent
* _arg0
;
2435 PyObject
* _argo0
= 0;
2436 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2457 _resultobj
= Py_BuildValue("s",_ptemp
);
2460 _resultobj
= Py_None
;
2465 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2466 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2468 wxListItem
* _result
;
2469 wxListEvent
* _arg0
;
2471 PyObject
* _argo0
= 0;
2472 PyObject
* _argo1
= 0;
2473 char *_kwnames
[] = { "self","m_item", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2502 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2503 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2505 wxListItem
* _result
;
2506 wxListEvent
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2530 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2531 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2534 wxListEvent
* _arg0
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 _result
= (int )wxListEvent_GetCode(_arg0
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) return NULL
;
2554 } _resultobj
= Py_BuildValue("i",_result
);
2558 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2559 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2562 wxListEvent
* _arg0
;
2563 PyObject
* _argo0
= 0;
2564 char *_kwnames
[] = { "self", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 _result
= (long )wxListEvent_GetIndex(_arg0
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) return NULL
;
2582 } _resultobj
= Py_BuildValue("l",_result
);
2586 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2587 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2590 wxListEvent
* _arg0
;
2591 PyObject
* _argo0
= 0;
2592 char *_kwnames
[] = { "self", NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 _result
= (int )wxListEvent_GetColumn(_arg0
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) return NULL
;
2610 } _resultobj
= Py_BuildValue("i",_result
);
2614 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2615 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2618 wxListEvent
* _arg0
;
2619 PyObject
* _argo0
= 0;
2620 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) return NULL
;
2639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2640 _resultobj
= Py_BuildValue("s",_ptemp
);
2644 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2645 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxListEvent
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2665 _result
= (wxString
*) &_result_ref
;
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2671 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2673 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2679 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2680 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2683 wxListEvent
* _arg0
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2700 _result
= (wxString
*) &_result_ref
;
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2706 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2708 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2714 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2715 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2718 wxListEvent
* _arg0
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 _result
= (int )wxListEvent_GetImage(_arg0
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) return NULL
;
2738 } _resultobj
= Py_BuildValue("i",_result
);
2742 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2743 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2746 wxListEvent
* _arg0
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 _result
= (long )wxListEvent_GetData(_arg0
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) return NULL
;
2766 } _resultobj
= Py_BuildValue("l",_result
);
2770 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2771 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2774 wxListEvent
* _arg0
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 _result
= (long )wxListEvent_GetMask(_arg0
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) return NULL
;
2794 } _resultobj
= Py_BuildValue("l",_result
);
2798 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2799 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxListItem
* _result
;
2802 wxListEvent
* _arg0
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2819 _result
= (wxListItem
*) &_result_ref
;
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) return NULL
;
2823 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2827 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2828 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2831 wxListEvent
* _arg0
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) return NULL
;
2851 } _resultobj
= Py_BuildValue("l",_result
);
2855 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2856 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2859 wxListEvent
* _arg0
;
2860 PyObject
* _argo0
= 0;
2861 char *_kwnames
[] = { "self", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) return NULL
;
2879 } _resultobj
= Py_BuildValue("l",_result
);
2883 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2886 src
= (wxPyListCtrl
*) ptr
;
2887 dest
= (wxControl
*) src
;
2888 return (void *) dest
;
2891 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2894 src
= (wxPyListCtrl
*) ptr
;
2895 dest
= (wxWindow
*) src
;
2896 return (void *) dest
;
2899 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2902 src
= (wxPyListCtrl
*) ptr
;
2903 dest
= (wxEvtHandler
*) src
;
2904 return (void *) dest
;
2907 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2910 src
= (wxPyListCtrl
*) ptr
;
2911 dest
= (wxObject
*) src
;
2912 return (void *) dest
;
2915 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2916 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2918 wxPyListCtrl
* _result
;
2920 wxWindowID _arg1
= (wxWindowID
) -1;
2921 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2922 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2923 long _arg4
= (long ) (wxLC_ICON
);
2924 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2925 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
2926 PyObject
* _argo0
= 0;
2928 PyObject
* _obj2
= 0;
2930 PyObject
* _obj3
= 0;
2931 PyObject
* _argo5
= 0;
2932 PyObject
* _obj6
= 0;
2933 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2949 if (! wxPoint_helper(_obj2
, &_arg2
))
2955 if (! wxSize_helper(_obj3
, &_arg3
))
2959 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2967 _arg6
= wxString_in_helper(_obj6
);
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2979 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 _resultobj
= Py_None
;
2991 #define new_wxPreListCtrl() (new wxPyListCtrl())
2992 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxPyListCtrl
* _result
;
2995 char *_kwnames
[] = { NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) return NULL
;
3008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3009 _resultobj
= Py_BuildValue("s",_ptemp
);
3012 _resultobj
= Py_None
;
3017 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3018 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxPyListCtrl
* _arg0
;
3023 wxWindowID _arg2
= (wxWindowID
) -1;
3024 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3025 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3026 long _arg5
= (long ) (wxLC_ICON
);
3027 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3028 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
3029 PyObject
* _argo0
= 0;
3030 PyObject
* _argo1
= 0;
3032 PyObject
* _obj3
= 0;
3034 PyObject
* _obj4
= 0;
3035 PyObject
* _argo6
= 0;
3036 PyObject
* _obj7
= 0;
3037 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3059 if (! wxPoint_helper(_obj3
, &_arg3
))
3065 if (! wxSize_helper(_obj4
, &_arg4
))
3069 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3077 _arg7
= wxString_in_helper(_obj7
);
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) return NULL
;
3087 } _resultobj
= Py_BuildValue("i",_result
);
3095 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3096 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3098 wxPyListCtrl
* _arg0
;
3101 PyObject
* _argo0
= 0;
3102 PyObject
* _obj1
= 0;
3103 PyObject
* _obj2
= 0;
3104 char *_kwnames
[] = { "self","self","_class", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) return NULL
;
3128 } Py_INCREF(Py_None
);
3129 _resultobj
= Py_None
;
3133 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3134 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3137 wxPyListCtrl
* _arg0
;
3139 PyObject
* _argo0
= 0;
3141 PyObject
* _obj1
= 0;
3142 char *_kwnames
[] = { "self","col", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3156 if (! wxColour_helper(_obj1
, &_arg1
))
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } _resultobj
= Py_BuildValue("i",_result
);
3169 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3170 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3173 wxPyListCtrl
* _arg0
;
3175 PyObject
* _argo0
= 0;
3177 PyObject
* _obj1
= 0;
3178 char *_kwnames
[] = { "self","col", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3192 if (! wxColour_helper(_obj1
, &_arg1
))
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } _resultobj
= Py_BuildValue("i",_result
);
3205 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3207 if (self
->GetColumn(col
, item
))
3208 return new wxListItem(item
);
3212 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxListItem
* _result
;
3215 wxPyListCtrl
* _arg0
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self","col", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3236 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3240 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3241 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3244 wxPyListCtrl
* _arg0
;
3247 PyObject
* _argo0
= 0;
3248 PyObject
* _argo2
= 0;
3249 char *_kwnames
[] = { "self","col","item", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3262 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3279 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 wxPyListCtrl
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self","col", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) return NULL
;
3303 } _resultobj
= Py_BuildValue("i",_result
);
3307 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3311 wxPyListCtrl
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self","col","width", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) return NULL
;
3333 } _resultobj
= Py_BuildValue("i",_result
);
3337 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3338 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3341 wxPyListCtrl
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self", NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } _resultobj
= Py_BuildValue("i",_result
);
3365 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3366 wxListItem
* info
= new wxListItem
;
3367 info
->m_itemId
= itemId
;
3369 info
->m_mask
= 0xFFFF;
3370 self
->GetItem(*info
);
3373 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3375 wxListItem
* _result
;
3376 wxPyListCtrl
* _arg0
;
3378 int _arg2
= (int ) 0;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "self","itemId","col", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetItem. Expected _wxPyListCtrl_p.");
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) return NULL
;
3398 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3402 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3403 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3406 wxPyListCtrl
* _arg0
;
3408 PyObject
* _argo0
= 0;
3409 PyObject
* _argo1
= 0;
3410 char *_kwnames
[] = { "self","info", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3435 } _resultobj
= Py_BuildValue("i",_result
);
3439 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3440 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3443 wxPyListCtrl
* _arg0
;
3447 int _arg4
= (int ) -1;
3448 PyObject
* _argo0
= 0;
3449 PyObject
* _obj3
= 0;
3450 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3463 _arg3
= wxString_in_helper(_obj3
);
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) return NULL
;
3473 } _resultobj
= Py_BuildValue("l",_result
);
3481 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3482 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3485 wxPyListCtrl
* _arg0
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3511 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3512 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3515 wxPyListCtrl
* _arg0
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) return NULL
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3543 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxPyListCtrl
* _arg0
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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_SetItemImage. Expected _wxPyListCtrl_p.");
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) return NULL
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3574 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3577 wxPyListCtrl
* _arg0
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self","item", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3600 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3602 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3611 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3612 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
* _resultobj
;
3614 wxPyListCtrl
* _arg0
;
3617 PyObject
* _argo0
= 0;
3618 PyObject
* _obj2
= 0;
3619 char *_kwnames
[] = { "self","item","str", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3632 _arg2
= wxString_in_helper(_obj2
);
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3642 } Py_INCREF(Py_None
);
3643 _resultobj
= Py_None
;
3651 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3652 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3655 wxPyListCtrl
* _arg0
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self","item", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) return NULL
;
3676 } _resultobj
= Py_BuildValue("l",_result
);
3680 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3681 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
* _resultobj
;
3684 wxPyListCtrl
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self","item","data", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) return NULL
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3711 wxPoint
* pos
= new wxPoint
;
3712 self
->GetItemPosition(item
, *pos
);
3715 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3718 wxPyListCtrl
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","item", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) return NULL
;
3741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3742 _resultobj
= Py_BuildValue("s",_ptemp
);
3745 _resultobj
= Py_None
;
3750 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3751 wxRect
* rect
= new wxRect
;
3752 self
->GetItemRect(item
, *rect
, code
);
3755 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3758 wxPyListCtrl
* _arg0
;
3760 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3761 PyObject
* _argo0
= 0;
3762 char *_kwnames
[] = { "self","item","code", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) return NULL
;
3782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3783 _resultobj
= Py_BuildValue("s",_ptemp
);
3786 _resultobj
= Py_None
;
3791 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3792 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3795 wxPyListCtrl
* _arg0
;
3798 PyObject
* _argo0
= 0;
3800 PyObject
* _obj2
= 0;
3801 char *_kwnames
[] = { "self","item","pos", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3815 if (! wxPoint_helper(_obj2
, &_arg2
))
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } _resultobj
= Py_BuildValue("i",_result
);
3828 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3829 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3832 wxPyListCtrl
* _arg0
;
3833 PyObject
* _argo0
= 0;
3834 char *_kwnames
[] = { "self", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 } _resultobj
= Py_BuildValue("i",_result
);
3856 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3857 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3860 wxPyListCtrl
* _arg0
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3885 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3888 wxPyListCtrl
* _arg0
;
3890 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self","isSmall", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3904 _arg1
= (bool ) tempbool1
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3915 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3916 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxPyListCtrl
* _arg0
;
3920 PyObject
* _argo0
= 0;
3921 char *_kwnames
[] = { "self", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3944 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3947 wxPyListCtrl
* _arg0
;
3948 PyObject
* _argo0
= 0;
3949 char *_kwnames
[] = { "self", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) return NULL
;
3968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3969 _resultobj
= Py_BuildValue("s",_ptemp
);
3973 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3974 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3976 wxPyListCtrl
* _arg0
;
3978 PyObject
* _argo0
= 0;
3980 PyObject
* _obj1
= 0;
3981 char *_kwnames
[] = { "self","col", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3995 if (! wxColour_helper(_obj1
, &_arg1
))
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } Py_INCREF(Py_None
);
4005 _resultobj
= Py_None
;
4009 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4010 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4013 wxPyListCtrl
* _arg0
;
4014 PyObject
* _argo0
= 0;
4015 char *_kwnames
[] = { "self", NULL
};
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) return NULL
;
4033 } _resultobj
= Py_BuildValue("l",_result
);
4037 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4038 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxPyListCtrl
* _arg0
;
4042 bool _arg2
= (bool ) TRUE
;
4043 PyObject
* _argo0
= 0;
4044 int tempbool2
= (int) TRUE
;
4045 char *_kwnames
[] = { "self","style","add", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4057 _arg2
= (bool ) tempbool2
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } Py_INCREF(Py_None
);
4065 _resultobj
= Py_None
;
4069 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4070 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4072 wxPyListCtrl
* _arg0
;
4074 PyObject
* _argo0
= 0;
4075 char *_kwnames
[] = { "self","style", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) return NULL
;
4093 } Py_INCREF(Py_None
);
4094 _resultobj
= Py_None
;
4098 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4099 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4102 wxPyListCtrl
* _arg0
;
4104 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4105 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } _resultobj
= Py_BuildValue("l",_result
);
4129 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4130 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4132 wxImageList
* _result
;
4133 wxPyListCtrl
* _arg0
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self","which", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4158 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4159 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4161 wxPyListCtrl
* _arg0
;
4162 wxImageList
* _arg1
;
4164 PyObject
* _argo0
= 0;
4165 PyObject
* _argo1
= 0;
4166 char *_kwnames
[] = { "self","imageList","which", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4191 } Py_INCREF(Py_None
);
4192 _resultobj
= Py_None
;
4196 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4197 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4199 wxPyListCtrl
* _arg0
;
4200 wxImageList
* _arg1
;
4202 PyObject
* _argo0
= 0;
4203 PyObject
* _argo1
= 0;
4204 char *_kwnames
[] = { "self","imageList","which", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) return NULL
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4234 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4235 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4238 wxPyListCtrl
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) return NULL
;
4258 } _resultobj
= Py_BuildValue("i",_result
);
4262 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4263 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4265 wxPyListCtrl
* _arg0
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self","item", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) return NULL
;
4286 } Py_INCREF(Py_None
);
4287 _resultobj
= Py_None
;
4291 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4292 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4294 wxPyListCtrl
* _arg0
;
4297 PyObject
* _argo0
= 0;
4298 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_RefreshItems. Expected _wxPyListCtrl_p.");
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } Py_INCREF(Py_None
);
4317 _resultobj
= Py_None
;
4321 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4322 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4325 wxPyListCtrl
* _arg0
;
4326 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self","flag", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_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_Arrange. Expected _wxPyListCtrl_p.");
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 } _resultobj
= Py_BuildValue("i",_result
);
4350 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4351 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
* _resultobj
;
4354 wxPyListCtrl
* _arg0
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self","item", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) return NULL
;
4375 } _resultobj
= Py_BuildValue("i",_result
);
4379 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4380 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4383 wxPyListCtrl
* _arg0
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4403 } _resultobj
= Py_BuildValue("i",_result
);
4407 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4408 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
* _resultobj
;
4411 wxPyListCtrl
* _arg0
;
4413 PyObject
* _argo0
= 0;
4414 char *_kwnames
[] = { "self","col", NULL
};
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) return NULL
;
4432 } _resultobj
= Py_BuildValue("i",_result
);
4436 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4437 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4440 wxPyListCtrl
* _arg0
;
4441 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) return NULL
;
4460 } _resultobj
= Py_BuildValue("i",_result
);
4464 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4465 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4467 wxPyListCtrl
* _arg0
;
4468 PyObject
* _argo0
= 0;
4469 char *_kwnames
[] = { "self", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 wxListCtrl_ClearAll(_arg0
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) return NULL
;
4487 } Py_INCREF(Py_None
);
4488 _resultobj
= Py_None
;
4492 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4493 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4496 wxPyListCtrl
* _arg0
;
4498 PyObject
* _argo0
= 0;
4499 char *_kwnames
[] = { "self","item", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4517 } _resultobj
= Py_BuildValue("i",_result
);
4521 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4522 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4525 wxPyListCtrl
* _arg0
;
4528 bool _arg3
= (bool ) FALSE
;
4529 PyObject
* _argo0
= 0;
4530 PyObject
* _obj2
= 0;
4531 int tempbool3
= (int) FALSE
;
4532 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4545 _arg2
= wxString_in_helper(_obj2
);
4549 _arg3
= (bool ) tempbool3
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) return NULL
;
4556 } _resultobj
= Py_BuildValue("l",_result
);
4564 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4565 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 wxPyListCtrl
* _arg0
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self","start","data", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) return NULL
;
4590 } _resultobj
= Py_BuildValue("l",_result
);
4594 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4595 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 wxPyListCtrl
* _arg0
;
4602 PyObject
* _argo0
= 0;
4604 PyObject
* _obj2
= 0;
4605 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4619 if (! wxPoint_helper(_obj2
, &_arg2
))
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) return NULL
;
4628 } _resultobj
= Py_BuildValue("l",_result
);
4632 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4633 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4636 wxPyListCtrl
* _arg0
;
4640 PyObject
* _argo0
= 0;
4642 PyObject
* _obj1
= 0;
4643 char *_kwnames
[] = { "self","point", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4660 if (! wxPoint_helper(_obj1
, &_arg1
))
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) return NULL
;
4669 } _resultobj
= Py_BuildValue("l",_result
);
4672 o
= PyInt_FromLong((long) (*_arg2
));
4673 _resultobj
= t_output_helper(_resultobj
, o
);
4678 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4679 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4682 wxPyListCtrl
* _arg0
;
4684 PyObject
* _argo0
= 0;
4685 PyObject
* _argo1
= 0;
4686 char *_kwnames
[] = { "self","info", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } _resultobj
= Py_BuildValue("l",_result
);
4715 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4716 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4719 wxPyListCtrl
* _arg0
;
4722 PyObject
* _argo0
= 0;
4723 PyObject
* _obj2
= 0;
4724 char *_kwnames
[] = { "self","index","label", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4737 _arg2
= wxString_in_helper(_obj2
);
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) return NULL
;
4747 } _resultobj
= Py_BuildValue("l",_result
);
4755 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4756 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4759 wxPyListCtrl
* _arg0
;
4762 PyObject
* _argo0
= 0;
4763 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) return NULL
;
4781 } _resultobj
= Py_BuildValue("l",_result
);
4785 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4786 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4789 wxPyListCtrl
* _arg0
;
4793 PyObject
* _argo0
= 0;
4794 PyObject
* _obj2
= 0;
4795 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4808 _arg2
= wxString_in_helper(_obj2
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } _resultobj
= Py_BuildValue("l",_result
);
4826 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4827 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4830 wxPyListCtrl
* _arg0
;
4833 PyObject
* _argo0
= 0;
4834 PyObject
* _argo2
= 0;
4835 char *_kwnames
[] = { "self","col","info", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4848 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) return NULL
;
4860 } _resultobj
= Py_BuildValue("l",_result
);
4864 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4865 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4868 wxPyListCtrl
* _arg0
;
4871 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4872 int _arg4
= (int ) -1;
4873 PyObject
* _argo0
= 0;
4874 PyObject
* _obj2
= 0;
4875 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4888 _arg2
= wxString_in_helper(_obj2
);
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) return NULL
;
4898 } _resultobj
= Py_BuildValue("l",_result
);
4906 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4907 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4909 wxPyListCtrl
* _arg0
;
4911 PyObject
* _argo0
= 0;
4912 char *_kwnames
[] = { "self","count", NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) return NULL
;
4930 } Py_INCREF(Py_None
);
4931 _resultobj
= Py_None
;
4935 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4936 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4939 wxPyListCtrl
* _arg0
;
4942 PyObject
* _argo0
= 0;
4943 char *_kwnames
[] = { "self","dx","dy", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4961 } _resultobj
= Py_BuildValue("i",_result
);
4965 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4966 if (!PyCallable_Check(func
))
4968 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4970 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4973 wxPyListCtrl
* _arg0
;
4975 PyObject
* _argo0
= 0;
4976 PyObject
* _obj1
= 0;
4977 char *_kwnames
[] = { "self","func", NULL
};
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) return NULL
;
4998 } _resultobj
= Py_BuildValue("i",_result
);
5002 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5005 src
= (wxListView
*) ptr
;
5006 dest
= (wxPyListCtrl
*) src
;
5007 return (void *) dest
;
5010 static void *SwigwxListViewTowxControl(void *ptr
) {
5013 src
= (wxListView
*) ptr
;
5014 dest
= (wxControl
*) src
;
5015 return (void *) dest
;
5018 static void *SwigwxListViewTowxWindow(void *ptr
) {
5021 src
= (wxListView
*) ptr
;
5022 dest
= (wxWindow
*) src
;
5023 return (void *) dest
;
5026 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5029 src
= (wxListView
*) ptr
;
5030 dest
= (wxEvtHandler
*) src
;
5031 return (void *) dest
;
5034 static void *SwigwxListViewTowxObject(void *ptr
) {
5037 src
= (wxListView
*) ptr
;
5038 dest
= (wxObject
*) src
;
5039 return (void *) dest
;
5042 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5043 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5045 wxListView
* _result
;
5047 wxWindowID _arg1
= (wxWindowID
) -1;
5048 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5049 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5050 long _arg4
= (long ) (wxLC_REPORT
);
5051 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5052 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5053 PyObject
* _argo0
= 0;
5055 PyObject
* _obj2
= 0;
5057 PyObject
* _obj3
= 0;
5058 PyObject
* _argo5
= 0;
5059 PyObject
* _obj6
= 0;
5060 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5076 if (! wxPoint_helper(_obj2
, &_arg2
))
5082 if (! wxSize_helper(_obj3
, &_arg3
))
5086 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5094 _arg6
= wxString_in_helper(_obj6
);
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5118 #define new_wxPreListView() (new wxListView())
5119 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5121 wxListView
* _result
;
5122 char *_kwnames
[] = { NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 _result
= (wxListView
*)new_wxPreListView();
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) return NULL
;
5135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5136 _resultobj
= Py_BuildValue("s",_ptemp
);
5139 _resultobj
= Py_None
;
5144 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5145 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5150 wxWindowID _arg2
= (wxWindowID
) -1;
5151 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5152 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5153 long _arg5
= (long ) (wxLC_REPORT
);
5154 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5155 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5156 PyObject
* _argo0
= 0;
5157 PyObject
* _argo1
= 0;
5159 PyObject
* _obj3
= 0;
5161 PyObject
* _obj4
= 0;
5162 PyObject
* _argo6
= 0;
5163 PyObject
* _obj7
= 0;
5164 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5186 if (! wxPoint_helper(_obj3
, &_arg3
))
5192 if (! wxSize_helper(_obj4
, &_arg4
))
5196 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5204 _arg7
= wxString_in_helper(_obj7
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) return NULL
;
5214 } _resultobj
= Py_BuildValue("i",_result
);
5222 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5223 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5227 bool _arg2
= (bool ) TRUE
;
5228 PyObject
* _argo0
= 0;
5229 int tempbool2
= (int) TRUE
;
5230 char *_kwnames
[] = { "self","n","on", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5242 _arg2
= (bool ) tempbool2
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxListView_Select(_arg0
,_arg1
,_arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) return NULL
;
5249 } Py_INCREF(Py_None
);
5250 _resultobj
= Py_None
;
5254 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5255 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
* _resultobj
;
5259 PyObject
* _argo0
= 0;
5260 char *_kwnames
[] = { "self","index", NULL
};
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 wxListView_Focus(_arg0
,_arg1
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5278 } Py_INCREF(Py_None
);
5279 _resultobj
= Py_None
;
5283 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5284 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5288 PyObject
* _argo0
= 0;
5289 char *_kwnames
[] = { "self", NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5307 } _resultobj
= Py_BuildValue("l",_result
);
5311 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5312 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5317 PyObject
* _argo0
= 0;
5318 char *_kwnames
[] = { "self","item", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) return NULL
;
5336 } _resultobj
= Py_BuildValue("l",_result
);
5340 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5341 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 } _resultobj
= Py_BuildValue("l",_result
);
5368 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5369 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self","index", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 } _resultobj
= Py_BuildValue("i",_result
);
5397 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5398 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5403 PyObject
* _argo0
= 0;
5404 char *_kwnames
[] = { "self","col","image", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5422 } Py_INCREF(Py_None
);
5423 _resultobj
= Py_None
;
5427 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5428 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5432 PyObject
* _argo0
= 0;
5433 char *_kwnames
[] = { "self","col", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 wxListView_ClearColumnImage(_arg0
,_arg1
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5451 } Py_INCREF(Py_None
);
5452 _resultobj
= Py_None
;
5456 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5457 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
* _resultobj
;
5459 wxTreeItemAttr
* _result
;
5460 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5461 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5462 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5464 PyObject
* _obj0
= 0;
5466 PyObject
* _obj1
= 0;
5467 PyObject
* _argo2
= 0;
5468 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5477 if (! wxColour_helper(_obj0
, &_arg0
))
5483 if (! wxColour_helper(_obj1
, &_arg1
))
5487 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) return NULL
;
5500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5501 _resultobj
= Py_BuildValue("s",_ptemp
);
5504 _resultobj
= Py_None
;
5509 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5510 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
* _resultobj
;
5512 wxTreeItemAttr
* _arg0
;
5514 PyObject
* _argo0
= 0;
5516 PyObject
* _obj1
= 0;
5517 char *_kwnames
[] = { "self","colText", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5531 if (! wxColour_helper(_obj1
, &_arg1
))
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5545 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5546 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5548 wxTreeItemAttr
* _arg0
;
5550 PyObject
* _argo0
= 0;
5552 PyObject
* _obj1
= 0;
5553 char *_kwnames
[] = { "self","colBack", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5567 if (! wxColour_helper(_obj1
, &_arg1
))
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) return NULL
;
5576 } Py_INCREF(Py_None
);
5577 _resultobj
= Py_None
;
5581 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5582 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5584 wxTreeItemAttr
* _arg0
;
5586 PyObject
* _argo0
= 0;
5587 PyObject
* _argo1
= 0;
5588 char *_kwnames
[] = { "self","font", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) return NULL
;
5613 } Py_INCREF(Py_None
);
5614 _resultobj
= Py_None
;
5618 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5619 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5622 wxTreeItemAttr
* _arg0
;
5623 PyObject
* _argo0
= 0;
5624 char *_kwnames
[] = { "self", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) return NULL
;
5642 } _resultobj
= Py_BuildValue("i",_result
);
5646 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5647 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
* _resultobj
;
5650 wxTreeItemAttr
* _arg0
;
5651 PyObject
* _argo0
= 0;
5652 char *_kwnames
[] = { "self", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) return NULL
;
5670 } _resultobj
= Py_BuildValue("i",_result
);
5674 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5675 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
* _resultobj
;
5678 wxTreeItemAttr
* _arg0
;
5679 PyObject
* _argo0
= 0;
5680 char *_kwnames
[] = { "self", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) return NULL
;
5698 } _resultobj
= Py_BuildValue("i",_result
);
5702 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5703 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
* _resultobj
;
5706 wxTreeItemAttr
* _arg0
;
5707 PyObject
* _argo0
= 0;
5708 char *_kwnames
[] = { "self", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) return NULL
;
5727 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5728 _resultobj
= Py_BuildValue("s",_ptemp
);
5732 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5733 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5736 wxTreeItemAttr
* _arg0
;
5737 PyObject
* _argo0
= 0;
5738 char *_kwnames
[] = { "self", NULL
};
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) return NULL
;
5757 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5758 _resultobj
= Py_BuildValue("s",_ptemp
);
5762 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5763 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5766 wxTreeItemAttr
* _arg0
;
5767 PyObject
* _argo0
= 0;
5768 char *_kwnames
[] = { "self", NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5787 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5788 _resultobj
= Py_BuildValue("s",_ptemp
);
5792 #define new_wxTreeItemId() (new wxTreeItemId())
5793 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
* _resultobj
;
5795 wxTreeItemId
* _result
;
5796 char *_kwnames
[] = { NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) return NULL
;
5809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5810 _resultobj
= Py_BuildValue("s",_ptemp
);
5813 _resultobj
= Py_None
;
5818 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5819 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
* _resultobj
;
5821 wxTreeItemId
* _arg0
;
5822 PyObject
* _argo0
= 0;
5823 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 delete_wxTreeItemId(_arg0
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5841 } Py_INCREF(Py_None
);
5842 _resultobj
= Py_None
;
5846 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5847 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5850 wxTreeItemId
* _arg0
;
5851 PyObject
* _argo0
= 0;
5852 char *_kwnames
[] = { "self", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) return NULL
;
5870 } _resultobj
= Py_BuildValue("i",_result
);
5874 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5875 if (! other
) return -1;
5876 return *self
!= *other
;
5878 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5881 wxTreeItemId
* _arg0
;
5882 wxTreeItemId
* _arg1
;
5883 PyObject
* _argo0
= 0;
5884 PyObject
* _argo1
= 0;
5885 char *_kwnames
[] = { "self","other", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5915 wxPyTreeItemData
*src
;
5917 src
= (wxPyTreeItemData
*) ptr
;
5918 dest
= (wxObject
*) src
;
5919 return (void *) dest
;
5922 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5923 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5925 wxPyTreeItemData
* _result
;
5926 PyObject
* _arg0
= (PyObject
*) NULL
;
5927 PyObject
* _obj0
= 0;
5928 char *_kwnames
[] = { "obj", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5946 _resultobj
= Py_BuildValue("s",_ptemp
);
5949 _resultobj
= Py_None
;
5954 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5955 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5958 wxPyTreeItemData
* _arg0
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5979 _resultobj
= _result
;
5984 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5985 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxPyTreeItemData
* _arg0
;
5989 PyObject
* _argo0
= 0;
5990 PyObject
* _obj1
= 0;
5991 char *_kwnames
[] = { "self","obj", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxTreeItemData_SetData(_arg0
,_arg1
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } Py_INCREF(Py_None
);
6013 _resultobj
= Py_None
;
6017 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6018 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6020 wxTreeItemId
* _result
;
6021 wxPyTreeItemData
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6039 _result
= (wxTreeItemId
*) &_result_ref
;
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6045 _resultobj
= Py_BuildValue("s",_ptemp
);
6048 _resultobj
= Py_None
;
6053 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6054 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxPyTreeItemData
* _arg0
;
6057 wxTreeItemId
* _arg1
;
6058 PyObject
* _argo0
= 0;
6059 PyObject
* _argo1
= 0;
6060 char *_kwnames
[] = { "self","id", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 wxTreeItemData_SetId(_arg0
,*_arg1
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) return NULL
;
6085 } Py_INCREF(Py_None
);
6086 _resultobj
= Py_None
;
6090 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6092 wxNotifyEvent
*dest
;
6093 src
= (wxTreeEvent
*) ptr
;
6094 dest
= (wxNotifyEvent
*) src
;
6095 return (void *) dest
;
6098 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6100 wxCommandEvent
*dest
;
6101 src
= (wxTreeEvent
*) ptr
;
6102 dest
= (wxCommandEvent
*) src
;
6103 return (void *) dest
;
6106 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6109 src
= (wxTreeEvent
*) ptr
;
6110 dest
= (wxEvent
*) src
;
6111 return (void *) dest
;
6114 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6117 src
= (wxTreeEvent
*) ptr
;
6118 dest
= (wxObject
*) src
;
6119 return (void *) dest
;
6122 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6123 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6125 wxTreeEvent
* _result
;
6126 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6127 int _arg1
= (int ) 0;
6128 char *_kwnames
[] = { "commandType","id", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6142 _resultobj
= Py_BuildValue("s",_ptemp
);
6145 _resultobj
= Py_None
;
6150 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6151 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
* _resultobj
;
6153 wxTreeItemId
* _result
;
6154 wxTreeEvent
* _arg0
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) return NULL
;
6175 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6176 _resultobj
= Py_BuildValue("s",_ptemp
);
6180 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6181 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6183 wxTreeItemId
* _result
;
6184 wxTreeEvent
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) return NULL
;
6205 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6206 _resultobj
= Py_BuildValue("s",_ptemp
);
6210 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6211 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6214 wxTreeEvent
* _arg0
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self", NULL
};
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) return NULL
;
6235 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6236 _resultobj
= Py_BuildValue("s",_ptemp
);
6240 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6241 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6243 wxKeyEvent
* _result
;
6244 wxTreeEvent
* _arg0
;
6245 PyObject
* _argo0
= 0;
6246 char *_kwnames
[] = { "self", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6262 _result
= (wxKeyEvent
*) &_result_ref
;
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) return NULL
;
6267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6268 _resultobj
= Py_BuildValue("s",_ptemp
);
6271 _resultobj
= Py_None
;
6276 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6277 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6280 wxTreeEvent
* _arg0
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6300 } _resultobj
= Py_BuildValue("i",_result
);
6304 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6305 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6308 wxTreeEvent
* _arg0
;
6309 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6325 _result
= (wxString
*) &_result_ref
;
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) return NULL
;
6331 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6333 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6339 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6342 src
= (wxPyTreeCtrl
*) ptr
;
6343 dest
= (wxControl
*) src
;
6344 return (void *) dest
;
6347 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6350 src
= (wxPyTreeCtrl
*) ptr
;
6351 dest
= (wxWindow
*) src
;
6352 return (void *) dest
;
6355 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6358 src
= (wxPyTreeCtrl
*) ptr
;
6359 dest
= (wxEvtHandler
*) src
;
6360 return (void *) dest
;
6363 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6366 src
= (wxPyTreeCtrl
*) ptr
;
6367 dest
= (wxObject
*) src
;
6368 return (void *) dest
;
6371 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6372 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6374 wxPyTreeCtrl
* _result
;
6376 wxWindowID _arg1
= (wxWindowID
) -1;
6377 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6378 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6379 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6380 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6381 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6382 PyObject
* _argo0
= 0;
6384 PyObject
* _obj2
= 0;
6386 PyObject
* _obj3
= 0;
6387 PyObject
* _argo5
= 0;
6388 PyObject
* _obj6
= 0;
6389 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6405 if (! wxPoint_helper(_obj2
, &_arg2
))
6411 if (! wxSize_helper(_obj3
, &_arg3
))
6415 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6423 _arg6
= wxString_in_helper(_obj6
);
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) return NULL
;
6434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6435 _resultobj
= Py_BuildValue("s",_ptemp
);
6438 _resultobj
= Py_None
;
6447 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6448 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6450 wxPyTreeCtrl
* _result
;
6451 char *_kwnames
[] = { NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6465 _resultobj
= Py_BuildValue("s",_ptemp
);
6468 _resultobj
= Py_None
;
6473 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6474 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6477 wxPyTreeCtrl
* _arg0
;
6479 wxWindowID _arg2
= (wxWindowID
) -1;
6480 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6481 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6482 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6483 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6484 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6485 PyObject
* _argo0
= 0;
6486 PyObject
* _argo1
= 0;
6488 PyObject
* _obj3
= 0;
6490 PyObject
* _obj4
= 0;
6491 PyObject
* _argo6
= 0;
6492 PyObject
* _obj7
= 0;
6493 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6515 if (! wxPoint_helper(_obj3
, &_arg3
))
6521 if (! wxSize_helper(_obj4
, &_arg4
))
6525 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6533 _arg7
= wxString_in_helper(_obj7
);
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) return NULL
;
6543 } _resultobj
= Py_BuildValue("i",_result
);
6551 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6552 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
* _resultobj
;
6554 wxPyTreeCtrl
* _arg0
;
6557 PyObject
* _argo0
= 0;
6558 PyObject
* _obj1
= 0;
6559 PyObject
* _obj2
= 0;
6560 char *_kwnames
[] = { "self","self","_class", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) return NULL
;
6584 } Py_INCREF(Py_None
);
6585 _resultobj
= Py_None
;
6589 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6590 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
* _resultobj
;
6593 wxPyTreeCtrl
* _arg0
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } _resultobj
= Py_BuildValue("i",_result
);
6617 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6618 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6620 unsigned int _result
;
6621 wxPyTreeCtrl
* _arg0
;
6622 PyObject
* _argo0
= 0;
6623 char *_kwnames
[] = { "self", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6641 } _resultobj
= Py_BuildValue("i",_result
);
6645 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6646 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
* _resultobj
;
6648 wxPyTreeCtrl
* _arg0
;
6650 PyObject
* _argo0
= 0;
6651 char *_kwnames
[] = { "self","indent", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } Py_INCREF(Py_None
);
6670 _resultobj
= Py_None
;
6674 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6675 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
* _resultobj
;
6677 wxImageList
* _result
;
6678 wxPyTreeCtrl
* _arg0
;
6679 PyObject
* _argo0
= 0;
6680 char *_kwnames
[] = { "self", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6698 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6702 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6703 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
* _resultobj
;
6705 wxImageList
* _result
;
6706 wxPyTreeCtrl
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6726 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6730 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6731 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
* _resultobj
;
6733 wxPyTreeCtrl
* _arg0
;
6734 wxImageList
* _arg1
;
6735 PyObject
* _argo0
= 0;
6736 PyObject
* _argo1
= 0;
6737 char *_kwnames
[] = { "self","imageList", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) return NULL
;
6762 } Py_INCREF(Py_None
);
6763 _resultobj
= Py_None
;
6767 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6768 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
* _resultobj
;
6770 wxPyTreeCtrl
* _arg0
;
6771 wxImageList
* _arg1
;
6772 PyObject
* _argo0
= 0;
6773 PyObject
* _argo1
= 0;
6774 char *_kwnames
[] = { "self","imageList", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) return NULL
;
6799 } Py_INCREF(Py_None
);
6800 _resultobj
= Py_None
;
6804 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6805 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6807 wxPyTreeCtrl
* _arg0
;
6808 wxImageList
* _arg1
;
6809 PyObject
* _argo0
= 0;
6810 PyObject
* _argo1
= 0;
6811 char *_kwnames
[] = { "self","imageList", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } Py_INCREF(Py_None
);
6837 _resultobj
= Py_None
;
6841 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6842 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6844 wxPyTreeCtrl
* _arg0
;
6845 wxImageList
* _arg1
;
6846 PyObject
* _argo0
= 0;
6847 PyObject
* _argo1
= 0;
6848 char *_kwnames
[] = { "self","imageList", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) return NULL
;
6873 } Py_INCREF(Py_None
);
6874 _resultobj
= Py_None
;
6878 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6879 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6881 unsigned int _result
;
6882 wxPyTreeCtrl
* _arg0
;
6883 PyObject
* _argo0
= 0;
6884 char *_kwnames
[] = { "self", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) return NULL
;
6902 } _resultobj
= Py_BuildValue("i",_result
);
6906 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6907 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6909 wxPyTreeCtrl
* _arg0
;
6911 PyObject
* _argo0
= 0;
6912 char *_kwnames
[] = { "self","spacing", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6935 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6936 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6939 wxPyTreeCtrl
* _arg0
;
6940 wxTreeItemId
* _arg1
;
6941 PyObject
* _argo0
= 0;
6942 PyObject
* _argo1
= 0;
6943 char *_kwnames
[] = { "self","item", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
6956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) return NULL
;
6970 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6972 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6981 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
6982 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
* _resultobj
;
6985 wxPyTreeCtrl
* _arg0
;
6986 wxTreeItemId
* _arg1
;
6987 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6988 PyObject
* _argo0
= 0;
6989 PyObject
* _argo1
= 0;
6990 char *_kwnames
[] = { "self","item","which", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_GetItemImage. Expected _wxPyTreeCtrl_p.");
7003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) return NULL
;
7015 } _resultobj
= Py_BuildValue("i",_result
);
7019 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7020 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7023 wxPyTreeCtrl
* _arg0
;
7024 wxTreeItemId
* _arg1
;
7025 PyObject
* _argo0
= 0;
7026 PyObject
* _argo1
= 0;
7027 char *_kwnames
[] = { "self","item", NULL
};
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) return NULL
;
7052 } _resultobj
= Py_BuildValue("i",_result
);
7056 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7057 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7059 wxPyTreeCtrl
* _arg0
;
7060 wxTreeItemId
* _arg1
;
7062 PyObject
* _argo0
= 0;
7063 PyObject
* _argo1
= 0;
7064 PyObject
* _obj2
= 0;
7065 char *_kwnames
[] = { "self","item","text", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7085 _arg2
= wxString_in_helper(_obj2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) return NULL
;
7095 } Py_INCREF(Py_None
);
7096 _resultobj
= Py_None
;
7104 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7105 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7107 wxPyTreeCtrl
* _arg0
;
7108 wxTreeItemId
* _arg1
;
7110 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7111 PyObject
* _argo0
= 0;
7112 PyObject
* _argo1
= 0;
7113 char *_kwnames
[] = { "self","item","image","which", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) return NULL
;
7138 } Py_INCREF(Py_None
);
7139 _resultobj
= Py_None
;
7143 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7144 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7146 wxPyTreeCtrl
* _arg0
;
7147 wxTreeItemId
* _arg1
;
7149 PyObject
* _argo0
= 0;
7150 PyObject
* _argo1
= 0;
7151 char *_kwnames
[] = { "self","item","image", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) return NULL
;
7176 } Py_INCREF(Py_None
);
7177 _resultobj
= Py_None
;
7181 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7182 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7184 wxPyTreeCtrl
* _arg0
;
7185 wxTreeItemId
* _arg1
;
7186 bool _arg2
= (bool ) TRUE
;
7187 PyObject
* _argo0
= 0;
7188 PyObject
* _argo1
= 0;
7189 int tempbool2
= (int) TRUE
;
7190 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7209 _arg2
= (bool ) tempbool2
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) return NULL
;
7216 } Py_INCREF(Py_None
);
7217 _resultobj
= Py_None
;
7221 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7222 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7224 data
= new wxPyTreeItemData();
7225 data
->SetId(item
); // set the id
7226 self
->SetItemData(item
, data
);
7230 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7232 wxPyTreeItemData
* _result
;
7233 wxPyTreeCtrl
* _arg0
;
7234 wxTreeItemId
* _arg1
;
7235 PyObject
* _argo0
= 0;
7236 PyObject
* _argo1
= 0;
7237 char *_kwnames
[] = { "self","item", NULL
};
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) return NULL
;
7264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7265 _resultobj
= Py_BuildValue("s",_ptemp
);
7268 _resultobj
= Py_None
;
7273 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7274 data
->SetId(item
); // set the id
7275 self
->SetItemData(item
, data
);
7277 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7279 wxPyTreeCtrl
* _arg0
;
7280 wxTreeItemId
* _arg1
;
7281 wxPyTreeItemData
* _arg2
;
7282 PyObject
* _argo0
= 0;
7283 PyObject
* _argo1
= 0;
7284 PyObject
* _argo2
= 0;
7285 char *_kwnames
[] = { "self","item","data", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7305 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) return NULL
;
7317 } Py_INCREF(Py_None
);
7318 _resultobj
= Py_None
;
7322 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7323 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7325 data
= new wxPyTreeItemData();
7326 data
->SetId(item
); // set the id
7327 self
->SetItemData(item
, data
);
7329 return data
->GetData();
7331 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7334 wxPyTreeCtrl
* _arg0
;
7335 wxTreeItemId
* _arg1
;
7336 PyObject
* _argo0
= 0;
7337 PyObject
* _argo1
= 0;
7338 char *_kwnames
[] = { "self","item", NULL
};
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7351 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7352 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) return NULL
;
7364 _resultobj
= _result
;
7369 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7370 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7372 data
= new wxPyTreeItemData(obj
);
7373 data
->SetId(item
); // set the id
7374 self
->SetItemData(item
, data
);
7378 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7380 wxPyTreeCtrl
* _arg0
;
7381 wxTreeItemId
* _arg1
;
7383 PyObject
* _argo0
= 0;
7384 PyObject
* _argo1
= 0;
7385 PyObject
* _obj2
= 0;
7386 char *_kwnames
[] = { "self","item","obj", NULL
};
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) return NULL
;
7414 } Py_INCREF(Py_None
);
7415 _resultobj
= Py_None
;
7419 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7420 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7423 wxPyTreeCtrl
* _arg0
;
7424 wxTreeItemId
* _arg1
;
7425 PyObject
* _argo0
= 0;
7426 PyObject
* _argo1
= 0;
7427 char *_kwnames
[] = { "self","item", NULL
};
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) return NULL
;
7452 } _resultobj
= Py_BuildValue("i",_result
);
7456 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7457 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
* _resultobj
;
7460 wxPyTreeCtrl
* _arg0
;
7461 wxTreeItemId
* _arg1
;
7462 PyObject
* _argo0
= 0;
7463 PyObject
* _argo1
= 0;
7464 char *_kwnames
[] = { "self","item", NULL
};
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) return NULL
;
7489 } _resultobj
= Py_BuildValue("i",_result
);
7493 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7494 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
* _resultobj
;
7497 wxPyTreeCtrl
* _arg0
;
7498 wxTreeItemId
* _arg1
;
7499 PyObject
* _argo0
= 0;
7500 PyObject
* _argo1
= 0;
7501 char *_kwnames
[] = { "self","item", NULL
};
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } _resultobj
= Py_BuildValue("i",_result
);
7530 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7531 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
* _resultobj
;
7534 wxPyTreeCtrl
* _arg0
;
7535 wxTreeItemId
* _arg1
;
7536 PyObject
* _argo0
= 0;
7537 PyObject
* _argo1
= 0;
7538 char *_kwnames
[] = { "self","item", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } _resultobj
= Py_BuildValue("i",_result
);
7567 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7568 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7570 wxTreeItemId
* _result
;
7571 wxPyTreeCtrl
* _arg0
;
7572 PyObject
* _argo0
= 0;
7573 char *_kwnames
[] = { "self", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) return NULL
;
7592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7593 _resultobj
= Py_BuildValue("s",_ptemp
);
7597 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7598 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7600 wxTreeItemId
* _result
;
7601 wxPyTreeCtrl
* _arg0
;
7602 PyObject
* _argo0
= 0;
7603 char *_kwnames
[] = { "self", NULL
};
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) return NULL
;
7622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7623 _resultobj
= Py_BuildValue("s",_ptemp
);
7627 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7628 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
* _resultobj
;
7630 wxTreeItemId
* _result
;
7631 wxPyTreeCtrl
* _arg0
;
7632 wxTreeItemId
* _arg1
;
7633 PyObject
* _argo0
= 0;
7634 PyObject
* _argo1
= 0;
7635 char *_kwnames
[] = { "self","item", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) return NULL
;
7661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7662 _resultobj
= Py_BuildValue("s",_ptemp
);
7666 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7667 wxPyBeginBlockThreads();
7668 PyObject
* rval
= PyList_New(0);
7669 wxArrayTreeItemIds array
;
7671 num
= self
->GetSelections(array
);
7672 for (x
=0; x
< num
; x
++) {
7673 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7674 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7675 PyList_Append(rval
, item
);
7677 wxPyEndBlockThreads();
7680 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
* _resultobj
;
7683 wxPyTreeCtrl
* _arg0
;
7684 PyObject
* _argo0
= 0;
7685 char *_kwnames
[] = { "self", NULL
};
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) return NULL
;
7704 _resultobj
= _result
;
7709 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7710 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7713 wxPyTreeCtrl
* _arg0
;
7714 wxTreeItemId
* _arg1
;
7715 bool _arg2
= (bool ) TRUE
;
7716 PyObject
* _argo0
= 0;
7717 PyObject
* _argo1
= 0;
7718 int tempbool2
= (int) TRUE
;
7719 char *_kwnames
[] = { "self","item","recursively", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7738 _arg2
= (bool ) tempbool2
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) return NULL
;
7745 } _resultobj
= Py_BuildValue("i",_result
);
7749 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7750 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7752 wxTreeItemId
* _result
;
7753 wxPyTreeCtrl
* _arg0
;
7754 wxTreeItemId
* _arg1
;
7756 PyObject
* _argo0
= 0;
7757 PyObject
* _argo1
= 0;
7759 PyObject
* _obj2
= 0;
7760 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7781 temp
= (long) PyInt_AsLong(_obj2
);
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) return NULL
;
7790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7791 _resultobj
= Py_BuildValue("s",_ptemp
);
7794 o
= PyInt_FromLong((long) (*_arg2
));
7795 _resultobj
= t_output_helper(_resultobj
, o
);
7800 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7801 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
* _resultobj
;
7803 wxTreeItemId
* _result
;
7804 wxPyTreeCtrl
* _arg0
;
7805 wxTreeItemId
* _arg1
;
7807 PyObject
* _argo0
= 0;
7808 PyObject
* _argo1
= 0;
7810 PyObject
* _obj2
= 0;
7811 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7832 temp
= (long) PyInt_AsLong(_obj2
);
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) return NULL
;
7841 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7842 _resultobj
= Py_BuildValue("s",_ptemp
);
7845 o
= PyInt_FromLong((long) (*_arg2
));
7846 _resultobj
= t_output_helper(_resultobj
, o
);
7851 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7852 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
* _resultobj
;
7854 wxTreeItemId
* _result
;
7855 wxPyTreeCtrl
* _arg0
;
7856 wxTreeItemId
* _arg1
;
7857 PyObject
* _argo0
= 0;
7858 PyObject
* _argo1
= 0;
7859 char *_kwnames
[] = { "self","item", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) return NULL
;
7885 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7886 _resultobj
= Py_BuildValue("s",_ptemp
);
7890 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7891 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
* _resultobj
;
7893 wxTreeItemId
* _result
;
7894 wxPyTreeCtrl
* _arg0
;
7895 wxTreeItemId
* _arg1
;
7896 PyObject
* _argo0
= 0;
7897 PyObject
* _argo1
= 0;
7898 char *_kwnames
[] = { "self","item", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) return NULL
;
7924 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7925 _resultobj
= Py_BuildValue("s",_ptemp
);
7929 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7930 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
* _resultobj
;
7932 wxTreeItemId
* _result
;
7933 wxPyTreeCtrl
* _arg0
;
7934 PyObject
* _argo0
= 0;
7935 char *_kwnames
[] = { "self", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
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_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) return NULL
;
7954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7955 _resultobj
= Py_BuildValue("s",_ptemp
);
7959 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
7960 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
* _resultobj
;
7962 wxTreeItemId
* _result
;
7963 wxPyTreeCtrl
* _arg0
;
7964 wxTreeItemId
* _arg1
;
7965 PyObject
* _argo0
= 0;
7966 PyObject
* _argo1
= 0;
7967 char *_kwnames
[] = { "self","item", NULL
};
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
7974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
7981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) return NULL
;
7993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7994 _resultobj
= Py_BuildValue("s",_ptemp
);
7998 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
7999 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8001 wxTreeItemId
* _result
;
8002 wxPyTreeCtrl
* _arg0
;
8003 wxTreeItemId
* _arg1
;
8004 PyObject
* _argo0
= 0;
8005 PyObject
* _argo1
= 0;
8006 char *_kwnames
[] = { "self","item", NULL
};
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8020 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) return NULL
;
8032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8033 _resultobj
= Py_BuildValue("s",_ptemp
);
8037 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8038 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
* _resultobj
;
8040 wxTreeItemId
* _result
;
8041 wxPyTreeCtrl
* _arg0
;
8042 wxTreeItemId
* _arg1
;
8043 PyObject
* _argo0
= 0;
8044 PyObject
* _argo1
= 0;
8045 char *_kwnames
[] = { "self","item", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) return NULL
;
8071 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8072 _resultobj
= Py_BuildValue("s",_ptemp
);
8076 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8077 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
* _resultobj
;
8079 wxTreeItemId
* _result
;
8080 wxPyTreeCtrl
* _arg0
;
8082 int _arg2
= (int ) -1;
8083 int _arg3
= (int ) -1;
8084 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8085 PyObject
* _argo0
= 0;
8086 PyObject
* _obj1
= 0;
8087 PyObject
* _argo4
= 0;
8088 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8102 _arg1
= wxString_in_helper(_obj1
);
8107 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8108 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) return NULL
;
8119 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8120 _resultobj
= Py_BuildValue("s",_ptemp
);
8128 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8129 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
* _resultobj
;
8131 wxTreeItemId
* _result
;
8132 wxPyTreeCtrl
* _arg0
;
8133 wxTreeItemId
* _arg1
;
8135 int _arg3
= (int ) -1;
8136 int _arg4
= (int ) -1;
8137 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8138 PyObject
* _argo0
= 0;
8139 PyObject
* _argo1
= 0;
8140 PyObject
* _obj2
= 0;
8141 PyObject
* _argo5
= 0;
8142 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8163 _arg2
= wxString_in_helper(_obj2
);
8168 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) return NULL
;
8180 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8181 _resultobj
= Py_BuildValue("s",_ptemp
);
8189 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8190 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
* _resultobj
;
8192 wxTreeItemId
* _result
;
8193 wxPyTreeCtrl
* _arg0
;
8194 wxTreeItemId
* _arg1
;
8195 wxTreeItemId
* _arg2
;
8197 int _arg4
= (int ) -1;
8198 int _arg5
= (int ) -1;
8199 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8200 PyObject
* _argo0
= 0;
8201 PyObject
* _argo1
= 0;
8202 PyObject
* _argo2
= 0;
8203 PyObject
* _obj3
= 0;
8204 PyObject
* _argo6
= 0;
8205 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8226 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8227 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8233 _arg3
= wxString_in_helper(_obj3
);
8238 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8251 _resultobj
= Py_BuildValue("s",_ptemp
);
8259 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8260 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
* _resultobj
;
8262 wxTreeItemId
* _result
;
8263 wxPyTreeCtrl
* _arg0
;
8264 wxTreeItemId
* _arg1
;
8267 int _arg4
= (int ) -1;
8268 int _arg5
= (int ) -1;
8269 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8270 PyObject
* _argo0
= 0;
8271 PyObject
* _argo1
= 0;
8272 PyObject
* _obj3
= 0;
8273 PyObject
* _argo6
= 0;
8274 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8295 _arg3
= wxString_in_helper(_obj3
);
8300 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8301 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) return NULL
;
8312 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8313 _resultobj
= Py_BuildValue("s",_ptemp
);
8321 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8322 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
* _resultobj
;
8324 wxTreeItemId
* _result
;
8325 wxPyTreeCtrl
* _arg0
;
8326 wxTreeItemId
* _arg1
;
8328 int _arg3
= (int ) -1;
8329 int _arg4
= (int ) -1;
8330 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8331 PyObject
* _argo0
= 0;
8332 PyObject
* _argo1
= 0;
8333 PyObject
* _obj2
= 0;
8334 PyObject
* _argo5
= 0;
8335 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8356 _arg2
= wxString_in_helper(_obj2
);
8361 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) return NULL
;
8373 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8374 _resultobj
= Py_BuildValue("s",_ptemp
);
8382 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8383 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
* _resultobj
;
8385 wxPyTreeCtrl
* _arg0
;
8386 wxTreeItemId
* _arg1
;
8387 PyObject
* _argo0
= 0;
8388 PyObject
* _argo1
= 0;
8389 char *_kwnames
[] = { "self","item", NULL
};
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) return NULL
;
8414 } Py_INCREF(Py_None
);
8415 _resultobj
= Py_None
;
8419 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8420 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
* _resultobj
;
8422 wxPyTreeCtrl
* _arg0
;
8423 wxTreeItemId
* _arg1
;
8424 PyObject
* _argo0
= 0;
8425 PyObject
* _argo1
= 0;
8426 char *_kwnames
[] = { "self","item", NULL
};
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) return NULL
;
8451 } Py_INCREF(Py_None
);
8452 _resultobj
= Py_None
;
8456 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8457 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
* _resultobj
;
8459 wxPyTreeCtrl
* _arg0
;
8460 PyObject
* _argo0
= 0;
8461 char *_kwnames
[] = { "self", NULL
};
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 wxTreeCtrl_DeleteAllItems(_arg0
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) return NULL
;
8479 } Py_INCREF(Py_None
);
8480 _resultobj
= Py_None
;
8484 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8485 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
* _resultobj
;
8487 wxPyTreeCtrl
* _arg0
;
8488 wxTreeItemId
* _arg1
;
8489 PyObject
* _argo0
= 0;
8490 PyObject
* _argo1
= 0;
8491 char *_kwnames
[] = { "self","item", NULL
};
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) return NULL
;
8516 } Py_INCREF(Py_None
);
8517 _resultobj
= Py_None
;
8521 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8522 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8524 wxPyTreeCtrl
* _arg0
;
8525 wxTreeItemId
* _arg1
;
8526 PyObject
* _argo0
= 0;
8527 PyObject
* _argo1
= 0;
8528 char *_kwnames
[] = { "self","item", NULL
};
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8553 } Py_INCREF(Py_None
);
8554 _resultobj
= Py_None
;
8558 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8559 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
* _resultobj
;
8561 wxPyTreeCtrl
* _arg0
;
8562 wxTreeItemId
* _arg1
;
8563 PyObject
* _argo0
= 0;
8564 PyObject
* _argo1
= 0;
8565 char *_kwnames
[] = { "self","item", NULL
};
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) return NULL
;
8590 } Py_INCREF(Py_None
);
8591 _resultobj
= Py_None
;
8595 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8596 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
* _resultobj
;
8598 wxPyTreeCtrl
* _arg0
;
8599 wxTreeItemId
* _arg1
;
8600 PyObject
* _argo0
= 0;
8601 PyObject
* _argo1
= 0;
8602 char *_kwnames
[] = { "self","item", NULL
};
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) return NULL
;
8627 } Py_INCREF(Py_None
);
8628 _resultobj
= Py_None
;
8632 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8633 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
* _resultobj
;
8635 wxPyTreeCtrl
* _arg0
;
8636 PyObject
* _argo0
= 0;
8637 char *_kwnames
[] = { "self", NULL
};
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 wxTreeCtrl_Unselect(_arg0
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) return NULL
;
8655 } Py_INCREF(Py_None
);
8656 _resultobj
= Py_None
;
8660 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8661 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
* _resultobj
;
8663 wxPyTreeCtrl
* _arg0
;
8664 PyObject
* _argo0
= 0;
8665 char *_kwnames
[] = { "self", NULL
};
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 wxTreeCtrl_UnselectAll(_arg0
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) return NULL
;
8683 } Py_INCREF(Py_None
);
8684 _resultobj
= Py_None
;
8688 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8689 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
* _resultobj
;
8691 wxPyTreeCtrl
* _arg0
;
8692 wxTreeItemId
* _arg1
;
8693 PyObject
* _argo0
= 0;
8694 PyObject
* _argo1
= 0;
8695 char *_kwnames
[] = { "self","item", NULL
};
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) return NULL
;
8720 } Py_INCREF(Py_None
);
8721 _resultobj
= Py_None
;
8725 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8726 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
* _resultobj
;
8728 wxPyTreeCtrl
* _arg0
;
8729 wxTreeItemId
* _arg1
;
8730 PyObject
* _argo0
= 0;
8731 PyObject
* _argo1
= 0;
8732 char *_kwnames
[] = { "self","item", NULL
};
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) return NULL
;
8757 } Py_INCREF(Py_None
);
8758 _resultobj
= Py_None
;
8762 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8763 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8765 wxPyTreeCtrl
* _arg0
;
8766 wxTreeItemId
* _arg1
;
8767 PyObject
* _argo0
= 0;
8768 PyObject
* _argo1
= 0;
8769 char *_kwnames
[] = { "self","item", NULL
};
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) return NULL
;
8794 } Py_INCREF(Py_None
);
8795 _resultobj
= Py_None
;
8799 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8800 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
* _resultobj
;
8802 wxPyTreeCtrl
* _arg0
;
8803 wxTreeItemId
* _arg1
;
8804 PyObject
* _argo0
= 0;
8805 PyObject
* _argo1
= 0;
8806 char *_kwnames
[] = { "self","item", NULL
};
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) return NULL
;
8831 } Py_INCREF(Py_None
);
8832 _resultobj
= Py_None
;
8836 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8837 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
* _resultobj
;
8839 wxPyTreeCtrl
* _arg0
;
8840 wxTreeItemId
* _arg1
;
8841 PyObject
* _argo0
= 0;
8842 PyObject
* _argo1
= 0;
8843 char *_kwnames
[] = { "self","item", NULL
};
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) return NULL
;
8868 } Py_INCREF(Py_None
);
8869 _resultobj
= Py_None
;
8873 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
8874 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
* _resultobj
;
8876 wxPyTreeCtrl
* _arg0
;
8877 wxTreeItemId
* _arg1
;
8878 int _arg2
= (int ) TRUE
;
8879 PyObject
* _argo0
= 0;
8880 PyObject
* _argo1
= 0;
8881 char *_kwnames
[] = { "self","item","bold", NULL
};
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
8894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) return NULL
;
8906 } Py_INCREF(Py_None
);
8907 _resultobj
= Py_None
;
8911 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
8912 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
* _resultobj
;
8915 wxPyTreeCtrl
* _arg0
;
8916 wxTreeItemId
* _arg1
;
8917 PyObject
* _argo0
= 0;
8918 PyObject
* _argo1
= 0;
8919 char *_kwnames
[] = { "self","item", NULL
};
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
8925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
8932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) return NULL
;
8944 } _resultobj
= Py_BuildValue("i",_result
);
8948 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
8949 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
* _resultobj
;
8951 wxTreeItemId
* _result
;
8952 wxPyTreeCtrl
* _arg0
;
8956 PyObject
* _argo0
= 0;
8958 PyObject
* _obj1
= 0;
8959 char *_kwnames
[] = { "self","point", NULL
};
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
8969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
8977 if (! wxPoint_helper(_obj1
, &_arg1
))
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8987 _resultobj
= Py_BuildValue("s",_ptemp
);
8990 o
= PyInt_FromLong((long) (*_arg2
));
8991 _resultobj
= t_output_helper(_resultobj
, o
);
8996 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8997 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
* _resultobj
;
8999 wxPyTreeCtrl
* _arg0
;
9000 wxTreeItemId
* _arg1
;
9002 PyObject
* _argo0
= 0;
9003 PyObject
* _argo1
= 0;
9005 PyObject
* _obj2
= 0;
9006 char *_kwnames
[] = { "self","item","col", NULL
};
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9019 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9020 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9027 if (! wxColour_helper(_obj2
, &_arg2
))
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) return NULL
;
9036 } Py_INCREF(Py_None
);
9037 _resultobj
= Py_None
;
9041 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9042 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9044 wxPyTreeCtrl
* _arg0
;
9045 wxTreeItemId
* _arg1
;
9047 PyObject
* _argo0
= 0;
9048 PyObject
* _argo1
= 0;
9050 PyObject
* _obj2
= 0;
9051 char *_kwnames
[] = { "self","item","col", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9072 if (! wxColour_helper(_obj2
, &_arg2
))
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) return NULL
;
9081 } Py_INCREF(Py_None
);
9082 _resultobj
= Py_None
;
9086 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9087 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
* _resultobj
;
9089 wxPyTreeCtrl
* _arg0
;
9090 wxTreeItemId
* _arg1
;
9092 PyObject
* _argo0
= 0;
9093 PyObject
* _argo1
= 0;
9094 PyObject
* _argo2
= 0;
9095 char *_kwnames
[] = { "self","item","font", NULL
};
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9115 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9116 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) return NULL
;
9127 } Py_INCREF(Py_None
);
9128 _resultobj
= Py_None
;
9132 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9134 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9135 wxPyBeginBlockThreads();
9136 wxRect
* r
= new wxRect(rect
);
9137 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9138 wxPyEndBlockThreads();
9146 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
* _resultobj
;
9149 wxPyTreeCtrl
* _arg0
;
9150 wxTreeItemId
* _arg1
;
9151 int _arg2
= (int ) FALSE
;
9152 PyObject
* _argo0
= 0;
9153 PyObject
* _argo1
= 0;
9154 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) return NULL
;
9180 _resultobj
= _result
;
9185 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9188 src
= (wxDirItemData
*) ptr
;
9189 dest
= (wxObject
*) src
;
9190 return (void *) dest
;
9193 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9194 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
* _resultobj
;
9196 wxDirItemData
* _result
;
9200 PyObject
* _obj0
= 0;
9201 PyObject
* _obj1
= 0;
9203 char *_kwnames
[] = { "path","name","isDir", NULL
};
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9210 _arg0
= wxString_in_helper(_obj0
);
9215 _arg1
= wxString_in_helper(_obj1
);
9219 _arg2
= (bool ) tempbool2
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) return NULL
;
9227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9228 _resultobj
= Py_BuildValue("s",_ptemp
);
9231 _resultobj
= Py_None
;
9244 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9245 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
* _resultobj
;
9247 wxDirItemData
* _arg0
;
9249 PyObject
* _argo0
= 0;
9250 PyObject
* _obj1
= 0;
9251 char *_kwnames
[] = { "self","path", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9264 _arg1
= wxString_in_helper(_obj1
);
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) return NULL
;
9274 } Py_INCREF(Py_None
);
9275 _resultobj
= Py_None
;
9283 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9284 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9287 wxDirItemData
* _arg0
;
9289 PyObject
* _argo0
= 0;
9290 PyObject
* _obj1
= 0;
9291 char *_kwnames
[] = { "self","m_path", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9304 _arg1
= wxString_in_helper(_obj1
);
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) return NULL
;
9316 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9318 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9328 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9329 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
* _resultobj
;
9332 wxDirItemData
* _arg0
;
9333 PyObject
* _argo0
= 0;
9334 char *_kwnames
[] = { "self", NULL
};
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) return NULL
;
9354 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9356 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9362 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9363 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
* _resultobj
;
9366 wxDirItemData
* _arg0
;
9368 PyObject
* _argo0
= 0;
9369 PyObject
* _obj1
= 0;
9370 char *_kwnames
[] = { "self","m_name", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9383 _arg1
= wxString_in_helper(_obj1
);
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) return NULL
;
9395 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9397 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9407 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9408 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
* _resultobj
;
9411 wxDirItemData
* _arg0
;
9412 PyObject
* _argo0
= 0;
9413 char *_kwnames
[] = { "self", NULL
};
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9433 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9441 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9442 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
* _resultobj
;
9445 wxDirItemData
* _arg0
;
9447 PyObject
* _argo0
= 0;
9449 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9461 _arg1
= (bool ) tempbool1
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) return NULL
;
9468 } _resultobj
= Py_BuildValue("i",_result
);
9472 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9473 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
* _resultobj
;
9476 wxDirItemData
* _arg0
;
9477 PyObject
* _argo0
= 0;
9478 char *_kwnames
[] = { "self", NULL
};
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) return NULL
;
9496 } _resultobj
= Py_BuildValue("i",_result
);
9500 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9501 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
* _resultobj
;
9504 wxDirItemData
* _arg0
;
9506 PyObject
* _argo0
= 0;
9508 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9520 _arg1
= (bool ) tempbool1
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) return NULL
;
9527 } _resultobj
= Py_BuildValue("i",_result
);
9531 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9532 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
* _resultobj
;
9535 wxDirItemData
* _arg0
;
9536 PyObject
* _argo0
= 0;
9537 char *_kwnames
[] = { "self", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) return NULL
;
9555 } _resultobj
= Py_BuildValue("i",_result
);
9559 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9560 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
* _resultobj
;
9563 wxDirItemData
* _arg0
;
9565 PyObject
* _argo0
= 0;
9567 char *_kwnames
[] = { "self","m_isDir", NULL
};
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9579 _arg1
= (bool ) tempbool1
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) return NULL
;
9586 } _resultobj
= Py_BuildValue("i",_result
);
9590 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9591 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
* _resultobj
;
9594 wxDirItemData
* _arg0
;
9595 PyObject
* _argo0
= 0;
9596 char *_kwnames
[] = { "self", NULL
};
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) return NULL
;
9614 } _resultobj
= Py_BuildValue("i",_result
);
9618 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9619 wxGenericDirCtrl
*src
;
9621 src
= (wxGenericDirCtrl
*) ptr
;
9622 dest
= (wxControl
*) src
;
9623 return (void *) dest
;
9626 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9627 wxGenericDirCtrl
*src
;
9629 src
= (wxGenericDirCtrl
*) ptr
;
9630 dest
= (wxWindow
*) src
;
9631 return (void *) dest
;
9634 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9635 wxGenericDirCtrl
*src
;
9637 src
= (wxGenericDirCtrl
*) ptr
;
9638 dest
= (wxEvtHandler
*) src
;
9639 return (void *) dest
;
9642 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9643 wxGenericDirCtrl
*src
;
9645 src
= (wxGenericDirCtrl
*) ptr
;
9646 dest
= (wxObject
*) src
;
9647 return (void *) dest
;
9650 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9651 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
* _resultobj
;
9653 wxGenericDirCtrl
* _result
;
9655 wxWindowID _arg1
= (wxWindowID
) -1;
9656 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9657 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9658 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9659 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9660 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9661 int _arg7
= (int ) 0;
9662 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9663 PyObject
* _argo0
= 0;
9664 PyObject
* _obj2
= 0;
9666 PyObject
* _obj3
= 0;
9668 PyObject
* _obj4
= 0;
9669 PyObject
* _obj6
= 0;
9670 PyObject
* _obj8
= 0;
9671 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9686 _arg2
= wxString_in_helper(_obj2
);
9693 if (! wxPoint_helper(_obj3
, &_arg3
))
9699 if (! wxSize_helper(_obj4
, &_arg4
))
9704 _arg6
= wxString_in_helper(_obj6
);
9710 _arg8
= wxString_in_helper(_obj8
);
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) return NULL
;
9721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9722 _resultobj
= Py_BuildValue("s",_ptemp
);
9725 _resultobj
= Py_None
;
9742 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9743 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9745 wxGenericDirCtrl
* _result
;
9746 char *_kwnames
[] = { NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) return NULL
;
9759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9760 _resultobj
= Py_BuildValue("s",_ptemp
);
9763 _resultobj
= Py_None
;
9768 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9769 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
* _resultobj
;
9772 wxGenericDirCtrl
* _arg0
;
9774 wxWindowID _arg2
= (wxWindowID
) -1;
9775 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9776 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9777 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9778 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9779 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
9780 int _arg8
= (int ) 0;
9781 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9782 PyObject
* _argo0
= 0;
9783 PyObject
* _argo1
= 0;
9784 PyObject
* _obj3
= 0;
9786 PyObject
* _obj4
= 0;
9788 PyObject
* _obj5
= 0;
9789 PyObject
* _obj7
= 0;
9790 PyObject
* _obj9
= 0;
9791 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
9797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9812 _arg3
= wxString_in_helper(_obj3
);
9819 if (! wxPoint_helper(_obj4
, &_arg4
))
9825 if (! wxSize_helper(_obj5
, &_arg5
))
9830 _arg7
= wxString_in_helper(_obj7
);
9836 _arg9
= wxString_in_helper(_obj9
);
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) return NULL
;
9846 } _resultobj
= Py_BuildValue("i",_result
);
9862 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9863 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
* _resultobj
;
9866 wxGenericDirCtrl
* _arg0
;
9868 PyObject
* _argo0
= 0;
9869 PyObject
* _obj1
= 0;
9870 char *_kwnames
[] = { "self","path", NULL
};
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
9876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9883 _arg1
= wxString_in_helper(_obj1
);
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) return NULL
;
9893 } _resultobj
= Py_BuildValue("i",_result
);
9901 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
9902 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
* _resultobj
;
9905 wxGenericDirCtrl
* _arg0
;
9906 PyObject
* _argo0
= 0;
9907 char *_kwnames
[] = { "self", NULL
};
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
9913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) return NULL
;
9927 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9929 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9938 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
9939 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
* _resultobj
;
9941 wxGenericDirCtrl
* _arg0
;
9943 PyObject
* _argo0
= 0;
9944 PyObject
* _obj1
= 0;
9945 char *_kwnames
[] = { "self","path", NULL
};
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
9951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
9958 _arg1
= wxString_in_helper(_obj1
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) return NULL
;
9968 } Py_INCREF(Py_None
);
9969 _resultobj
= Py_None
;
9977 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
9978 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
* _resultobj
;
9981 wxGenericDirCtrl
* _arg0
;
9982 PyObject
* _argo0
= 0;
9983 char *_kwnames
[] = { "self", NULL
};
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
9989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) return NULL
;
10003 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10005 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10014 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10015 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
* _resultobj
;
10017 wxString
* _result
;
10018 wxGenericDirCtrl
* _arg0
;
10019 PyObject
* _argo0
= 0;
10020 char *_kwnames
[] = { "self", NULL
};
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) return NULL
;
10040 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10042 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10051 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10052 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10054 wxGenericDirCtrl
* _arg0
;
10056 PyObject
* _argo0
= 0;
10057 PyObject
* _obj1
= 0;
10058 char *_kwnames
[] = { "self","path", NULL
};
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10071 _arg1
= wxString_in_helper(_obj1
);
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) return NULL
;
10081 } Py_INCREF(Py_None
);
10082 _resultobj
= Py_None
;
10090 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10091 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
* _resultobj
;
10093 wxGenericDirCtrl
* _arg0
;
10095 PyObject
* _argo0
= 0;
10097 char *_kwnames
[] = { "self","show", NULL
};
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10109 _arg1
= (bool ) tempbool1
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) return NULL
;
10116 } Py_INCREF(Py_None
);
10117 _resultobj
= Py_None
;
10121 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10122 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
* _resultobj
;
10125 wxGenericDirCtrl
* _arg0
;
10126 PyObject
* _argo0
= 0;
10127 char *_kwnames
[] = { "self", NULL
};
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10145 } _resultobj
= Py_BuildValue("i",_result
);
10149 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10150 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(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_GetFilter",_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_GetFilter. Expected _wxGenericDirCtrl_p.");
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10175 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10177 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10186 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10187 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
* _resultobj
;
10189 wxGenericDirCtrl
* _arg0
;
10191 PyObject
* _argo0
= 0;
10192 PyObject
* _obj1
= 0;
10193 char *_kwnames
[] = { "self","filter", NULL
};
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_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_SetFilter. Expected _wxGenericDirCtrl_p.");
10206 _arg1
= wxString_in_helper(_obj1
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } Py_INCREF(Py_None
);
10217 _resultobj
= Py_None
;
10225 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10226 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
* _resultobj
;
10229 wxGenericDirCtrl
* _arg0
;
10230 PyObject
* _argo0
= 0;
10231 char *_kwnames
[] = { "self", NULL
};
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_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_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) return NULL
;
10249 } _resultobj
= Py_BuildValue("i",_result
);
10253 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10254 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
* _resultobj
;
10256 wxGenericDirCtrl
* _arg0
;
10258 PyObject
* _argo0
= 0;
10259 char *_kwnames
[] = { "self","n", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) return NULL
;
10277 } Py_INCREF(Py_None
);
10278 _resultobj
= Py_None
;
10282 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10283 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
* _resultobj
;
10285 wxTreeItemId
* _result
;
10286 wxGenericDirCtrl
* _arg0
;
10287 PyObject
* _argo0
= 0;
10288 char *_kwnames
[] = { "self", NULL
};
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) return NULL
;
10307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10308 _resultobj
= Py_BuildValue("s",_ptemp
);
10312 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10313 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
* _resultobj
;
10315 wxTreeCtrl
* _result
;
10316 wxGenericDirCtrl
* _arg0
;
10317 PyObject
* _argo0
= 0;
10318 char *_kwnames
[] = { "self", NULL
};
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) return NULL
;
10338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10339 _resultobj
= Py_BuildValue("s",_ptemp
);
10341 Py_INCREF(Py_None
);
10342 _resultobj
= Py_None
;
10347 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10348 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
* _resultobj
;
10350 wxDirFilterListCtrl
* _result
;
10351 wxGenericDirCtrl
* _arg0
;
10352 PyObject
* _argo0
= 0;
10353 char *_kwnames
[] = { "self", NULL
};
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) return NULL
;
10373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10374 _resultobj
= Py_BuildValue("s",_ptemp
);
10376 Py_INCREF(Py_None
);
10377 _resultobj
= Py_None
;
10382 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10383 wxDirFilterListCtrl
*src
;
10385 src
= (wxDirFilterListCtrl
*) ptr
;
10386 dest
= (wxChoice
*) src
;
10387 return (void *) dest
;
10390 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10391 wxDirFilterListCtrl
*src
;
10392 wxControlWithItems
*dest
;
10393 src
= (wxDirFilterListCtrl
*) ptr
;
10394 dest
= (wxControlWithItems
*) src
;
10395 return (void *) dest
;
10398 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10399 wxDirFilterListCtrl
*src
;
10401 src
= (wxDirFilterListCtrl
*) ptr
;
10402 dest
= (wxControl
*) src
;
10403 return (void *) dest
;
10406 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10407 wxDirFilterListCtrl
*src
;
10409 src
= (wxDirFilterListCtrl
*) ptr
;
10410 dest
= (wxWindow
*) src
;
10411 return (void *) dest
;
10414 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10415 wxDirFilterListCtrl
*src
;
10416 wxEvtHandler
*dest
;
10417 src
= (wxDirFilterListCtrl
*) ptr
;
10418 dest
= (wxEvtHandler
*) src
;
10419 return (void *) dest
;
10422 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10423 wxDirFilterListCtrl
*src
;
10425 src
= (wxDirFilterListCtrl
*) ptr
;
10426 dest
= (wxObject
*) src
;
10427 return (void *) dest
;
10430 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10431 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
* _resultobj
;
10433 wxDirFilterListCtrl
* _result
;
10434 wxGenericDirCtrl
* _arg0
;
10435 wxWindowID _arg1
= (wxWindowID
) -1;
10436 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10437 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10438 long _arg4
= (long ) 0;
10439 PyObject
* _argo0
= 0;
10441 PyObject
* _obj2
= 0;
10443 PyObject
* _obj3
= 0;
10444 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10460 if (! wxPoint_helper(_obj2
, &_arg2
))
10466 if (! wxSize_helper(_obj3
, &_arg3
))
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) return NULL
;
10476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10477 _resultobj
= Py_BuildValue("s",_ptemp
);
10479 Py_INCREF(Py_None
);
10480 _resultobj
= Py_None
;
10485 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10486 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
* _resultobj
;
10488 wxDirFilterListCtrl
* _result
;
10489 char *_kwnames
[] = { NULL
};
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) return NULL
;
10502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10503 _resultobj
= Py_BuildValue("s",_ptemp
);
10505 Py_INCREF(Py_None
);
10506 _resultobj
= Py_None
;
10511 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10512 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
* _resultobj
;
10515 wxDirFilterListCtrl
* _arg0
;
10516 wxGenericDirCtrl
* _arg1
;
10517 wxWindowID _arg2
= (wxWindowID
) -1;
10518 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10519 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10520 long _arg5
= (long ) 0;
10521 PyObject
* _argo0
= 0;
10522 PyObject
* _argo1
= 0;
10524 PyObject
* _obj3
= 0;
10526 PyObject
* _obj4
= 0;
10527 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10549 if (! wxPoint_helper(_obj3
, &_arg3
))
10555 if (! wxSize_helper(_obj4
, &_arg4
))
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) return NULL
;
10564 } _resultobj
= Py_BuildValue("i",_result
);
10568 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10569 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
* _resultobj
;
10571 wxDirFilterListCtrl
* _arg0
;
10574 PyObject
* _argo0
= 0;
10575 PyObject
* _obj1
= 0;
10576 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10589 _arg1
= wxString_in_helper(_obj1
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) return NULL
;
10599 } Py_INCREF(Py_None
);
10600 _resultobj
= Py_None
;
10608 static PyMethodDef controls2cMethods
[] = {
10609 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10641 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10642 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10643 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10644 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10645 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10646 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10647 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10648 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10649 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10650 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10651 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10652 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10653 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10654 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10655 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10656 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10657 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10658 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10659 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10660 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10661 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10662 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10663 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10664 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10665 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10666 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10667 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10668 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10669 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10670 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10671 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10672 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10673 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10674 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10675 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10676 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10677 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10678 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10679 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10680 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10681 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10682 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10683 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10684 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10685 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10686 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10687 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10688 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10689 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10690 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10691 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10692 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10693 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10694 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10695 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10696 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10697 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10698 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10901 * This table is used by the pointer type-checker
10903 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10904 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
10905 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
10906 { "_signed_long","_long",0},
10907 { "_wxPrintQuality","_wxCoord",0},
10908 { "_wxPrintQuality","_int",0},
10909 { "_wxPrintQuality","_signed_int",0},
10910 { "_wxPrintQuality","_unsigned_int",0},
10911 { "_wxPrintQuality","_wxWindowID",0},
10912 { "_wxPrintQuality","_uint",0},
10913 { "_wxPrintQuality","_EBool",0},
10914 { "_wxPrintQuality","_size_t",0},
10915 { "_wxPrintQuality","_time_t",0},
10916 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
10917 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
10918 { "_byte","_unsigned_char",0},
10919 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
10920 { "_long","_unsigned_long",0},
10921 { "_long","_signed_long",0},
10922 { "_size_t","_wxCoord",0},
10923 { "_size_t","_wxPrintQuality",0},
10924 { "_size_t","_time_t",0},
10925 { "_size_t","_unsigned_int",0},
10926 { "_size_t","_int",0},
10927 { "_size_t","_wxWindowID",0},
10928 { "_size_t","_uint",0},
10929 { "_uint","_wxCoord",0},
10930 { "_uint","_wxPrintQuality",0},
10931 { "_uint","_time_t",0},
10932 { "_uint","_size_t",0},
10933 { "_uint","_unsigned_int",0},
10934 { "_uint","_int",0},
10935 { "_uint","_wxWindowID",0},
10936 { "_wxChar","_char",0},
10937 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
10938 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
10939 { "_char","_wxChar",0},
10940 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10941 { "_EBool","_wxCoord",0},
10942 { "_EBool","_wxPrintQuality",0},
10943 { "_EBool","_signed_int",0},
10944 { "_EBool","_int",0},
10945 { "_EBool","_wxWindowID",0},
10946 { "_unsigned_long","_long",0},
10947 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10948 { "_signed_int","_wxCoord",0},
10949 { "_signed_int","_wxPrintQuality",0},
10950 { "_signed_int","_EBool",0},
10951 { "_signed_int","_wxWindowID",0},
10952 { "_signed_int","_int",0},
10953 { "_WXTYPE","_short",0},
10954 { "_WXTYPE","_signed_short",0},
10955 { "_WXTYPE","_unsigned_short",0},
10956 { "_unsigned_short","_WXTYPE",0},
10957 { "_unsigned_short","_short",0},
10958 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
10959 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
10960 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
10961 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
10962 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
10963 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
10964 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
10965 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
10966 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
10967 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
10968 { "_signed_short","_WXTYPE",0},
10969 { "_signed_short","_short",0},
10970 { "_unsigned_char","_byte",0},
10971 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
10972 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
10973 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
10974 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
10975 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
10976 { "_unsigned_int","_wxCoord",0},
10977 { "_unsigned_int","_wxPrintQuality",0},
10978 { "_unsigned_int","_time_t",0},
10979 { "_unsigned_int","_size_t",0},
10980 { "_unsigned_int","_uint",0},
10981 { "_unsigned_int","_wxWindowID",0},
10982 { "_unsigned_int","_int",0},
10983 { "_short","_WXTYPE",0},
10984 { "_short","_unsigned_short",0},
10985 { "_short","_signed_short",0},
10986 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
10987 { "_wxWindowID","_wxCoord",0},
10988 { "_wxWindowID","_wxPrintQuality",0},
10989 { "_wxWindowID","_time_t",0},
10990 { "_wxWindowID","_size_t",0},
10991 { "_wxWindowID","_EBool",0},
10992 { "_wxWindowID","_uint",0},
10993 { "_wxWindowID","_int",0},
10994 { "_wxWindowID","_signed_int",0},
10995 { "_wxWindowID","_unsigned_int",0},
10996 { "_int","_wxCoord",0},
10997 { "_int","_wxPrintQuality",0},
10998 { "_int","_time_t",0},
10999 { "_int","_size_t",0},
11000 { "_int","_EBool",0},
11001 { "_int","_uint",0},
11002 { "_int","_wxWindowID",0},
11003 { "_int","_unsigned_int",0},
11004 { "_int","_signed_int",0},
11005 { "_time_t","_wxCoord",0},
11006 { "_time_t","_wxPrintQuality",0},
11007 { "_time_t","_unsigned_int",0},
11008 { "_time_t","_int",0},
11009 { "_time_t","_wxWindowID",0},
11010 { "_time_t","_uint",0},
11011 { "_time_t","_size_t",0},
11012 { "_wxCoord","_int",0},
11013 { "_wxCoord","_signed_int",0},
11014 { "_wxCoord","_unsigned_int",0},
11015 { "_wxCoord","_wxWindowID",0},
11016 { "_wxCoord","_uint",0},
11017 { "_wxCoord","_EBool",0},
11018 { "_wxCoord","_size_t",0},
11019 { "_wxCoord","_time_t",0},
11020 { "_wxCoord","_wxPrintQuality",0},
11021 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11022 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11023 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11024 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11025 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11026 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11027 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11028 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11029 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11030 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11031 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11034 static PyObject
*SWIG_globals
;
11038 SWIGEXPORT(void) initcontrols2c() {
11040 SWIG_globals
= SWIG_newvarlink();
11041 m
= Py_InitModule("controls2c", controls2cMethods
);
11042 d
= PyModule_GetDict(m
);
11043 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11044 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11045 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11046 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11047 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11048 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11049 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11050 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11051 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11052 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11053 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11054 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11055 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11056 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11057 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11058 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11059 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11060 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11061 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11062 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11063 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11064 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11065 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11066 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11067 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11068 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11069 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11070 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11071 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11072 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11073 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11074 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11075 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11076 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11077 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11078 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11079 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11080 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11081 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11082 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11083 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11084 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11085 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11086 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11087 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11088 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11089 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11090 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11091 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11092 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11093 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11094 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11095 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11096 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11097 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11098 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11099 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11100 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11101 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11102 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11103 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11104 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11105 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11106 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11107 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11108 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11109 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11110 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11111 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11112 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11113 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11114 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11115 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11116 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11117 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11118 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11119 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11120 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11121 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11122 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11123 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11124 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11125 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11126 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11127 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11128 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11129 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11130 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11131 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11132 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11133 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11134 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11135 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11136 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11137 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11138 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11139 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11140 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11141 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11142 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11143 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11144 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11145 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11146 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11147 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11148 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11149 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11150 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11151 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11152 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11153 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11154 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11155 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11156 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11157 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11158 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11159 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11160 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11161 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11162 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11163 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11164 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11165 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11166 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11167 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11168 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11169 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11170 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11171 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11172 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11173 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11174 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11175 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11176 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11177 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11178 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11179 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11180 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11181 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11182 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11183 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11184 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11185 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11187 // Map renamed classes back to their common name for OOR
11188 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11189 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11190 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11193 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11194 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);