2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3366 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3368 wxTextCtrl
* _result
;
3369 wxPyListCtrl
* _arg0
;
3370 PyObject
* _argo0
= 0;
3371 char *_kwnames
[] = { "self", NULL
};
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) return NULL
;
3389 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3393 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3394 wxListItem
* info
= new wxListItem
;
3395 info
->m_itemId
= itemId
;
3397 info
->m_mask
= 0xFFFF;
3398 self
->GetItem(*info
);
3401 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
* _resultobj
;
3403 wxListItem
* _result
;
3404 wxPyListCtrl
* _arg0
;
3406 int _arg2
= (int ) 0;
3407 PyObject
* _argo0
= 0;
3408 char *_kwnames
[] = { "self","itemId","col", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3426 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3430 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3431 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3434 wxPyListCtrl
* _arg0
;
3436 PyObject
* _argo0
= 0;
3437 PyObject
* _argo1
= 0;
3438 char *_kwnames
[] = { "self","info", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) return NULL
;
3463 } _resultobj
= Py_BuildValue("i",_result
);
3467 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3468 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3471 wxPyListCtrl
* _arg0
;
3475 int _arg4
= (int ) -1;
3476 PyObject
* _argo0
= 0;
3477 PyObject
* _obj3
= 0;
3478 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3491 _arg3
= wxString_in_helper(_obj3
);
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) return NULL
;
3501 } _resultobj
= Py_BuildValue("l",_result
);
3509 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3510 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3513 wxPyListCtrl
* _arg0
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3540 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3543 wxPyListCtrl
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3571 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3574 wxPyListCtrl
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3597 } _resultobj
= Py_BuildValue("i",_result
);
3601 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3602 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3605 wxPyListCtrl
* _arg0
;
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self","item", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) return NULL
;
3628 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3630 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3639 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3640 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3642 wxPyListCtrl
* _arg0
;
3645 PyObject
* _argo0
= 0;
3646 PyObject
* _obj2
= 0;
3647 char *_kwnames
[] = { "self","item","str", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3660 _arg2
= wxString_in_helper(_obj2
);
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) return NULL
;
3670 } Py_INCREF(Py_None
);
3671 _resultobj
= Py_None
;
3679 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3680 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3683 wxPyListCtrl
* _arg0
;
3685 PyObject
* _argo0
= 0;
3686 char *_kwnames
[] = { "self","item", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3704 } _resultobj
= Py_BuildValue("l",_result
);
3708 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3709 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3712 wxPyListCtrl
* _arg0
;
3715 PyObject
* _argo0
= 0;
3716 char *_kwnames
[] = { "self","item","data", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) return NULL
;
3734 } _resultobj
= Py_BuildValue("i",_result
);
3738 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3739 wxPoint
* pos
= new wxPoint
;
3740 self
->GetItemPosition(item
, *pos
);
3743 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3746 wxPyListCtrl
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self","item", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) return NULL
;
3769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3770 _resultobj
= Py_BuildValue("s",_ptemp
);
3773 _resultobj
= Py_None
;
3778 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3779 wxRect
* rect
= new wxRect
;
3780 self
->GetItemRect(item
, *rect
, code
);
3783 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3786 wxPyListCtrl
* _arg0
;
3788 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self","item","code", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) return NULL
;
3810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3811 _resultobj
= Py_BuildValue("s",_ptemp
);
3814 _resultobj
= Py_None
;
3819 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3820 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3823 wxPyListCtrl
* _arg0
;
3826 PyObject
* _argo0
= 0;
3828 PyObject
* _obj2
= 0;
3829 char *_kwnames
[] = { "self","item","pos", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3843 if (! wxPoint_helper(_obj2
, &_arg2
))
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 } _resultobj
= Py_BuildValue("i",_result
);
3856 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3857 static PyObject
*_wrap_wxListCtrl_GetItemCount(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_GetItemCount",_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_GetItemCount. Expected _wxPyListCtrl_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3885 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3888 wxPyListCtrl
* _arg0
;
3889 PyObject
* _argo0
= 0;
3890 char *_kwnames
[] = { "self", NULL
};
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) return NULL
;
3908 } _resultobj
= Py_BuildValue("i",_result
);
3912 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3913 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3916 wxPyListCtrl
* _arg0
;
3918 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self","isSmall", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3932 _arg1
= (bool ) tempbool1
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3944 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3947 wxPyListCtrl
* _arg0
;
3948 PyObject
* _argo0
= 0;
3949 char *_kwnames
[] = { "self", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) return NULL
;
3967 } _resultobj
= Py_BuildValue("i",_result
);
3971 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3972 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3975 wxPyListCtrl
* _arg0
;
3976 PyObject
* _argo0
= 0;
3977 char *_kwnames
[] = { "self", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) return NULL
;
3996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3997 _resultobj
= Py_BuildValue("s",_ptemp
);
4001 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4002 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4004 wxPyListCtrl
* _arg0
;
4006 PyObject
* _argo0
= 0;
4008 PyObject
* _obj1
= 0;
4009 char *_kwnames
[] = { "self","col", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4023 if (! wxColour_helper(_obj1
, &_arg1
))
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4038 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4041 wxPyListCtrl
* _arg0
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } _resultobj
= Py_BuildValue("l",_result
);
4065 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4066 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 wxPyListCtrl
* _arg0
;
4070 bool _arg2
= (bool ) TRUE
;
4071 PyObject
* _argo0
= 0;
4072 int tempbool2
= (int) TRUE
;
4073 char *_kwnames
[] = { "self","style","add", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4085 _arg2
= (bool ) tempbool2
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) return NULL
;
4092 } Py_INCREF(Py_None
);
4093 _resultobj
= Py_None
;
4097 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4098 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxPyListCtrl
* _arg0
;
4102 PyObject
* _argo0
= 0;
4103 char *_kwnames
[] = { "self","style", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) return NULL
;
4121 } Py_INCREF(Py_None
);
4122 _resultobj
= Py_None
;
4126 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4127 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4130 wxPyListCtrl
* _arg0
;
4132 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4133 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } _resultobj
= Py_BuildValue("l",_result
);
4157 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4158 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4160 wxImageList
* _result
;
4161 wxPyListCtrl
* _arg0
;
4163 PyObject
* _argo0
= 0;
4164 char *_kwnames
[] = { "self","which", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) return NULL
;
4182 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4186 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4187 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4189 wxPyListCtrl
* _arg0
;
4190 wxImageList
* _arg1
;
4192 PyObject
* _argo0
= 0;
4193 PyObject
* _argo1
= 0;
4194 char *_kwnames
[] = { "self","imageList","which", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4207 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) return NULL
;
4219 } Py_INCREF(Py_None
);
4220 _resultobj
= Py_None
;
4224 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4225 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxPyListCtrl
* _arg0
;
4228 wxImageList
* _arg1
;
4230 PyObject
* _argo0
= 0;
4231 PyObject
* _argo1
= 0;
4232 char *_kwnames
[] = { "self","imageList","which", NULL
};
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) return NULL
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4263 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4266 wxPyListCtrl
* _arg0
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
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_IsVirtual. Expected _wxPyListCtrl_p.");
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) return NULL
;
4286 } _resultobj
= Py_BuildValue("i",_result
);
4290 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4291 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4293 wxPyListCtrl
* _arg0
;
4295 PyObject
* _argo0
= 0;
4296 char *_kwnames
[] = { "self","item", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) return NULL
;
4314 } Py_INCREF(Py_None
);
4315 _resultobj
= Py_None
;
4319 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4320 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
* _resultobj
;
4322 wxPyListCtrl
* _arg0
;
4325 PyObject
* _argo0
= 0;
4326 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) return NULL
;
4344 } Py_INCREF(Py_None
);
4345 _resultobj
= Py_None
;
4349 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4350 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4353 wxPyListCtrl
* _arg0
;
4354 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4355 PyObject
* _argo0
= 0;
4356 char *_kwnames
[] = { "self","flag", NULL
};
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) return NULL
;
4374 } _resultobj
= Py_BuildValue("i",_result
);
4378 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4379 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4382 wxPyListCtrl
* _arg0
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self","item", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
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_DeleteItem. Expected _wxPyListCtrl_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4403 } _resultobj
= Py_BuildValue("i",_result
);
4407 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4408 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
* _resultobj
;
4411 wxPyListCtrl
* _arg0
;
4412 PyObject
* _argo0
= 0;
4413 char *_kwnames
[] = { "self", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) return NULL
;
4431 } _resultobj
= Py_BuildValue("i",_result
);
4435 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4436 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4439 wxPyListCtrl
* _arg0
;
4441 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self","col", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
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_DeleteColumn. Expected _wxPyListCtrl_p.");
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) return NULL
;
4460 } _resultobj
= Py_BuildValue("i",_result
);
4464 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4465 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4468 wxPyListCtrl
* _arg0
;
4469 PyObject
* _argo0
= 0;
4470 char *_kwnames
[] = { "self", NULL
};
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) return NULL
;
4488 } _resultobj
= Py_BuildValue("i",_result
);
4492 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4493 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4495 wxPyListCtrl
* _arg0
;
4496 PyObject
* _argo0
= 0;
4497 char *_kwnames
[] = { "self", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 wxListCtrl_ClearAll(_arg0
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4515 } Py_INCREF(Py_None
);
4516 _resultobj
= Py_None
;
4520 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4521 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4523 wxTextCtrl
* _result
;
4524 wxPyListCtrl
* _arg0
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self","item", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4545 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4549 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4550 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4553 wxPyListCtrl
* _arg0
;
4555 PyObject
* _argo0
= 0;
4557 char *_kwnames
[] = { "self","cancel", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4569 _arg1
= (bool ) tempbool1
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } _resultobj
= Py_BuildValue("i",_result
);
4580 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4581 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4584 wxPyListCtrl
* _arg0
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self","item", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4605 } _resultobj
= Py_BuildValue("i",_result
);
4609 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4610 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
* _resultobj
;
4613 wxPyListCtrl
* _arg0
;
4616 bool _arg3
= (bool ) FALSE
;
4617 PyObject
* _argo0
= 0;
4618 PyObject
* _obj2
= 0;
4619 int tempbool3
= (int) FALSE
;
4620 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4633 _arg2
= wxString_in_helper(_obj2
);
4637 _arg3
= (bool ) tempbool3
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4644 } _resultobj
= Py_BuildValue("l",_result
);
4652 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4653 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 wxPyListCtrl
* _arg0
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "self","start","data", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) return NULL
;
4678 } _resultobj
= Py_BuildValue("l",_result
);
4682 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4683 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4686 wxPyListCtrl
* _arg0
;
4690 PyObject
* _argo0
= 0;
4692 PyObject
* _obj2
= 0;
4693 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4707 if (! wxPoint_helper(_obj2
, &_arg2
))
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 } _resultobj
= Py_BuildValue("l",_result
);
4720 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4721 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4724 wxPyListCtrl
* _arg0
;
4728 PyObject
* _argo0
= 0;
4730 PyObject
* _obj1
= 0;
4731 char *_kwnames
[] = { "self","point", NULL
};
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4748 if (! wxPoint_helper(_obj1
, &_arg1
))
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 } _resultobj
= Py_BuildValue("l",_result
);
4760 o
= PyInt_FromLong((long) (*_arg2
));
4761 _resultobj
= t_output_helper(_resultobj
, o
);
4766 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4767 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4770 wxPyListCtrl
* _arg0
;
4772 PyObject
* _argo0
= 0;
4773 PyObject
* _argo1
= 0;
4774 char *_kwnames
[] = { "self","info", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) return NULL
;
4799 } _resultobj
= Py_BuildValue("l",_result
);
4803 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4804 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4807 wxPyListCtrl
* _arg0
;
4810 PyObject
* _argo0
= 0;
4811 PyObject
* _obj2
= 0;
4812 char *_kwnames
[] = { "self","index","label", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4825 _arg2
= wxString_in_helper(_obj2
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) return NULL
;
4835 } _resultobj
= Py_BuildValue("l",_result
);
4843 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4844 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4847 wxPyListCtrl
* _arg0
;
4850 PyObject
* _argo0
= 0;
4851 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) return NULL
;
4869 } _resultobj
= Py_BuildValue("l",_result
);
4873 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4874 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4877 wxPyListCtrl
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 PyObject
* _obj2
= 0;
4883 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4896 _arg2
= wxString_in_helper(_obj2
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } _resultobj
= Py_BuildValue("l",_result
);
4914 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4915 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 wxPyListCtrl
* _arg0
;
4921 PyObject
* _argo0
= 0;
4922 PyObject
* _argo2
= 0;
4923 char *_kwnames
[] = { "self","col","info", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4936 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) return NULL
;
4948 } _resultobj
= Py_BuildValue("l",_result
);
4952 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4953 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4956 wxPyListCtrl
* _arg0
;
4959 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4960 int _arg4
= (int ) -1;
4961 PyObject
* _argo0
= 0;
4962 PyObject
* _obj2
= 0;
4963 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4976 _arg2
= wxString_in_helper(_obj2
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } _resultobj
= Py_BuildValue("l",_result
);
4994 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4995 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4997 wxPyListCtrl
* _arg0
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self","count", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } Py_INCREF(Py_None
);
5019 _resultobj
= Py_None
;
5023 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5024 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5027 wxPyListCtrl
* _arg0
;
5030 PyObject
* _argo0
= 0;
5031 char *_kwnames
[] = { "self","dx","dy", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) return NULL
;
5049 } _resultobj
= Py_BuildValue("i",_result
);
5053 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5054 if (!PyCallable_Check(func
))
5056 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5058 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5061 wxPyListCtrl
* _arg0
;
5063 PyObject
* _argo0
= 0;
5064 PyObject
* _obj1
= 0;
5065 char *_kwnames
[] = { "self","func", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5086 } _resultobj
= Py_BuildValue("i",_result
);
5090 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5093 src
= (wxListView
*) ptr
;
5094 dest
= (wxPyListCtrl
*) src
;
5095 return (void *) dest
;
5098 static void *SwigwxListViewTowxControl(void *ptr
) {
5101 src
= (wxListView
*) ptr
;
5102 dest
= (wxControl
*) src
;
5103 return (void *) dest
;
5106 static void *SwigwxListViewTowxWindow(void *ptr
) {
5109 src
= (wxListView
*) ptr
;
5110 dest
= (wxWindow
*) src
;
5111 return (void *) dest
;
5114 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5117 src
= (wxListView
*) ptr
;
5118 dest
= (wxEvtHandler
*) src
;
5119 return (void *) dest
;
5122 static void *SwigwxListViewTowxObject(void *ptr
) {
5125 src
= (wxListView
*) ptr
;
5126 dest
= (wxObject
*) src
;
5127 return (void *) dest
;
5130 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5131 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5133 wxListView
* _result
;
5135 wxWindowID _arg1
= (wxWindowID
) -1;
5136 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5137 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5138 long _arg4
= (long ) (wxLC_REPORT
);
5139 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5140 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5141 PyObject
* _argo0
= 0;
5143 PyObject
* _obj2
= 0;
5145 PyObject
* _obj3
= 0;
5146 PyObject
* _argo5
= 0;
5147 PyObject
* _obj6
= 0;
5148 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5164 if (! wxPoint_helper(_obj2
, &_arg2
))
5170 if (! wxSize_helper(_obj3
, &_arg3
))
5174 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5182 _arg6
= wxString_in_helper(_obj6
);
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5194 _resultobj
= Py_BuildValue("s",_ptemp
);
5197 _resultobj
= Py_None
;
5206 #define new_wxPreListView() (new wxListView())
5207 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5209 wxListView
* _result
;
5210 char *_kwnames
[] = { NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 _result
= (wxListView
*)new_wxPreListView();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5224 _resultobj
= Py_BuildValue("s",_ptemp
);
5227 _resultobj
= Py_None
;
5232 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5233 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5238 wxWindowID _arg2
= (wxWindowID
) -1;
5239 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5240 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5241 long _arg5
= (long ) (wxLC_REPORT
);
5242 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5243 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5244 PyObject
* _argo0
= 0;
5245 PyObject
* _argo1
= 0;
5247 PyObject
* _obj3
= 0;
5249 PyObject
* _obj4
= 0;
5250 PyObject
* _argo6
= 0;
5251 PyObject
* _obj7
= 0;
5252 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5274 if (! wxPoint_helper(_obj3
, &_arg3
))
5280 if (! wxSize_helper(_obj4
, &_arg4
))
5284 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5292 _arg7
= wxString_in_helper(_obj7
);
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) return NULL
;
5302 } _resultobj
= Py_BuildValue("i",_result
);
5310 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5311 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5315 bool _arg2
= (bool ) TRUE
;
5316 PyObject
* _argo0
= 0;
5317 int tempbool2
= (int) TRUE
;
5318 char *_kwnames
[] = { "self","n","on", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
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_Select. Expected _wxListView_p.");
5330 _arg2
= (bool ) tempbool2
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 wxListView_Select(_arg0
,_arg1
,_arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) return NULL
;
5337 } Py_INCREF(Py_None
);
5338 _resultobj
= Py_None
;
5342 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5343 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
* _resultobj
;
5347 PyObject
* _argo0
= 0;
5348 char *_kwnames
[] = { "self","index", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 wxListView_Focus(_arg0
,_arg1
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5366 } Py_INCREF(Py_None
);
5367 _resultobj
= Py_None
;
5371 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5372 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5376 PyObject
* _argo0
= 0;
5377 char *_kwnames
[] = { "self", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) return NULL
;
5395 } _resultobj
= Py_BuildValue("l",_result
);
5399 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5400 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5405 PyObject
* _argo0
= 0;
5406 char *_kwnames
[] = { "self","item", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) return NULL
;
5424 } _resultobj
= Py_BuildValue("l",_result
);
5428 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5429 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
* _resultobj
;
5433 PyObject
* _argo0
= 0;
5434 char *_kwnames
[] = { "self", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) return NULL
;
5452 } _resultobj
= Py_BuildValue("l",_result
);
5456 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5457 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
* _resultobj
;
5462 PyObject
* _argo0
= 0;
5463 char *_kwnames
[] = { "self","index", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) return NULL
;
5481 } _resultobj
= Py_BuildValue("i",_result
);
5485 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5486 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 char *_kwnames
[] = { "self","col","image", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5510 } Py_INCREF(Py_None
);
5511 _resultobj
= Py_None
;
5515 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5516 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
* _resultobj
;
5520 PyObject
* _argo0
= 0;
5521 char *_kwnames
[] = { "self","col", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 wxListView_ClearColumnImage(_arg0
,_arg1
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) return NULL
;
5539 } Py_INCREF(Py_None
);
5540 _resultobj
= Py_None
;
5544 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5545 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5547 wxTreeItemAttr
* _result
;
5548 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5549 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5550 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5552 PyObject
* _obj0
= 0;
5554 PyObject
* _obj1
= 0;
5555 PyObject
* _argo2
= 0;
5556 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5565 if (! wxColour_helper(_obj0
, &_arg0
))
5571 if (! wxColour_helper(_obj1
, &_arg1
))
5575 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) return NULL
;
5588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5589 _resultobj
= Py_BuildValue("s",_ptemp
);
5592 _resultobj
= Py_None
;
5597 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5598 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5600 wxTreeItemAttr
* _arg0
;
5602 PyObject
* _argo0
= 0;
5604 PyObject
* _obj1
= 0;
5605 char *_kwnames
[] = { "self","colText", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5619 if (! wxColour_helper(_obj1
, &_arg1
))
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) return NULL
;
5628 } Py_INCREF(Py_None
);
5629 _resultobj
= Py_None
;
5633 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5634 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5636 wxTreeItemAttr
* _arg0
;
5638 PyObject
* _argo0
= 0;
5640 PyObject
* _obj1
= 0;
5641 char *_kwnames
[] = { "self","colBack", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5655 if (! wxColour_helper(_obj1
, &_arg1
))
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) return NULL
;
5664 } Py_INCREF(Py_None
);
5665 _resultobj
= Py_None
;
5669 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5670 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5672 wxTreeItemAttr
* _arg0
;
5674 PyObject
* _argo0
= 0;
5675 PyObject
* _argo1
= 0;
5676 char *_kwnames
[] = { "self","font", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) return NULL
;
5701 } Py_INCREF(Py_None
);
5702 _resultobj
= Py_None
;
5706 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5707 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5710 wxTreeItemAttr
* _arg0
;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) return NULL
;
5730 } _resultobj
= Py_BuildValue("i",_result
);
5734 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5735 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5738 wxTreeItemAttr
* _arg0
;
5739 PyObject
* _argo0
= 0;
5740 char *_kwnames
[] = { "self", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) return NULL
;
5758 } _resultobj
= Py_BuildValue("i",_result
);
5762 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5763 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5766 wxTreeItemAttr
* _arg0
;
5767 PyObject
* _argo0
= 0;
5768 char *_kwnames
[] = { "self", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) return NULL
;
5786 } _resultobj
= Py_BuildValue("i",_result
);
5790 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5791 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5794 wxTreeItemAttr
* _arg0
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) return NULL
;
5815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5816 _resultobj
= Py_BuildValue("s",_ptemp
);
5820 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5821 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5824 wxTreeItemAttr
* _arg0
;
5825 PyObject
* _argo0
= 0;
5826 char *_kwnames
[] = { "self", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) return NULL
;
5845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5846 _resultobj
= Py_BuildValue("s",_ptemp
);
5850 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5851 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5854 wxTreeItemAttr
* _arg0
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self", NULL
};
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) return NULL
;
5875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5876 _resultobj
= Py_BuildValue("s",_ptemp
);
5880 #define new_wxTreeItemId() (new wxTreeItemId())
5881 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5883 wxTreeItemId
* _result
;
5884 char *_kwnames
[] = { NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) return NULL
;
5897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5898 _resultobj
= Py_BuildValue("s",_ptemp
);
5901 _resultobj
= Py_None
;
5906 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5907 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5909 wxTreeItemId
* _arg0
;
5910 PyObject
* _argo0
= 0;
5911 char *_kwnames
[] = { "self", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 delete_wxTreeItemId(_arg0
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) return NULL
;
5929 } Py_INCREF(Py_None
);
5930 _resultobj
= Py_None
;
5934 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5935 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5938 wxTreeItemId
* _arg0
;
5939 PyObject
* _argo0
= 0;
5940 char *_kwnames
[] = { "self", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5958 } _resultobj
= Py_BuildValue("i",_result
);
5962 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5963 if (! other
) return -1;
5964 return *self
!= *other
;
5966 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5969 wxTreeItemId
* _arg0
;
5970 wxTreeItemId
* _arg1
;
5971 PyObject
* _argo0
= 0;
5972 PyObject
* _argo1
= 0;
5973 char *_kwnames
[] = { "self","other", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) return NULL
;
5998 } _resultobj
= Py_BuildValue("i",_result
);
6002 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6003 wxPyTreeItemData
*src
;
6005 src
= (wxPyTreeItemData
*) ptr
;
6006 dest
= (wxObject
*) src
;
6007 return (void *) dest
;
6010 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6011 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6013 wxPyTreeItemData
* _result
;
6014 PyObject
* _arg0
= (PyObject
*) NULL
;
6015 PyObject
* _obj0
= 0;
6016 char *_kwnames
[] = { "obj", NULL
};
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) return NULL
;
6033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6034 _resultobj
= Py_BuildValue("s",_ptemp
);
6037 _resultobj
= Py_None
;
6042 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6043 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6046 wxPyTreeItemData
* _arg0
;
6047 PyObject
* _argo0
= 0;
6048 char *_kwnames
[] = { "self", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6067 _resultobj
= _result
;
6072 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6073 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6075 wxPyTreeItemData
* _arg0
;
6077 PyObject
* _argo0
= 0;
6078 PyObject
* _obj1
= 0;
6079 char *_kwnames
[] = { "self","obj", NULL
};
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 wxTreeItemData_SetData(_arg0
,_arg1
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) return NULL
;
6100 } Py_INCREF(Py_None
);
6101 _resultobj
= Py_None
;
6105 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6106 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
* _resultobj
;
6108 wxTreeItemId
* _result
;
6109 wxPyTreeItemData
* _arg0
;
6110 PyObject
* _argo0
= 0;
6111 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6127 _result
= (wxTreeItemId
*) &_result_ref
;
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) return NULL
;
6132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6133 _resultobj
= Py_BuildValue("s",_ptemp
);
6136 _resultobj
= Py_None
;
6141 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6142 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6144 wxPyTreeItemData
* _arg0
;
6145 wxTreeItemId
* _arg1
;
6146 PyObject
* _argo0
= 0;
6147 PyObject
* _argo1
= 0;
6148 char *_kwnames
[] = { "self","id", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 wxTreeItemData_SetId(_arg0
,*_arg1
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) return NULL
;
6173 } Py_INCREF(Py_None
);
6174 _resultobj
= Py_None
;
6178 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6180 wxNotifyEvent
*dest
;
6181 src
= (wxTreeEvent
*) ptr
;
6182 dest
= (wxNotifyEvent
*) src
;
6183 return (void *) dest
;
6186 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6188 wxCommandEvent
*dest
;
6189 src
= (wxTreeEvent
*) ptr
;
6190 dest
= (wxCommandEvent
*) src
;
6191 return (void *) dest
;
6194 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6197 src
= (wxTreeEvent
*) ptr
;
6198 dest
= (wxEvent
*) src
;
6199 return (void *) dest
;
6202 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6205 src
= (wxTreeEvent
*) ptr
;
6206 dest
= (wxObject
*) src
;
6207 return (void *) dest
;
6210 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6211 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6213 wxTreeEvent
* _result
;
6214 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6215 int _arg1
= (int ) 0;
6216 char *_kwnames
[] = { "commandType","id", NULL
};
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) return NULL
;
6229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6230 _resultobj
= Py_BuildValue("s",_ptemp
);
6233 _resultobj
= Py_None
;
6238 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6239 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
* _resultobj
;
6241 wxTreeItemId
* _result
;
6242 wxTreeEvent
* _arg0
;
6243 PyObject
* _argo0
= 0;
6244 char *_kwnames
[] = { "self", NULL
};
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) return NULL
;
6263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6264 _resultobj
= Py_BuildValue("s",_ptemp
);
6268 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6269 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6271 wxTreeItemId
* _result
;
6272 wxTreeEvent
* _arg0
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) return NULL
;
6293 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6294 _resultobj
= Py_BuildValue("s",_ptemp
);
6298 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6299 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6302 wxTreeEvent
* _arg0
;
6303 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) return NULL
;
6323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6324 _resultobj
= Py_BuildValue("s",_ptemp
);
6328 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6329 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6331 wxKeyEvent
* _result
;
6332 wxTreeEvent
* _arg0
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6350 _result
= (wxKeyEvent
*) &_result_ref
;
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) return NULL
;
6355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6356 _resultobj
= Py_BuildValue("s",_ptemp
);
6359 _resultobj
= Py_None
;
6364 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6365 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
* _resultobj
;
6368 wxTreeEvent
* _arg0
;
6369 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) return NULL
;
6388 } _resultobj
= Py_BuildValue("i",_result
);
6392 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6393 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6396 wxTreeEvent
* _arg0
;
6397 PyObject
* _argo0
= 0;
6398 char *_kwnames
[] = { "self", NULL
};
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6413 _result
= (wxString
*) &_result_ref
;
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) return NULL
;
6419 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6421 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6427 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6430 src
= (wxPyTreeCtrl
*) ptr
;
6431 dest
= (wxControl
*) src
;
6432 return (void *) dest
;
6435 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6438 src
= (wxPyTreeCtrl
*) ptr
;
6439 dest
= (wxWindow
*) src
;
6440 return (void *) dest
;
6443 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6446 src
= (wxPyTreeCtrl
*) ptr
;
6447 dest
= (wxEvtHandler
*) src
;
6448 return (void *) dest
;
6451 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6454 src
= (wxPyTreeCtrl
*) ptr
;
6455 dest
= (wxObject
*) src
;
6456 return (void *) dest
;
6459 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6460 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6462 wxPyTreeCtrl
* _result
;
6464 wxWindowID _arg1
= (wxWindowID
) -1;
6465 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6466 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6467 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6468 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6469 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6470 PyObject
* _argo0
= 0;
6472 PyObject
* _obj2
= 0;
6474 PyObject
* _obj3
= 0;
6475 PyObject
* _argo5
= 0;
6476 PyObject
* _obj6
= 0;
6477 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6493 if (! wxPoint_helper(_obj2
, &_arg2
))
6499 if (! wxSize_helper(_obj3
, &_arg3
))
6503 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6511 _arg6
= wxString_in_helper(_obj6
);
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) return NULL
;
6522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6523 _resultobj
= Py_BuildValue("s",_ptemp
);
6526 _resultobj
= Py_None
;
6535 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6536 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6538 wxPyTreeCtrl
* _result
;
6539 char *_kwnames
[] = { NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) return NULL
;
6552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6553 _resultobj
= Py_BuildValue("s",_ptemp
);
6556 _resultobj
= Py_None
;
6561 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6562 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
* _resultobj
;
6565 wxPyTreeCtrl
* _arg0
;
6567 wxWindowID _arg2
= (wxWindowID
) -1;
6568 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6569 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6570 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6571 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6572 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6573 PyObject
* _argo0
= 0;
6574 PyObject
* _argo1
= 0;
6576 PyObject
* _obj3
= 0;
6578 PyObject
* _obj4
= 0;
6579 PyObject
* _argo6
= 0;
6580 PyObject
* _obj7
= 0;
6581 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6603 if (! wxPoint_helper(_obj3
, &_arg3
))
6609 if (! wxSize_helper(_obj4
, &_arg4
))
6613 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6621 _arg7
= wxString_in_helper(_obj7
);
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) return NULL
;
6631 } _resultobj
= Py_BuildValue("i",_result
);
6639 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6640 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6642 wxPyTreeCtrl
* _arg0
;
6645 PyObject
* _argo0
= 0;
6646 PyObject
* _obj1
= 0;
6647 PyObject
* _obj2
= 0;
6648 char *_kwnames
[] = { "self","self","_class", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) return NULL
;
6672 } Py_INCREF(Py_None
);
6673 _resultobj
= Py_None
;
6677 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6678 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
* _resultobj
;
6681 wxPyTreeCtrl
* _arg0
;
6682 PyObject
* _argo0
= 0;
6683 char *_kwnames
[] = { "self", NULL
};
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) return NULL
;
6701 } _resultobj
= Py_BuildValue("i",_result
);
6705 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6706 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
* _resultobj
;
6708 unsigned int _result
;
6709 wxPyTreeCtrl
* _arg0
;
6710 PyObject
* _argo0
= 0;
6711 char *_kwnames
[] = { "self", NULL
};
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) return NULL
;
6729 } _resultobj
= Py_BuildValue("i",_result
);
6733 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6734 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6736 wxPyTreeCtrl
* _arg0
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self","indent", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) return NULL
;
6757 } Py_INCREF(Py_None
);
6758 _resultobj
= Py_None
;
6762 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6763 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6765 wxImageList
* _result
;
6766 wxPyTreeCtrl
* _arg0
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) return NULL
;
6786 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6790 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6791 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6793 wxImageList
* _result
;
6794 wxPyTreeCtrl
* _arg0
;
6795 PyObject
* _argo0
= 0;
6796 char *_kwnames
[] = { "self", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) return NULL
;
6814 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6818 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6819 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6821 wxPyTreeCtrl
* _arg0
;
6822 wxImageList
* _arg1
;
6823 PyObject
* _argo0
= 0;
6824 PyObject
* _argo1
= 0;
6825 char *_kwnames
[] = { "self","imageList", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) return NULL
;
6850 } Py_INCREF(Py_None
);
6851 _resultobj
= Py_None
;
6855 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6856 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6858 wxPyTreeCtrl
* _arg0
;
6859 wxImageList
* _arg1
;
6860 PyObject
* _argo0
= 0;
6861 PyObject
* _argo1
= 0;
6862 char *_kwnames
[] = { "self","imageList", NULL
};
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } Py_INCREF(Py_None
);
6888 _resultobj
= Py_None
;
6892 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6893 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6895 wxPyTreeCtrl
* _arg0
;
6896 wxImageList
* _arg1
;
6897 PyObject
* _argo0
= 0;
6898 PyObject
* _argo1
= 0;
6899 char *_kwnames
[] = { "self","imageList", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } Py_INCREF(Py_None
);
6925 _resultobj
= Py_None
;
6929 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6930 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6932 wxPyTreeCtrl
* _arg0
;
6933 wxImageList
* _arg1
;
6934 PyObject
* _argo0
= 0;
6935 PyObject
* _argo1
= 0;
6936 char *_kwnames
[] = { "self","imageList", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } Py_INCREF(Py_None
);
6962 _resultobj
= Py_None
;
6966 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6967 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
* _resultobj
;
6969 unsigned int _result
;
6970 wxPyTreeCtrl
* _arg0
;
6971 PyObject
* _argo0
= 0;
6972 char *_kwnames
[] = { "self", NULL
};
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) return NULL
;
6990 } _resultobj
= Py_BuildValue("i",_result
);
6994 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6995 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
6997 wxPyTreeCtrl
* _arg0
;
6999 PyObject
* _argo0
= 0;
7000 char *_kwnames
[] = { "self","spacing", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) return NULL
;
7018 } Py_INCREF(Py_None
);
7019 _resultobj
= Py_None
;
7023 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7024 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
* _resultobj
;
7027 wxPyTreeCtrl
* _arg0
;
7028 wxTreeItemId
* _arg1
;
7029 PyObject
* _argo0
= 0;
7030 PyObject
* _argo1
= 0;
7031 char *_kwnames
[] = { "self","item", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) return NULL
;
7058 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7060 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7069 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7070 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7073 wxPyTreeCtrl
* _arg0
;
7074 wxTreeItemId
* _arg1
;
7075 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _argo1
= 0;
7078 char *_kwnames
[] = { "self","item","which", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7103 } _resultobj
= Py_BuildValue("i",_result
);
7107 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7108 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7111 wxPyTreeCtrl
* _arg0
;
7112 wxTreeItemId
* _arg1
;
7113 PyObject
* _argo0
= 0;
7114 PyObject
* _argo1
= 0;
7115 char *_kwnames
[] = { "self","item", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) return NULL
;
7140 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7145 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7147 wxPyTreeCtrl
* _arg0
;
7148 wxTreeItemId
* _arg1
;
7150 PyObject
* _argo0
= 0;
7151 PyObject
* _argo1
= 0;
7152 PyObject
* _obj2
= 0;
7153 char *_kwnames
[] = { "self","item","text", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7173 _arg2
= wxString_in_helper(_obj2
);
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) return NULL
;
7183 } Py_INCREF(Py_None
);
7184 _resultobj
= Py_None
;
7192 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7193 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7195 wxPyTreeCtrl
* _arg0
;
7196 wxTreeItemId
* _arg1
;
7198 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7199 PyObject
* _argo0
= 0;
7200 PyObject
* _argo1
= 0;
7201 char *_kwnames
[] = { "self","item","image","which", NULL
};
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } Py_INCREF(Py_None
);
7227 _resultobj
= Py_None
;
7231 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7232 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7234 wxPyTreeCtrl
* _arg0
;
7235 wxTreeItemId
* _arg1
;
7237 PyObject
* _argo0
= 0;
7238 PyObject
* _argo1
= 0;
7239 char *_kwnames
[] = { "self","item","image", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7252 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) return NULL
;
7264 } Py_INCREF(Py_None
);
7265 _resultobj
= Py_None
;
7269 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7270 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7272 wxPyTreeCtrl
* _arg0
;
7273 wxTreeItemId
* _arg1
;
7274 bool _arg2
= (bool ) TRUE
;
7275 PyObject
* _argo0
= 0;
7276 PyObject
* _argo1
= 0;
7277 int tempbool2
= (int) TRUE
;
7278 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7297 _arg2
= (bool ) tempbool2
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) return NULL
;
7304 } Py_INCREF(Py_None
);
7305 _resultobj
= Py_None
;
7309 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7310 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7312 data
= new wxPyTreeItemData();
7313 data
->SetId(item
); // set the id
7314 self
->SetItemData(item
, data
);
7318 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
* _resultobj
;
7320 wxPyTreeItemData
* _result
;
7321 wxPyTreeCtrl
* _arg0
;
7322 wxTreeItemId
* _arg1
;
7323 PyObject
* _argo0
= 0;
7324 PyObject
* _argo1
= 0;
7325 char *_kwnames
[] = { "self","item", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) return NULL
;
7352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7353 _resultobj
= Py_BuildValue("s",_ptemp
);
7356 _resultobj
= Py_None
;
7361 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7362 data
->SetId(item
); // set the id
7363 self
->SetItemData(item
, data
);
7365 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
* _resultobj
;
7367 wxPyTreeCtrl
* _arg0
;
7368 wxTreeItemId
* _arg1
;
7369 wxPyTreeItemData
* _arg2
;
7370 PyObject
* _argo0
= 0;
7371 PyObject
* _argo1
= 0;
7372 PyObject
* _argo2
= 0;
7373 char *_kwnames
[] = { "self","item","data", NULL
};
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7393 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) return NULL
;
7405 } Py_INCREF(Py_None
);
7406 _resultobj
= Py_None
;
7410 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7411 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7413 data
= new wxPyTreeItemData();
7414 data
->SetId(item
); // set the id
7415 self
->SetItemData(item
, data
);
7417 return data
->GetData();
7419 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7422 wxPyTreeCtrl
* _arg0
;
7423 wxTreeItemId
* _arg1
;
7424 PyObject
* _argo0
= 0;
7425 PyObject
* _argo1
= 0;
7426 char *_kwnames
[] = { "self","item", NULL
};
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) return NULL
;
7452 _resultobj
= _result
;
7457 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7458 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7460 data
= new wxPyTreeItemData(obj
);
7461 data
->SetId(item
); // set the id
7462 self
->SetItemData(item
, data
);
7466 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
* _resultobj
;
7468 wxPyTreeCtrl
* _arg0
;
7469 wxTreeItemId
* _arg1
;
7471 PyObject
* _argo0
= 0;
7472 PyObject
* _argo1
= 0;
7473 PyObject
* _obj2
= 0;
7474 char *_kwnames
[] = { "self","item","obj", NULL
};
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) return NULL
;
7502 } Py_INCREF(Py_None
);
7503 _resultobj
= Py_None
;
7507 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7508 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7511 wxPyTreeCtrl
* _arg0
;
7512 wxTreeItemId
* _arg1
;
7513 PyObject
* _argo0
= 0;
7514 PyObject
* _argo1
= 0;
7515 char *_kwnames
[] = { "self","item", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) return NULL
;
7540 } _resultobj
= Py_BuildValue("i",_result
);
7544 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7545 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7548 wxPyTreeCtrl
* _arg0
;
7549 wxTreeItemId
* _arg1
;
7550 PyObject
* _argo0
= 0;
7551 PyObject
* _argo1
= 0;
7552 char *_kwnames
[] = { "self","item", NULL
};
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) return NULL
;
7577 } _resultobj
= Py_BuildValue("i",_result
);
7581 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7582 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
* _resultobj
;
7585 wxPyTreeCtrl
* _arg0
;
7586 wxTreeItemId
* _arg1
;
7587 PyObject
* _argo0
= 0;
7588 PyObject
* _argo1
= 0;
7589 char *_kwnames
[] = { "self","item", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) return NULL
;
7614 } _resultobj
= Py_BuildValue("i",_result
);
7618 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7619 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7622 wxPyTreeCtrl
* _arg0
;
7623 wxTreeItemId
* _arg1
;
7624 PyObject
* _argo0
= 0;
7625 PyObject
* _argo1
= 0;
7626 char *_kwnames
[] = { "self","item", NULL
};
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) return NULL
;
7651 } _resultobj
= Py_BuildValue("i",_result
);
7655 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7656 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
* _resultobj
;
7658 wxTreeItemId
* _result
;
7659 wxPyTreeCtrl
* _arg0
;
7660 PyObject
* _argo0
= 0;
7661 char *_kwnames
[] = { "self", NULL
};
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) return NULL
;
7680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7681 _resultobj
= Py_BuildValue("s",_ptemp
);
7685 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7686 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
* _resultobj
;
7688 wxTreeItemId
* _result
;
7689 wxPyTreeCtrl
* _arg0
;
7690 PyObject
* _argo0
= 0;
7691 char *_kwnames
[] = { "self", NULL
};
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) return NULL
;
7710 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7711 _resultobj
= Py_BuildValue("s",_ptemp
);
7715 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7716 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
* _resultobj
;
7718 wxTreeItemId
* _result
;
7719 wxPyTreeCtrl
* _arg0
;
7720 wxTreeItemId
* _arg1
;
7721 PyObject
* _argo0
= 0;
7722 PyObject
* _argo1
= 0;
7723 char *_kwnames
[] = { "self","item", NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) return NULL
;
7749 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7750 _resultobj
= Py_BuildValue("s",_ptemp
);
7754 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7755 wxPyBeginBlockThreads();
7756 PyObject
* rval
= PyList_New(0);
7757 wxArrayTreeItemIds array
;
7759 num
= self
->GetSelections(array
);
7760 for (x
=0; x
< num
; x
++) {
7761 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7762 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7763 PyList_Append(rval
, item
);
7765 wxPyEndBlockThreads();
7768 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7771 wxPyTreeCtrl
* _arg0
;
7772 PyObject
* _argo0
= 0;
7773 char *_kwnames
[] = { "self", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7792 _resultobj
= _result
;
7797 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7798 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
* _resultobj
;
7801 wxPyTreeCtrl
* _arg0
;
7802 wxTreeItemId
* _arg1
;
7803 bool _arg2
= (bool ) TRUE
;
7804 PyObject
* _argo0
= 0;
7805 PyObject
* _argo1
= 0;
7806 int tempbool2
= (int) TRUE
;
7807 char *_kwnames
[] = { "self","item","recursively", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7826 _arg2
= (bool ) tempbool2
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) return NULL
;
7833 } _resultobj
= Py_BuildValue("i",_result
);
7837 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7838 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
* _resultobj
;
7840 wxTreeItemId
* _result
;
7841 wxPyTreeCtrl
* _arg0
;
7842 wxTreeItemId
* _arg1
;
7844 PyObject
* _argo0
= 0;
7845 PyObject
* _argo1
= 0;
7847 PyObject
* _obj2
= 0;
7848 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7869 temp
= (long) PyInt_AsLong(_obj2
);
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) return NULL
;
7878 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7879 _resultobj
= Py_BuildValue("s",_ptemp
);
7882 o
= PyInt_FromLong((long) (*_arg2
));
7883 _resultobj
= t_output_helper(_resultobj
, o
);
7888 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7889 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
* _resultobj
;
7891 wxTreeItemId
* _result
;
7892 wxPyTreeCtrl
* _arg0
;
7893 wxTreeItemId
* _arg1
;
7895 PyObject
* _argo0
= 0;
7896 PyObject
* _argo1
= 0;
7898 PyObject
* _obj2
= 0;
7899 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7913 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7920 temp
= (long) PyInt_AsLong(_obj2
);
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) return NULL
;
7929 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7930 _resultobj
= Py_BuildValue("s",_ptemp
);
7933 o
= PyInt_FromLong((long) (*_arg2
));
7934 _resultobj
= t_output_helper(_resultobj
, o
);
7939 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7940 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7942 wxTreeItemId
* _result
;
7943 wxPyTreeCtrl
* _arg0
;
7944 wxTreeItemId
* _arg1
;
7945 PyObject
* _argo0
= 0;
7946 PyObject
* _argo1
= 0;
7947 char *_kwnames
[] = { "self","item", NULL
};
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7973 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7974 _resultobj
= Py_BuildValue("s",_ptemp
);
7978 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7979 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7981 wxTreeItemId
* _result
;
7982 wxPyTreeCtrl
* _arg0
;
7983 wxTreeItemId
* _arg1
;
7984 PyObject
* _argo0
= 0;
7985 PyObject
* _argo1
= 0;
7986 char *_kwnames
[] = { "self","item", NULL
};
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) return NULL
;
8012 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8013 _resultobj
= Py_BuildValue("s",_ptemp
);
8017 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8018 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
* _resultobj
;
8020 wxTreeItemId
* _result
;
8021 wxPyTreeCtrl
* _arg0
;
8022 PyObject
* _argo0
= 0;
8023 char *_kwnames
[] = { "self", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) return NULL
;
8042 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8043 _resultobj
= Py_BuildValue("s",_ptemp
);
8047 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8048 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
* _resultobj
;
8050 wxTreeItemId
* _result
;
8051 wxPyTreeCtrl
* _arg0
;
8052 wxTreeItemId
* _arg1
;
8053 PyObject
* _argo0
= 0;
8054 PyObject
* _argo1
= 0;
8055 char *_kwnames
[] = { "self","item", NULL
};
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) return NULL
;
8081 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8082 _resultobj
= Py_BuildValue("s",_ptemp
);
8086 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8087 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8089 wxTreeItemId
* _result
;
8090 wxPyTreeCtrl
* _arg0
;
8091 wxTreeItemId
* _arg1
;
8092 PyObject
* _argo0
= 0;
8093 PyObject
* _argo1
= 0;
8094 char *_kwnames
[] = { "self","item", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) return NULL
;
8120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8121 _resultobj
= Py_BuildValue("s",_ptemp
);
8125 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8126 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8128 wxTreeItemId
* _result
;
8129 wxPyTreeCtrl
* _arg0
;
8130 wxTreeItemId
* _arg1
;
8131 PyObject
* _argo0
= 0;
8132 PyObject
* _argo1
= 0;
8133 char *_kwnames
[] = { "self","item", NULL
};
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) return NULL
;
8159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8160 _resultobj
= Py_BuildValue("s",_ptemp
);
8164 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8165 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8167 wxTreeItemId
* _result
;
8168 wxPyTreeCtrl
* _arg0
;
8170 int _arg2
= (int ) -1;
8171 int _arg3
= (int ) -1;
8172 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8173 PyObject
* _argo0
= 0;
8174 PyObject
* _obj1
= 0;
8175 PyObject
* _argo4
= 0;
8176 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8190 _arg1
= wxString_in_helper(_obj1
);
8195 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8196 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) return NULL
;
8207 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8208 _resultobj
= Py_BuildValue("s",_ptemp
);
8216 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8217 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
* _resultobj
;
8219 wxTreeItemId
* _result
;
8220 wxPyTreeCtrl
* _arg0
;
8221 wxTreeItemId
* _arg1
;
8223 int _arg3
= (int ) -1;
8224 int _arg4
= (int ) -1;
8225 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8226 PyObject
* _argo0
= 0;
8227 PyObject
* _argo1
= 0;
8228 PyObject
* _obj2
= 0;
8229 PyObject
* _argo5
= 0;
8230 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8251 _arg2
= wxString_in_helper(_obj2
);
8256 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8269 _resultobj
= Py_BuildValue("s",_ptemp
);
8277 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8278 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
* _resultobj
;
8280 wxTreeItemId
* _result
;
8281 wxPyTreeCtrl
* _arg0
;
8282 wxTreeItemId
* _arg1
;
8283 wxTreeItemId
* _arg2
;
8285 int _arg4
= (int ) -1;
8286 int _arg5
= (int ) -1;
8287 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8288 PyObject
* _argo0
= 0;
8289 PyObject
* _argo1
= 0;
8290 PyObject
* _argo2
= 0;
8291 PyObject
* _obj3
= 0;
8292 PyObject
* _argo6
= 0;
8293 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8314 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8315 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8321 _arg3
= wxString_in_helper(_obj3
);
8326 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8327 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) return NULL
;
8338 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8339 _resultobj
= Py_BuildValue("s",_ptemp
);
8347 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8348 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
* _resultobj
;
8350 wxTreeItemId
* _result
;
8351 wxPyTreeCtrl
* _arg0
;
8352 wxTreeItemId
* _arg1
;
8355 int _arg4
= (int ) -1;
8356 int _arg5
= (int ) -1;
8357 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8358 PyObject
* _argo0
= 0;
8359 PyObject
* _argo1
= 0;
8360 PyObject
* _obj3
= 0;
8361 PyObject
* _argo6
= 0;
8362 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8383 _arg3
= wxString_in_helper(_obj3
);
8388 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) return NULL
;
8400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8401 _resultobj
= Py_BuildValue("s",_ptemp
);
8409 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8410 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
* _resultobj
;
8412 wxTreeItemId
* _result
;
8413 wxPyTreeCtrl
* _arg0
;
8414 wxTreeItemId
* _arg1
;
8416 int _arg3
= (int ) -1;
8417 int _arg4
= (int ) -1;
8418 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8419 PyObject
* _argo0
= 0;
8420 PyObject
* _argo1
= 0;
8421 PyObject
* _obj2
= 0;
8422 PyObject
* _argo5
= 0;
8423 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8444 _arg2
= wxString_in_helper(_obj2
);
8449 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) return NULL
;
8461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8462 _resultobj
= Py_BuildValue("s",_ptemp
);
8470 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8471 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8473 wxPyTreeCtrl
* _arg0
;
8474 wxTreeItemId
* _arg1
;
8475 PyObject
* _argo0
= 0;
8476 PyObject
* _argo1
= 0;
8477 char *_kwnames
[] = { "self","item", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) return NULL
;
8502 } Py_INCREF(Py_None
);
8503 _resultobj
= Py_None
;
8507 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8508 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8510 wxPyTreeCtrl
* _arg0
;
8511 wxTreeItemId
* _arg1
;
8512 PyObject
* _argo0
= 0;
8513 PyObject
* _argo1
= 0;
8514 char *_kwnames
[] = { "self","item", NULL
};
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) return NULL
;
8539 } Py_INCREF(Py_None
);
8540 _resultobj
= Py_None
;
8544 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8545 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8547 wxPyTreeCtrl
* _arg0
;
8548 PyObject
* _argo0
= 0;
8549 char *_kwnames
[] = { "self", NULL
};
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxTreeCtrl_DeleteAllItems(_arg0
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) return NULL
;
8567 } Py_INCREF(Py_None
);
8568 _resultobj
= Py_None
;
8572 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8573 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
* _resultobj
;
8575 wxPyTreeCtrl
* _arg0
;
8576 wxTreeItemId
* _arg1
;
8577 PyObject
* _argo0
= 0;
8578 PyObject
* _argo1
= 0;
8579 char *_kwnames
[] = { "self","item", NULL
};
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) return NULL
;
8604 } Py_INCREF(Py_None
);
8605 _resultobj
= Py_None
;
8609 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8610 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
* _resultobj
;
8612 wxPyTreeCtrl
* _arg0
;
8613 wxTreeItemId
* _arg1
;
8614 PyObject
* _argo0
= 0;
8615 PyObject
* _argo1
= 0;
8616 char *_kwnames
[] = { "self","item", NULL
};
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) return NULL
;
8641 } Py_INCREF(Py_None
);
8642 _resultobj
= Py_None
;
8646 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8647 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
* _resultobj
;
8649 wxPyTreeCtrl
* _arg0
;
8650 wxTreeItemId
* _arg1
;
8651 PyObject
* _argo0
= 0;
8652 PyObject
* _argo1
= 0;
8653 char *_kwnames
[] = { "self","item", NULL
};
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) return NULL
;
8678 } Py_INCREF(Py_None
);
8679 _resultobj
= Py_None
;
8683 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8684 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
* _resultobj
;
8686 wxPyTreeCtrl
* _arg0
;
8687 wxTreeItemId
* _arg1
;
8688 PyObject
* _argo0
= 0;
8689 PyObject
* _argo1
= 0;
8690 char *_kwnames
[] = { "self","item", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8703 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8704 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) return NULL
;
8715 } Py_INCREF(Py_None
);
8716 _resultobj
= Py_None
;
8720 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8721 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
* _resultobj
;
8723 wxPyTreeCtrl
* _arg0
;
8724 PyObject
* _argo0
= 0;
8725 char *_kwnames
[] = { "self", NULL
};
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 wxTreeCtrl_Unselect(_arg0
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) return NULL
;
8743 } Py_INCREF(Py_None
);
8744 _resultobj
= Py_None
;
8748 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8749 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
* _resultobj
;
8751 wxPyTreeCtrl
* _arg0
;
8752 PyObject
* _argo0
= 0;
8753 char *_kwnames
[] = { "self", NULL
};
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 wxTreeCtrl_UnselectAll(_arg0
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) return NULL
;
8771 } Py_INCREF(Py_None
);
8772 _resultobj
= Py_None
;
8776 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8777 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
* _resultobj
;
8779 wxPyTreeCtrl
* _arg0
;
8780 wxTreeItemId
* _arg1
;
8781 PyObject
* _argo0
= 0;
8782 PyObject
* _argo1
= 0;
8783 char *_kwnames
[] = { "self","item", NULL
};
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8808 } Py_INCREF(Py_None
);
8809 _resultobj
= Py_None
;
8813 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8814 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
* _resultobj
;
8816 wxPyTreeCtrl
* _arg0
;
8817 wxTreeItemId
* _arg1
;
8818 PyObject
* _argo0
= 0;
8819 PyObject
* _argo1
= 0;
8820 char *_kwnames
[] = { "self","item", NULL
};
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8833 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8834 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) return NULL
;
8845 } Py_INCREF(Py_None
);
8846 _resultobj
= Py_None
;
8850 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8851 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
* _resultobj
;
8853 wxPyTreeCtrl
* _arg0
;
8854 wxTreeItemId
* _arg1
;
8855 PyObject
* _argo0
= 0;
8856 PyObject
* _argo1
= 0;
8857 char *_kwnames
[] = { "self","item", NULL
};
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) return NULL
;
8882 } Py_INCREF(Py_None
);
8883 _resultobj
= Py_None
;
8887 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8888 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
* _resultobj
;
8890 wxTextCtrl
* _result
;
8891 wxPyTreeCtrl
* _arg0
;
8892 wxTreeItemId
* _arg1
;
8893 PyObject
* _argo0
= 0;
8894 PyObject
* _argo1
= 0;
8895 char *_kwnames
[] = { "self","item", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) return NULL
;
8920 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8924 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
8925 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
* _resultobj
;
8927 wxTextCtrl
* _result
;
8928 wxPyTreeCtrl
* _arg0
;
8929 PyObject
* _argo0
= 0;
8930 char *_kwnames
[] = { "self", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) return NULL
;
8948 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8952 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
8953 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
* _resultobj
;
8955 wxPyTreeCtrl
* _arg0
;
8956 wxTreeItemId
* _arg1
;
8957 int _arg2
= (int ) FALSE
;
8958 PyObject
* _argo0
= 0;
8959 PyObject
* _argo1
= 0;
8960 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
8973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) return NULL
;
8985 } Py_INCREF(Py_None
);
8986 _resultobj
= Py_None
;
8990 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8991 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
* _resultobj
;
8993 wxPyTreeCtrl
* _arg0
;
8994 wxTreeItemId
* _arg1
;
8995 PyObject
* _argo0
= 0;
8996 PyObject
* _argo1
= 0;
8997 char *_kwnames
[] = { "self","item", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9010 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9011 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) return NULL
;
9022 } Py_INCREF(Py_None
);
9023 _resultobj
= Py_None
;
9027 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9028 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
* _resultobj
;
9030 wxPyTreeCtrl
* _arg0
;
9031 wxTreeItemId
* _arg1
;
9032 int _arg2
= (int ) TRUE
;
9033 PyObject
* _argo0
= 0;
9034 PyObject
* _argo1
= 0;
9035 char *_kwnames
[] = { "self","item","bold", NULL
};
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) return NULL
;
9060 } Py_INCREF(Py_None
);
9061 _resultobj
= Py_None
;
9065 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9066 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
* _resultobj
;
9069 wxPyTreeCtrl
* _arg0
;
9070 wxTreeItemId
* _arg1
;
9071 PyObject
* _argo0
= 0;
9072 PyObject
* _argo1
= 0;
9073 char *_kwnames
[] = { "self","item", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) return NULL
;
9098 } _resultobj
= Py_BuildValue("i",_result
);
9102 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9103 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
* _resultobj
;
9105 wxTreeItemId
* _result
;
9106 wxPyTreeCtrl
* _arg0
;
9110 PyObject
* _argo0
= 0;
9112 PyObject
* _obj1
= 0;
9113 char *_kwnames
[] = { "self","point", NULL
};
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9131 if (! wxPoint_helper(_obj1
, &_arg1
))
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) return NULL
;
9140 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9141 _resultobj
= Py_BuildValue("s",_ptemp
);
9144 o
= PyInt_FromLong((long) (*_arg2
));
9145 _resultobj
= t_output_helper(_resultobj
, o
);
9150 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9151 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
* _resultobj
;
9153 wxPyTreeCtrl
* _arg0
;
9154 wxTreeItemId
* _arg1
;
9156 PyObject
* _argo0
= 0;
9157 PyObject
* _argo1
= 0;
9159 PyObject
* _obj2
= 0;
9160 char *_kwnames
[] = { "self","item","col", NULL
};
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9181 if (! wxColour_helper(_obj2
, &_arg2
))
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) return NULL
;
9190 } Py_INCREF(Py_None
);
9191 _resultobj
= Py_None
;
9195 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9196 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9198 wxPyTreeCtrl
* _arg0
;
9199 wxTreeItemId
* _arg1
;
9201 PyObject
* _argo0
= 0;
9202 PyObject
* _argo1
= 0;
9204 PyObject
* _obj2
= 0;
9205 char *_kwnames
[] = { "self","item","col", NULL
};
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9226 if (! wxColour_helper(_obj2
, &_arg2
))
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) return NULL
;
9235 } Py_INCREF(Py_None
);
9236 _resultobj
= Py_None
;
9240 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9241 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
* _resultobj
;
9243 wxPyTreeCtrl
* _arg0
;
9244 wxTreeItemId
* _arg1
;
9246 PyObject
* _argo0
= 0;
9247 PyObject
* _argo1
= 0;
9248 PyObject
* _argo2
= 0;
9249 char *_kwnames
[] = { "self","item","font", NULL
};
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9269 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9270 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) return NULL
;
9281 } Py_INCREF(Py_None
);
9282 _resultobj
= Py_None
;
9286 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9287 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
* _resultobj
;
9289 wxPyTreeCtrl
* _arg0
;
9290 wxTreeItemId
* _arg1
;
9291 int _arg2
= (int ) TRUE
;
9292 PyObject
* _argo0
= 0;
9293 PyObject
* _argo1
= 0;
9294 char *_kwnames
[] = { "self","item","highlight", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) return NULL
;
9319 } Py_INCREF(Py_None
);
9320 _resultobj
= Py_None
;
9324 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9326 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9327 wxPyBeginBlockThreads();
9328 wxRect
* r
= new wxRect(rect
);
9329 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9330 wxPyEndBlockThreads();
9338 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
* _resultobj
;
9341 wxPyTreeCtrl
* _arg0
;
9342 wxTreeItemId
* _arg1
;
9343 int _arg2
= (int ) FALSE
;
9344 PyObject
* _argo0
= 0;
9345 PyObject
* _argo1
= 0;
9346 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) return NULL
;
9372 _resultobj
= _result
;
9377 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9380 src
= (wxDirItemData
*) ptr
;
9381 dest
= (wxObject
*) src
;
9382 return (void *) dest
;
9385 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9386 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
* _resultobj
;
9388 wxDirItemData
* _result
;
9392 PyObject
* _obj0
= 0;
9393 PyObject
* _obj1
= 0;
9395 char *_kwnames
[] = { "path","name","isDir", NULL
};
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9402 _arg0
= wxString_in_helper(_obj0
);
9407 _arg1
= wxString_in_helper(_obj1
);
9411 _arg2
= (bool ) tempbool2
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) return NULL
;
9419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9420 _resultobj
= Py_BuildValue("s",_ptemp
);
9423 _resultobj
= Py_None
;
9436 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9437 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9439 wxDirItemData
* _arg0
;
9441 PyObject
* _argo0
= 0;
9442 PyObject
* _obj1
= 0;
9443 char *_kwnames
[] = { "self","path", NULL
};
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9456 _arg1
= wxString_in_helper(_obj1
);
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) return NULL
;
9466 } Py_INCREF(Py_None
);
9467 _resultobj
= Py_None
;
9475 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9476 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
* _resultobj
;
9479 wxDirItemData
* _arg0
;
9481 PyObject
* _argo0
= 0;
9482 PyObject
* _obj1
= 0;
9483 char *_kwnames
[] = { "self","m_path", NULL
};
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9496 _arg1
= wxString_in_helper(_obj1
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) return NULL
;
9508 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9510 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9520 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9521 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
* _resultobj
;
9524 wxDirItemData
* _arg0
;
9525 PyObject
* _argo0
= 0;
9526 char *_kwnames
[] = { "self", NULL
};
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) return NULL
;
9546 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9548 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9554 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9555 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
* _resultobj
;
9558 wxDirItemData
* _arg0
;
9560 PyObject
* _argo0
= 0;
9561 PyObject
* _obj1
= 0;
9562 char *_kwnames
[] = { "self","m_name", NULL
};
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9575 _arg1
= wxString_in_helper(_obj1
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) return NULL
;
9587 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9589 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9599 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9600 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
* _resultobj
;
9603 wxDirItemData
* _arg0
;
9604 PyObject
* _argo0
= 0;
9605 char *_kwnames
[] = { "self", NULL
};
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9625 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9627 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9633 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9634 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
* _resultobj
;
9637 wxDirItemData
* _arg0
;
9639 PyObject
* _argo0
= 0;
9641 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9653 _arg1
= (bool ) tempbool1
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) return NULL
;
9660 } _resultobj
= Py_BuildValue("i",_result
);
9664 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9665 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
* _resultobj
;
9668 wxDirItemData
* _arg0
;
9669 PyObject
* _argo0
= 0;
9670 char *_kwnames
[] = { "self", NULL
};
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) return NULL
;
9688 } _resultobj
= Py_BuildValue("i",_result
);
9692 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9693 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
* _resultobj
;
9696 wxDirItemData
* _arg0
;
9698 PyObject
* _argo0
= 0;
9700 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9712 _arg1
= (bool ) tempbool1
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) return NULL
;
9719 } _resultobj
= Py_BuildValue("i",_result
);
9723 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9724 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
* _resultobj
;
9727 wxDirItemData
* _arg0
;
9728 PyObject
* _argo0
= 0;
9729 char *_kwnames
[] = { "self", NULL
};
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) return NULL
;
9747 } _resultobj
= Py_BuildValue("i",_result
);
9751 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9752 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9755 wxDirItemData
* _arg0
;
9757 PyObject
* _argo0
= 0;
9759 char *_kwnames
[] = { "self","m_isDir", NULL
};
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9771 _arg1
= (bool ) tempbool1
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) return NULL
;
9778 } _resultobj
= Py_BuildValue("i",_result
);
9782 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9783 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9786 wxDirItemData
* _arg0
;
9787 PyObject
* _argo0
= 0;
9788 char *_kwnames
[] = { "self", NULL
};
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) return NULL
;
9806 } _resultobj
= Py_BuildValue("i",_result
);
9810 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9811 wxGenericDirCtrl
*src
;
9813 src
= (wxGenericDirCtrl
*) ptr
;
9814 dest
= (wxControl
*) src
;
9815 return (void *) dest
;
9818 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9819 wxGenericDirCtrl
*src
;
9821 src
= (wxGenericDirCtrl
*) ptr
;
9822 dest
= (wxWindow
*) src
;
9823 return (void *) dest
;
9826 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9827 wxGenericDirCtrl
*src
;
9829 src
= (wxGenericDirCtrl
*) ptr
;
9830 dest
= (wxEvtHandler
*) src
;
9831 return (void *) dest
;
9834 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9835 wxGenericDirCtrl
*src
;
9837 src
= (wxGenericDirCtrl
*) ptr
;
9838 dest
= (wxObject
*) src
;
9839 return (void *) dest
;
9842 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9843 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
* _resultobj
;
9845 wxGenericDirCtrl
* _result
;
9847 wxWindowID _arg1
= (wxWindowID
) -1;
9848 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9849 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9850 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9851 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9852 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9853 int _arg7
= (int ) 0;
9854 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9855 PyObject
* _argo0
= 0;
9856 PyObject
* _obj2
= 0;
9858 PyObject
* _obj3
= 0;
9860 PyObject
* _obj4
= 0;
9861 PyObject
* _obj6
= 0;
9862 PyObject
* _obj8
= 0;
9863 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9878 _arg2
= wxString_in_helper(_obj2
);
9885 if (! wxPoint_helper(_obj3
, &_arg3
))
9891 if (! wxSize_helper(_obj4
, &_arg4
))
9896 _arg6
= wxString_in_helper(_obj6
);
9902 _arg8
= wxString_in_helper(_obj8
);
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) return NULL
;
9913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9914 _resultobj
= Py_BuildValue("s",_ptemp
);
9917 _resultobj
= Py_None
;
9934 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9935 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
* _resultobj
;
9937 wxGenericDirCtrl
* _result
;
9938 char *_kwnames
[] = { NULL
};
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) return NULL
;
9951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9952 _resultobj
= Py_BuildValue("s",_ptemp
);
9955 _resultobj
= Py_None
;
9960 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9961 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
* _resultobj
;
9964 wxGenericDirCtrl
* _arg0
;
9966 wxWindowID _arg2
= (wxWindowID
) -1;
9967 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9968 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9969 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9970 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9971 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
9972 int _arg8
= (int ) 0;
9973 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9974 PyObject
* _argo0
= 0;
9975 PyObject
* _argo1
= 0;
9976 PyObject
* _obj3
= 0;
9978 PyObject
* _obj4
= 0;
9980 PyObject
* _obj5
= 0;
9981 PyObject
* _obj7
= 0;
9982 PyObject
* _obj9
= 0;
9983 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
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_Create. Expected _wxGenericDirCtrl_p.");
9996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10004 _arg3
= wxString_in_helper(_obj3
);
10011 if (! wxPoint_helper(_obj4
, &_arg4
))
10017 if (! wxSize_helper(_obj5
, &_arg5
))
10022 _arg7
= wxString_in_helper(_obj7
);
10028 _arg9
= wxString_in_helper(_obj9
);
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) return NULL
;
10038 } _resultobj
= Py_BuildValue("i",_result
);
10054 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10055 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
* _resultobj
;
10058 wxGenericDirCtrl
* _arg0
;
10060 PyObject
* _argo0
= 0;
10061 PyObject
* _obj1
= 0;
10062 char *_kwnames
[] = { "self","path", NULL
};
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10075 _arg1
= wxString_in_helper(_obj1
);
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) return NULL
;
10085 } _resultobj
= Py_BuildValue("i",_result
);
10093 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10094 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
* _resultobj
;
10096 wxString
* _result
;
10097 wxGenericDirCtrl
* _arg0
;
10098 PyObject
* _argo0
= 0;
10099 char *_kwnames
[] = { "self", NULL
};
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) return NULL
;
10119 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10121 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10130 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10131 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
* _resultobj
;
10133 wxGenericDirCtrl
* _arg0
;
10135 PyObject
* _argo0
= 0;
10136 PyObject
* _obj1
= 0;
10137 char *_kwnames
[] = { "self","path", NULL
};
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10150 _arg1
= wxString_in_helper(_obj1
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) return NULL
;
10160 } Py_INCREF(Py_None
);
10161 _resultobj
= Py_None
;
10169 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10170 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
* _resultobj
;
10172 wxString
* _result
;
10173 wxGenericDirCtrl
* _arg0
;
10174 PyObject
* _argo0
= 0;
10175 char *_kwnames
[] = { "self", NULL
};
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) return NULL
;
10195 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10197 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10206 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10207 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
* _resultobj
;
10209 wxString
* _result
;
10210 wxGenericDirCtrl
* _arg0
;
10211 PyObject
* _argo0
= 0;
10212 char *_kwnames
[] = { "self", NULL
};
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) return NULL
;
10232 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10234 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10243 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10244 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
* _resultobj
;
10246 wxGenericDirCtrl
* _arg0
;
10248 PyObject
* _argo0
= 0;
10249 PyObject
* _obj1
= 0;
10250 char *_kwnames
[] = { "self","path", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10263 _arg1
= wxString_in_helper(_obj1
);
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) return NULL
;
10273 } Py_INCREF(Py_None
);
10274 _resultobj
= Py_None
;
10282 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10283 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
* _resultobj
;
10285 wxGenericDirCtrl
* _arg0
;
10287 PyObject
* _argo0
= 0;
10289 char *_kwnames
[] = { "self","show", NULL
};
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
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_ShowHidden. Expected _wxGenericDirCtrl_p.");
10301 _arg1
= (bool ) tempbool1
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) return NULL
;
10308 } Py_INCREF(Py_None
);
10309 _resultobj
= Py_None
;
10313 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10314 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
* _resultobj
;
10317 wxGenericDirCtrl
* _arg0
;
10318 PyObject
* _argo0
= 0;
10319 char *_kwnames
[] = { "self", NULL
};
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_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_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) return NULL
;
10337 } _resultobj
= Py_BuildValue("i",_result
);
10341 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10342 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
* _resultobj
;
10344 wxString
* _result
;
10345 wxGenericDirCtrl
* _arg0
;
10346 PyObject
* _argo0
= 0;
10347 char *_kwnames
[] = { "self", NULL
};
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) return NULL
;
10367 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10369 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10378 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10379 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
* _resultobj
;
10381 wxGenericDirCtrl
* _arg0
;
10383 PyObject
* _argo0
= 0;
10384 PyObject
* _obj1
= 0;
10385 char *_kwnames
[] = { "self","filter", NULL
};
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10398 _arg1
= wxString_in_helper(_obj1
);
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) return NULL
;
10408 } Py_INCREF(Py_None
);
10409 _resultobj
= Py_None
;
10417 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10418 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
* _resultobj
;
10421 wxGenericDirCtrl
* _arg0
;
10422 PyObject
* _argo0
= 0;
10423 char *_kwnames
[] = { "self", NULL
};
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) return NULL
;
10441 } _resultobj
= Py_BuildValue("i",_result
);
10445 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10446 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
* _resultobj
;
10448 wxGenericDirCtrl
* _arg0
;
10450 PyObject
* _argo0
= 0;
10451 char *_kwnames
[] = { "self","n", NULL
};
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) return NULL
;
10469 } Py_INCREF(Py_None
);
10470 _resultobj
= Py_None
;
10474 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10475 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
* _resultobj
;
10477 wxTreeItemId
* _result
;
10478 wxGenericDirCtrl
* _arg0
;
10479 PyObject
* _argo0
= 0;
10480 char *_kwnames
[] = { "self", NULL
};
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) return NULL
;
10499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10500 _resultobj
= Py_BuildValue("s",_ptemp
);
10504 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10505 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
* _resultobj
;
10507 wxTreeCtrl
* _result
;
10508 wxGenericDirCtrl
* _arg0
;
10509 PyObject
* _argo0
= 0;
10510 char *_kwnames
[] = { "self", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10531 _resultobj
= Py_BuildValue("s",_ptemp
);
10533 Py_INCREF(Py_None
);
10534 _resultobj
= Py_None
;
10539 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10540 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
* _resultobj
;
10542 wxDirFilterListCtrl
* _result
;
10543 wxGenericDirCtrl
* _arg0
;
10544 PyObject
* _argo0
= 0;
10545 char *_kwnames
[] = { "self", NULL
};
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) return NULL
;
10565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10566 _resultobj
= Py_BuildValue("s",_ptemp
);
10568 Py_INCREF(Py_None
);
10569 _resultobj
= Py_None
;
10574 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10575 wxDirFilterListCtrl
*src
;
10577 src
= (wxDirFilterListCtrl
*) ptr
;
10578 dest
= (wxChoice
*) src
;
10579 return (void *) dest
;
10582 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10583 wxDirFilterListCtrl
*src
;
10584 wxControlWithItems
*dest
;
10585 src
= (wxDirFilterListCtrl
*) ptr
;
10586 dest
= (wxControlWithItems
*) src
;
10587 return (void *) dest
;
10590 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10591 wxDirFilterListCtrl
*src
;
10593 src
= (wxDirFilterListCtrl
*) ptr
;
10594 dest
= (wxControl
*) src
;
10595 return (void *) dest
;
10598 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10599 wxDirFilterListCtrl
*src
;
10601 src
= (wxDirFilterListCtrl
*) ptr
;
10602 dest
= (wxWindow
*) src
;
10603 return (void *) dest
;
10606 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10607 wxDirFilterListCtrl
*src
;
10608 wxEvtHandler
*dest
;
10609 src
= (wxDirFilterListCtrl
*) ptr
;
10610 dest
= (wxEvtHandler
*) src
;
10611 return (void *) dest
;
10614 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10615 wxDirFilterListCtrl
*src
;
10617 src
= (wxDirFilterListCtrl
*) ptr
;
10618 dest
= (wxObject
*) src
;
10619 return (void *) dest
;
10622 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10623 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
* _resultobj
;
10625 wxDirFilterListCtrl
* _result
;
10626 wxGenericDirCtrl
* _arg0
;
10627 wxWindowID _arg1
= (wxWindowID
) -1;
10628 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10629 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10630 long _arg4
= (long ) 0;
10631 PyObject
* _argo0
= 0;
10633 PyObject
* _obj2
= 0;
10635 PyObject
* _obj3
= 0;
10636 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10652 if (! wxPoint_helper(_obj2
, &_arg2
))
10658 if (! wxSize_helper(_obj3
, &_arg3
))
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) return NULL
;
10668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10669 _resultobj
= Py_BuildValue("s",_ptemp
);
10671 Py_INCREF(Py_None
);
10672 _resultobj
= Py_None
;
10677 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10678 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
* _resultobj
;
10680 wxDirFilterListCtrl
* _result
;
10681 char *_kwnames
[] = { NULL
};
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) return NULL
;
10694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10695 _resultobj
= Py_BuildValue("s",_ptemp
);
10697 Py_INCREF(Py_None
);
10698 _resultobj
= Py_None
;
10703 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10704 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
* _resultobj
;
10707 wxDirFilterListCtrl
* _arg0
;
10708 wxGenericDirCtrl
* _arg1
;
10709 wxWindowID _arg2
= (wxWindowID
) -1;
10710 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10711 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10712 long _arg5
= (long ) 0;
10713 PyObject
* _argo0
= 0;
10714 PyObject
* _argo1
= 0;
10716 PyObject
* _obj3
= 0;
10718 PyObject
* _obj4
= 0;
10719 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10741 if (! wxPoint_helper(_obj3
, &_arg3
))
10747 if (! wxSize_helper(_obj4
, &_arg4
))
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) return NULL
;
10756 } _resultobj
= Py_BuildValue("i",_result
);
10760 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10761 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
* _resultobj
;
10763 wxDirFilterListCtrl
* _arg0
;
10766 PyObject
* _argo0
= 0;
10767 PyObject
* _obj1
= 0;
10768 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10781 _arg1
= wxString_in_helper(_obj1
);
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) return NULL
;
10791 } Py_INCREF(Py_None
);
10792 _resultobj
= Py_None
;
10800 static PyMethodDef controls2cMethods
[] = {
10801 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11099 * This table is used by the pointer type-checker
11101 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11102 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11103 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11104 { "_signed_long","_long",0},
11105 { "_wxPrintQuality","_wxCoord",0},
11106 { "_wxPrintQuality","_int",0},
11107 { "_wxPrintQuality","_signed_int",0},
11108 { "_wxPrintQuality","_unsigned_int",0},
11109 { "_wxPrintQuality","_wxWindowID",0},
11110 { "_wxPrintQuality","_uint",0},
11111 { "_wxPrintQuality","_EBool",0},
11112 { "_wxPrintQuality","_size_t",0},
11113 { "_wxPrintQuality","_time_t",0},
11114 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11115 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11116 { "_byte","_unsigned_char",0},
11117 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11118 { "_long","_unsigned_long",0},
11119 { "_long","_signed_long",0},
11120 { "_size_t","_wxCoord",0},
11121 { "_size_t","_wxPrintQuality",0},
11122 { "_size_t","_time_t",0},
11123 { "_size_t","_unsigned_int",0},
11124 { "_size_t","_int",0},
11125 { "_size_t","_wxWindowID",0},
11126 { "_size_t","_uint",0},
11127 { "_uint","_wxCoord",0},
11128 { "_uint","_wxPrintQuality",0},
11129 { "_uint","_time_t",0},
11130 { "_uint","_size_t",0},
11131 { "_uint","_unsigned_int",0},
11132 { "_uint","_int",0},
11133 { "_uint","_wxWindowID",0},
11134 { "_wxChar","_char",0},
11135 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11136 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11137 { "_char","_wxChar",0},
11138 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11139 { "_EBool","_wxCoord",0},
11140 { "_EBool","_wxPrintQuality",0},
11141 { "_EBool","_signed_int",0},
11142 { "_EBool","_int",0},
11143 { "_EBool","_wxWindowID",0},
11144 { "_unsigned_long","_long",0},
11145 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11146 { "_signed_int","_wxCoord",0},
11147 { "_signed_int","_wxPrintQuality",0},
11148 { "_signed_int","_EBool",0},
11149 { "_signed_int","_wxWindowID",0},
11150 { "_signed_int","_int",0},
11151 { "_WXTYPE","_short",0},
11152 { "_WXTYPE","_signed_short",0},
11153 { "_WXTYPE","_unsigned_short",0},
11154 { "_unsigned_short","_WXTYPE",0},
11155 { "_unsigned_short","_short",0},
11156 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11157 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11158 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11159 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11160 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11161 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11162 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11163 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11164 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11165 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11166 { "_signed_short","_WXTYPE",0},
11167 { "_signed_short","_short",0},
11168 { "_unsigned_char","_byte",0},
11169 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11170 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11171 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11172 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11173 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11174 { "_unsigned_int","_wxCoord",0},
11175 { "_unsigned_int","_wxPrintQuality",0},
11176 { "_unsigned_int","_time_t",0},
11177 { "_unsigned_int","_size_t",0},
11178 { "_unsigned_int","_uint",0},
11179 { "_unsigned_int","_wxWindowID",0},
11180 { "_unsigned_int","_int",0},
11181 { "_short","_WXTYPE",0},
11182 { "_short","_unsigned_short",0},
11183 { "_short","_signed_short",0},
11184 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11185 { "_wxWindowID","_wxCoord",0},
11186 { "_wxWindowID","_wxPrintQuality",0},
11187 { "_wxWindowID","_time_t",0},
11188 { "_wxWindowID","_size_t",0},
11189 { "_wxWindowID","_EBool",0},
11190 { "_wxWindowID","_uint",0},
11191 { "_wxWindowID","_int",0},
11192 { "_wxWindowID","_signed_int",0},
11193 { "_wxWindowID","_unsigned_int",0},
11194 { "_int","_wxCoord",0},
11195 { "_int","_wxPrintQuality",0},
11196 { "_int","_time_t",0},
11197 { "_int","_size_t",0},
11198 { "_int","_EBool",0},
11199 { "_int","_uint",0},
11200 { "_int","_wxWindowID",0},
11201 { "_int","_unsigned_int",0},
11202 { "_int","_signed_int",0},
11203 { "_time_t","_wxCoord",0},
11204 { "_time_t","_wxPrintQuality",0},
11205 { "_time_t","_unsigned_int",0},
11206 { "_time_t","_int",0},
11207 { "_time_t","_wxWindowID",0},
11208 { "_time_t","_uint",0},
11209 { "_time_t","_size_t",0},
11210 { "_wxCoord","_int",0},
11211 { "_wxCoord","_signed_int",0},
11212 { "_wxCoord","_unsigned_int",0},
11213 { "_wxCoord","_wxWindowID",0},
11214 { "_wxCoord","_uint",0},
11215 { "_wxCoord","_EBool",0},
11216 { "_wxCoord","_size_t",0},
11217 { "_wxCoord","_time_t",0},
11218 { "_wxCoord","_wxPrintQuality",0},
11219 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11220 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11221 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11222 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11223 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11224 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11225 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11226 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11227 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11228 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11229 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11232 static PyObject
*SWIG_globals
;
11236 SWIGEXPORT(void) initcontrols2c() {
11238 SWIG_globals
= SWIG_newvarlink();
11239 m
= Py_InitModule("controls2c", controls2cMethods
);
11240 d
= PyModule_GetDict(m
);
11241 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11242 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11243 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11244 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11245 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11246 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11247 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11248 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11249 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11250 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11251 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11252 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11253 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11254 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11255 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11256 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11257 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11258 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11259 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11260 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11261 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11262 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11263 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11264 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11265 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11266 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11267 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11268 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11269 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11270 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11271 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11272 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11273 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11274 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11275 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11276 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11277 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11278 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11279 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11280 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11281 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11282 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11283 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11284 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11285 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11286 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11287 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11288 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11289 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11290 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11291 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11292 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11293 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11294 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11295 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11296 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11297 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11298 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11299 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11300 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11301 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11302 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11303 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11304 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11305 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11306 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11307 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11308 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11309 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11310 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11311 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11312 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11313 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11314 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11315 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11316 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11317 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11318 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11319 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11320 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11321 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11322 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11323 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11324 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11325 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11326 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11327 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11328 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11329 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11330 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11331 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11332 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11333 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11334 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11335 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11336 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11337 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11338 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11339 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11340 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11341 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11342 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11343 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11344 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11345 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11346 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11347 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11348 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11349 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11350 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11351 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11352 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11353 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11354 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11355 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11356 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11357 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11358 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11359 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11360 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11361 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11362 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11363 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11364 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11365 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11366 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11367 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11368 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11369 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11370 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11371 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11372 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11373 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11374 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11375 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11376 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11377 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11378 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11379 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11380 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11381 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11382 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11383 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11385 // Map renamed classes back to their common name for OOR
11386 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11387 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11388 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11391 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11392 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);