2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcontrols2c
55 #define SWIG_name "controls2c"
61 #include <wx/listctrl.h>
62 #include <wx/treectrl.h>
63 #include <wx/imaglist.h>
64 #include <wx/dirctrl.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 // Put some wx default wxChar* values into wxStrings.
96 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
97 DECLARE_DEF_STRING(ListCtrlNameStr
);
99 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
100 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
101 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
103 static const wxString
wxPyEmptyString(wxT(""));
105 static const long longzero
= 0;
106 // C++ Version of a Python aware class
107 class wxPyListCtrl
: public wxListCtrl
{
108 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
110 wxPyListCtrl() : wxListCtrl() {}
111 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
115 const wxValidator
& validator
,
116 const wxString
& name
) :
117 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
119 bool Create(wxWindow
* parent
, wxWindowID id
,
123 const wxValidator
& validator
,
124 const wxString
& name
) {
125 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
128 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
129 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
130 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
135 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
137 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
138 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
139 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
140 // Python aware sorting function for wxPyListCtrl
141 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
143 PyObject
* func
= (PyObject
*)funcPtr
;
144 wxPyBeginBlockThreads();
146 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
147 PyObject
* result
= PyEval_CallObject(func
, args
);
150 retval
= PyInt_AsLong(result
);
154 wxPyEndBlockThreads();
158 // C++ version of Python aware wxTreeCtrl
159 class wxPyTreeCtrl
: public wxTreeCtrl
{
160 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
162 wxPyTreeCtrl() : wxTreeCtrl() {}
163 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
167 const wxValidator
& validator
,
168 const wxString
& name
) :
169 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
171 bool Create(wxWindow
*parent
, wxWindowID id
,
175 const wxValidator
& validator
,
176 const wxString
& name
) {
177 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
181 int OnCompareItems(const wxTreeItemId
& item1
,
182 const wxTreeItemId
& item2
) {
185 wxPyBeginBlockThreads();
186 if ((found
= m_myInst
.findCallback("OnCompareItems"))) {
187 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"));
188 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"));
189 rval
= m_myInst
.callCallback(Py_BuildValue("(OO)",o1
,o2
));
193 wxPyEndBlockThreads();
195 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
201 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
206 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
207 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
209 wxListItemAttr
* _result
;
210 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
211 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
212 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
214 PyObject
* _obj0
= 0;
216 PyObject
* _obj1
= 0;
217 PyObject
* _argo2
= 0;
218 char *_kwnames
[] = { "colText","colBack","font", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
227 if (! wxColour_helper(_obj0
, &_arg0
))
233 if (! wxColour_helper(_obj1
, &_arg1
))
237 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
244 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
246 wxPyEndAllowThreads(__tstate
);
247 if (PyErr_Occurred()) return NULL
;
249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
250 _resultobj
= Py_BuildValue("s",_ptemp
);
253 _resultobj
= Py_None
;
258 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
259 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 wxListItemAttr
* _arg0
;
263 PyObject
* _argo0
= 0;
265 PyObject
* _obj1
= 0;
266 char *_kwnames
[] = { "self","colText", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
280 if (! wxColour_helper(_obj1
, &_arg1
))
284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
285 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
287 wxPyEndAllowThreads(__tstate
);
288 if (PyErr_Occurred()) return NULL
;
289 } Py_INCREF(Py_None
);
290 _resultobj
= Py_None
;
294 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
295 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
297 wxListItemAttr
* _arg0
;
299 PyObject
* _argo0
= 0;
301 PyObject
* _obj1
= 0;
302 char *_kwnames
[] = { "self","colBack", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
316 if (! wxColour_helper(_obj1
, &_arg1
))
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
331 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
333 wxListItemAttr
* _arg0
;
335 PyObject
* _argo0
= 0;
336 PyObject
* _argo1
= 0;
337 char *_kwnames
[] = { "self","font", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
350 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 wxListItemAttr_SetFont(_arg0
,*_arg1
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
366 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
367 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
370 wxListItemAttr
* _arg0
;
371 PyObject
* _argo0
= 0;
372 char *_kwnames
[] = { "self", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
390 } _resultobj
= Py_BuildValue("i",_result
);
394 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
395 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(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_HasBackgroundColour",_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_HasBackgroundColour. Expected _wxListItemAttr_p.");
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
418 } _resultobj
= Py_BuildValue("i",_result
);
422 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
423 static PyObject
*_wrap_wxListItemAttr_HasFont(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_HasFont",_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_HasFont. Expected _wxListItemAttr_p.");
441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
442 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
444 wxPyEndAllowThreads(__tstate
);
445 if (PyErr_Occurred()) return NULL
;
446 } _resultobj
= Py_BuildValue("i",_result
);
450 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
451 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxListItemAttr
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
471 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
473 wxPyEndAllowThreads(__tstate
);
474 if (PyErr_Occurred()) return NULL
;
475 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
476 _resultobj
= Py_BuildValue("s",_ptemp
);
480 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
481 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
484 wxListItemAttr
* _arg0
;
485 PyObject
* _argo0
= 0;
486 char *_kwnames
[] = { "self", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
501 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
506 _resultobj
= Py_BuildValue("s",_ptemp
);
510 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
511 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
514 wxListItemAttr
* _arg0
;
515 PyObject
* _argo0
= 0;
516 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
533 wxPyEndAllowThreads(__tstate
);
534 if (PyErr_Occurred()) return NULL
;
535 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
536 _resultobj
= Py_BuildValue("s",_ptemp
);
540 static void *SwigwxListItemTowxObject(void *ptr
) {
543 src
= (wxListItem
*) ptr
;
544 dest
= (wxObject
*) src
;
545 return (void *) dest
;
548 #define new_wxListItem() (new wxListItem())
549 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
551 wxListItem
* _result
;
552 char *_kwnames
[] = { NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
560 _result
= (wxListItem
*)new_wxListItem();
562 wxPyEndAllowThreads(__tstate
);
563 if (PyErr_Occurred()) return NULL
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define delete_wxListItem(_swigobj) (delete _swigobj)
575 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
593 delete_wxListItem(_arg0
);
595 wxPyEndAllowThreads(__tstate
);
596 if (PyErr_Occurred()) return NULL
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
602 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
603 static PyObject
*_wrap_wxListItem_Clear(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:wxListItem_Clear",_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 wxListItem_Clear. Expected _wxListItem_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 wxListItem_Clear(_arg0
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
631 static PyObject
*_wrap_wxListItem_ClearAttributes(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_ClearAttributes",_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_ClearAttributes. Expected _wxListItem_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 wxListItem_ClearAttributes(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } Py_INCREF(Py_None
);
654 _resultobj
= Py_None
;
658 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
659 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","mask", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 wxListItem_SetMask(_arg0
,_arg1
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
688 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self","id", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 wxListItem_SetId(_arg0
,_arg1
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
717 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self","col", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 wxListItem_SetColumn(_arg0
,_arg1
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 } Py_INCREF(Py_None
);
741 _resultobj
= Py_None
;
745 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
746 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self","state", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 wxListItem_SetState(_arg0
,_arg1
);
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
769 } Py_INCREF(Py_None
);
770 _resultobj
= Py_None
;
774 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
775 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self","stateMask", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxListItem_SetStateMask(_arg0
,_arg1
);
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
803 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
804 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
808 PyObject
* _argo0
= 0;
809 PyObject
* _obj1
= 0;
810 char *_kwnames
[] = { "self","text", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
823 _arg1
= wxString_in_helper(_obj1
);
828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
829 wxListItem_SetText(_arg0
,*_arg1
);
831 wxPyEndAllowThreads(__tstate
);
832 if (PyErr_Occurred()) return NULL
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
842 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
843 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
847 PyObject
* _argo0
= 0;
848 char *_kwnames
[] = { "self","image", NULL
};
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
862 wxListItem_SetImage(_arg0
,_arg1
);
864 wxPyEndAllowThreads(__tstate
);
865 if (PyErr_Occurred()) return NULL
;
866 } Py_INCREF(Py_None
);
867 _resultobj
= Py_None
;
871 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
872 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self","data", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 wxListItem_SetData(_arg0
,_arg1
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
895 } Py_INCREF(Py_None
);
896 _resultobj
= Py_None
;
900 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
901 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
905 PyObject
* _argo0
= 0;
906 char *_kwnames
[] = { "self","width", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 wxListItem_SetWidth(_arg0
,_arg1
);
922 wxPyEndAllowThreads(__tstate
);
923 if (PyErr_Occurred()) return NULL
;
924 } Py_INCREF(Py_None
);
925 _resultobj
= Py_None
;
929 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
930 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
933 wxListColumnFormat _arg1
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self","align", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxListItem_SetAlign(_arg0
,_arg1
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
959 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
963 PyObject
* _argo0
= 0;
965 PyObject
* _obj1
= 0;
966 char *_kwnames
[] = { "self","colText", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
980 if (! wxColour_helper(_obj1
, &_arg1
))
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 wxListItem_SetTextColour(_arg0
,*_arg1
);
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) return NULL
;
989 } Py_INCREF(Py_None
);
990 _resultobj
= Py_None
;
994 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
995 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
999 PyObject
* _argo0
= 0;
1001 PyObject
* _obj1
= 0;
1002 char *_kwnames
[] = { "self","colBack", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1016 if (! wxColour_helper(_obj1
, &_arg1
))
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) return NULL
;
1025 } Py_INCREF(Py_None
);
1026 _resultobj
= Py_None
;
1030 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1031 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1035 PyObject
* _argo0
= 0;
1036 PyObject
* _argo1
= 0;
1037 char *_kwnames
[] = { "self","font", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1050 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 wxListItem_SetFont(_arg0
,*_arg1
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1067 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1071 PyObject
* _argo0
= 0;
1072 char *_kwnames
[] = { "self", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1086 _result
= (long )wxListItem_GetMask(_arg0
);
1088 wxPyEndAllowThreads(__tstate
);
1089 if (PyErr_Occurred()) return NULL
;
1090 } _resultobj
= Py_BuildValue("l",_result
);
1094 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1095 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 _result
= (long )wxListItem_GetId(_arg0
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) return NULL
;
1118 } _resultobj
= Py_BuildValue("l",_result
);
1122 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1123 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 _result
= (int )wxListItem_GetColumn(_arg0
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) return NULL
;
1146 } _resultobj
= Py_BuildValue("i",_result
);
1150 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1151 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1155 PyObject
* _argo0
= 0;
1156 char *_kwnames
[] = { "self", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 _result
= (long )wxListItem_GetState(_arg0
);
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) return NULL
;
1174 } _resultobj
= Py_BuildValue("l",_result
);
1178 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1179 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1198 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1199 _result
= (wxString
*) &_result_ref
;
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1205 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1207 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1213 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1214 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 _result
= (int )wxListItem_GetImage(_arg0
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) return NULL
;
1237 } _resultobj
= Py_BuildValue("i",_result
);
1241 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1242 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1246 PyObject
* _argo0
= 0;
1247 char *_kwnames
[] = { "self", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 _result
= (long )wxListItem_GetData(_arg0
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } _resultobj
= Py_BuildValue("l",_result
);
1269 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1270 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 _result
= (int )wxListItem_GetWidth(_arg0
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 } _resultobj
= Py_BuildValue("i",_result
);
1297 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1298 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxListColumnFormat _result
;
1302 PyObject
* _argo0
= 0;
1303 char *_kwnames
[] = { "self", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1317 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1319 wxPyEndAllowThreads(__tstate
);
1320 if (PyErr_Occurred()) return NULL
;
1321 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1326 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1328 wxListItemAttr
* _result
;
1330 PyObject
* _argo0
= 0;
1331 char *_kwnames
[] = { "self", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_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_GetAttributes. Expected _wxListItem_p.");
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1352 _resultobj
= Py_BuildValue("s",_ptemp
);
1355 _resultobj
= Py_None
;
1360 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1361 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1384 } _resultobj
= Py_BuildValue("i",_result
);
1388 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1389 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1393 PyObject
* _argo0
= 0;
1394 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_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_GetTextColour. Expected _wxListItem_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1414 _resultobj
= Py_BuildValue("s",_ptemp
);
1418 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1419 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) return NULL
;
1443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1444 _resultobj
= Py_BuildValue("s",_ptemp
);
1448 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1449 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1453 PyObject
* _argo0
= 0;
1454 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1474 _resultobj
= Py_BuildValue("s",_ptemp
);
1478 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1479 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self","m_mask", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } _resultobj
= Py_BuildValue("l",_result
);
1507 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1508 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (long )wxListItem_m_mask_get(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("l",_result
);
1535 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1536 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self","m_itemId", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
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_itemId_set. Expected _wxListItem_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("l",_result
);
1564 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1565 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "self", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) return NULL
;
1588 } _resultobj
= Py_BuildValue("l",_result
);
1592 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1593 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self","m_col", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
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_col_set. Expected _wxListItem_p.");
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1617 } _resultobj
= Py_BuildValue("i",_result
);
1621 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1622 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 _result
= (int )wxListItem_m_col_get(_arg0
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) return NULL
;
1645 } _resultobj
= Py_BuildValue("i",_result
);
1649 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1650 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self","m_state", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
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_state_set. Expected _wxListItem_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("l",_result
);
1678 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1679 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 _result
= (long )wxListItem_m_state_get(_arg0
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) return NULL
;
1702 } _resultobj
= Py_BuildValue("l",_result
);
1706 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1707 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
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_stateMask_set. Expected _wxListItem_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("l",_result
);
1735 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1736 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } _resultobj
= Py_BuildValue("l",_result
);
1763 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1764 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 PyObject
* _obj1
= 0;
1771 char *_kwnames
[] = { "self","m_text", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1784 _arg1
= wxString_in_helper(_obj1
);
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) return NULL
;
1796 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1808 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1809 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1813 PyObject
* _argo0
= 0;
1814 char *_kwnames
[] = { "self", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) return NULL
;
1834 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1842 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1843 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self","m_image", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } _resultobj
= Py_BuildValue("i",_result
);
1871 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1872 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1876 PyObject
* _argo0
= 0;
1877 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 _result
= (int )wxListItem_m_image_get(_arg0
);
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) return NULL
;
1895 } _resultobj
= Py_BuildValue("i",_result
);
1899 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1900 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self","m_data", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
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_data_set. Expected _wxListItem_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } _resultobj
= Py_BuildValue("l",_result
);
1928 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1929 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 _result
= (long )wxListItem_m_data_get(_arg0
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) return NULL
;
1952 } _resultobj
= Py_BuildValue("l",_result
);
1956 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1957 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self","m_format", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
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_format_set. Expected _wxListItem_p.");
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } _resultobj
= Py_BuildValue("i",_result
);
1985 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1986 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 _result
= (int )wxListItem_m_format_get(_arg0
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2009 } _resultobj
= Py_BuildValue("i",_result
);
2013 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2014 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self","m_width", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
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_width_set. Expected _wxListItem_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2043 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 _result
= (int )wxListItem_m_width_get(_arg0
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } _resultobj
= Py_BuildValue("i",_result
);
2070 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2072 wxNotifyEvent
*dest
;
2073 src
= (wxListEvent
*) ptr
;
2074 dest
= (wxNotifyEvent
*) src
;
2075 return (void *) dest
;
2078 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2080 wxCommandEvent
*dest
;
2081 src
= (wxListEvent
*) ptr
;
2082 dest
= (wxCommandEvent
*) src
;
2083 return (void *) dest
;
2086 static void *SwigwxListEventTowxEvent(void *ptr
) {
2089 src
= (wxListEvent
*) ptr
;
2090 dest
= (wxEvent
*) src
;
2091 return (void *) dest
;
2094 static void *SwigwxListEventTowxObject(void *ptr
) {
2097 src
= (wxListEvent
*) ptr
;
2098 dest
= (wxObject
*) src
;
2099 return (void *) dest
;
2102 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2103 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2105 wxListEvent
* _result
;
2106 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2107 int _arg1
= (int ) 0;
2108 char *_kwnames
[] = { "commandType","id", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) return NULL
;
2121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2122 _resultobj
= Py_BuildValue("s",_ptemp
);
2125 _resultobj
= Py_None
;
2130 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2131 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2134 wxListEvent
* _arg0
;
2135 PyObject
* _argo0
= 0;
2136 char *_kwnames
[] = { "self", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 _result
= (int )wxListEvent_m_code_get(_arg0
);
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) return NULL
;
2154 } _resultobj
= Py_BuildValue("i",_result
);
2158 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2159 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 wxListEvent
* _arg0
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) return NULL
;
2182 } _resultobj
= Py_BuildValue("l",_result
);
2186 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2187 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 wxListEvent
* _arg0
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) return NULL
;
2210 } _resultobj
= Py_BuildValue("l",_result
);
2214 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2215 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2218 wxListEvent
* _arg0
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 _result
= (int )wxListEvent_m_col_get(_arg0
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } _resultobj
= Py_BuildValue("i",_result
);
2242 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2243 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2246 wxListEvent
* _arg0
;
2247 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) return NULL
;
2268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2269 _resultobj
= Py_BuildValue("s",_ptemp
);
2272 _resultobj
= Py_None
;
2277 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2278 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxListItem
* _result
;
2281 wxListEvent
* _arg0
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) return NULL
;
2301 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2305 #define wxListEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2306 static PyObject
*_wrap_wxListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2309 wxListEvent
* _arg0
;
2310 PyObject
* _argo0
= 0;
2311 char *_kwnames
[] = { "self", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetKeyCode",_kwnames
,&_argo0
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetKeyCode. Expected _wxListEvent_p.");
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 _result
= (int )wxListEvent_GetKeyCode(_arg0
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) return NULL
;
2329 } _resultobj
= Py_BuildValue("i",_result
);
2333 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2334 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2337 wxListEvent
* _arg0
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 _result
= (long )wxListEvent_GetIndex(_arg0
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) return NULL
;
2357 } _resultobj
= Py_BuildValue("l",_result
);
2361 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2362 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2365 wxListEvent
* _arg0
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 _result
= (int )wxListEvent_GetColumn(_arg0
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) return NULL
;
2385 } _resultobj
= Py_BuildValue("i",_result
);
2389 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2390 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2393 wxListEvent
* _arg0
;
2394 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2419 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2420 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2423 wxListEvent
* _arg0
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2440 _result
= (wxString
*) &_result_ref
;
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2446 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2454 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2455 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2458 wxListEvent
* _arg0
;
2459 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2475 _result
= (wxString
*) &_result_ref
;
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) return NULL
;
2481 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2483 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2489 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2490 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2493 wxListEvent
* _arg0
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= (int )wxListEvent_GetImage(_arg0
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2518 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 wxListEvent
* _arg0
;
2522 PyObject
* _argo0
= 0;
2523 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 _result
= (long )wxListEvent_GetData(_arg0
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } _resultobj
= Py_BuildValue("l",_result
);
2545 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2546 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2549 wxListEvent
* _arg0
;
2550 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 _result
= (long )wxListEvent_GetMask(_arg0
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } _resultobj
= Py_BuildValue("l",_result
);
2573 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2574 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxListItem
* _result
;
2577 wxListEvent
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2594 _result
= (wxListItem
*) &_result_ref
;
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2598 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2602 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2603 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2606 wxListEvent
* _arg0
;
2607 PyObject
* _argo0
= 0;
2608 char *_kwnames
[] = { "self", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) return NULL
;
2626 } _resultobj
= Py_BuildValue("l",_result
);
2630 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2631 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2634 wxListEvent
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } _resultobj
= Py_BuildValue("l",_result
);
2658 #define wxListEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
2659 static PyObject
*_wrap_wxListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2662 wxListEvent
* _arg0
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_IsEditCancelled",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_IsEditCancelled. Expected _wxListEvent_p.");
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 _result
= (bool )wxListEvent_IsEditCancelled(_arg0
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2682 } _resultobj
= Py_BuildValue("i",_result
);
2686 #define wxListEvent_SetEditCanceled(_swigobj,_swigarg0) (_swigobj->SetEditCanceled(_swigarg0))
2687 static PyObject
*_wrap_wxListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxListEvent
* _arg0
;
2691 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self","editCancelled", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_SetEditCanceled",_kwnames
,&_argo0
,&tempbool1
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_SetEditCanceled. Expected _wxListEvent_p.");
2705 _arg1
= (bool ) tempbool1
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 wxListEvent_SetEditCanceled(_arg0
,_arg1
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } Py_INCREF(Py_None
);
2713 _resultobj
= Py_None
;
2717 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2720 src
= (wxPyListCtrl
*) ptr
;
2721 dest
= (wxControl
*) src
;
2722 return (void *) dest
;
2725 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2728 src
= (wxPyListCtrl
*) ptr
;
2729 dest
= (wxWindow
*) src
;
2730 return (void *) dest
;
2733 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2736 src
= (wxPyListCtrl
*) ptr
;
2737 dest
= (wxEvtHandler
*) src
;
2738 return (void *) dest
;
2741 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2744 src
= (wxPyListCtrl
*) ptr
;
2745 dest
= (wxObject
*) src
;
2746 return (void *) dest
;
2749 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2750 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2752 wxPyListCtrl
* _result
;
2754 wxWindowID _arg1
= (wxWindowID
) -1;
2755 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2756 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2757 long _arg4
= (long ) (wxLC_ICON
);
2758 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2759 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
2760 PyObject
* _argo0
= 0;
2762 PyObject
* _obj2
= 0;
2764 PyObject
* _obj3
= 0;
2765 PyObject
* _argo5
= 0;
2766 PyObject
* _obj6
= 0;
2767 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2783 if (! wxPoint_helper(_obj2
, &_arg2
))
2789 if (! wxSize_helper(_obj3
, &_arg3
))
2793 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2800 _arg6
= wxString_in_helper(_obj6
);
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) return NULL
;
2811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2812 _resultobj
= Py_BuildValue("s",_ptemp
);
2815 _resultobj
= Py_None
;
2824 #define new_wxPreListCtrl() (new wxPyListCtrl())
2825 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2827 wxPyListCtrl
* _result
;
2828 char *_kwnames
[] = { NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2842 _resultobj
= Py_BuildValue("s",_ptemp
);
2845 _resultobj
= Py_None
;
2850 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2851 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2854 wxPyListCtrl
* _arg0
;
2856 wxWindowID _arg2
= (wxWindowID
) -1;
2857 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2858 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2859 long _arg5
= (long ) (wxLC_ICON
);
2860 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2861 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
2862 PyObject
* _argo0
= 0;
2863 PyObject
* _argo1
= 0;
2865 PyObject
* _obj3
= 0;
2867 PyObject
* _obj4
= 0;
2868 PyObject
* _argo6
= 0;
2869 PyObject
* _obj7
= 0;
2870 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2892 if (! wxPoint_helper(_obj3
, &_arg3
))
2898 if (! wxSize_helper(_obj4
, &_arg4
))
2902 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2909 _arg7
= wxString_in_helper(_obj7
);
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) return NULL
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2927 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2928 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2930 wxPyListCtrl
* _arg0
;
2933 PyObject
* _argo0
= 0;
2934 PyObject
* _obj1
= 0;
2935 PyObject
* _obj2
= 0;
2936 char *_kwnames
[] = { "self","self","_class", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2965 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2966 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2969 wxPyListCtrl
* _arg0
;
2971 PyObject
* _argo0
= 0;
2973 PyObject
* _obj1
= 0;
2974 char *_kwnames
[] = { "self","col", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
2988 if (! wxColour_helper(_obj1
, &_arg1
))
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) return NULL
;
2997 } _resultobj
= Py_BuildValue("i",_result
);
3001 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3002 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3005 wxPyListCtrl
* _arg0
;
3007 PyObject
* _argo0
= 0;
3009 PyObject
* _obj1
= 0;
3010 char *_kwnames
[] = { "self","col", NULL
};
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3024 if (! wxColour_helper(_obj1
, &_arg1
))
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3037 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3039 item
.SetMask(0xFFFF);
3040 if (self
->GetColumn(col
, item
))
3041 return new wxListItem(item
);
3045 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3047 wxListItem
* _result
;
3048 wxPyListCtrl
* _arg0
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self","col", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3073 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3074 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3077 wxPyListCtrl
* _arg0
;
3080 PyObject
* _argo0
= 0;
3081 PyObject
* _argo2
= 0;
3082 char *_kwnames
[] = { "self","col","item", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3095 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3111 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 wxPyListCtrl
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self","col", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3140 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 wxPyListCtrl
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self","col","width", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } _resultobj
= Py_BuildValue("i",_result
);
3169 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3170 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3173 wxPyListCtrl
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 char *_kwnames
[] = { "self", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3193 } _resultobj
= Py_BuildValue("i",_result
);
3197 #define wxListCtrl_GetViewRect(_swigobj) (_swigobj->GetViewRect())
3198 static PyObject
*_wrap_wxListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3201 wxPyListCtrl
* _arg0
;
3202 PyObject
* _argo0
= 0;
3203 char *_kwnames
[] = { "self", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetViewRect",_kwnames
,&_argo0
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetViewRect. Expected _wxPyListCtrl_p.");
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 _result
= new wxRect (wxListCtrl_GetViewRect(_arg0
));
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3222 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3223 _resultobj
= Py_BuildValue("s",_ptemp
);
3227 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3228 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3230 wxTextCtrl
* _result
;
3231 wxPyListCtrl
* _arg0
;
3232 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "self", NULL
};
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) return NULL
;
3251 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3255 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3256 wxListItem
* info
= new wxListItem
;
3257 info
->m_itemId
= itemId
;
3259 info
->m_mask
= 0xFFFF;
3260 self
->GetItem(*info
);
3263 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxListItem
* _result
;
3266 wxPyListCtrl
* _arg0
;
3268 int _arg2
= (int ) 0;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self","itemId","col", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) return NULL
;
3288 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3292 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3293 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3296 wxPyListCtrl
* _arg0
;
3298 PyObject
* _argo0
= 0;
3299 PyObject
* _argo1
= 0;
3300 char *_kwnames
[] = { "self","info", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3313 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } _resultobj
= Py_BuildValue("i",_result
);
3328 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3329 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3332 wxPyListCtrl
* _arg0
;
3336 int _arg4
= (int ) -1;
3337 PyObject
* _argo0
= 0;
3338 PyObject
* _obj3
= 0;
3339 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3352 _arg3
= wxString_in_helper(_obj3
);
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3362 } _resultobj
= Py_BuildValue("l",_result
);
3370 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3371 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3374 wxPyListCtrl
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3396 } _resultobj
= Py_BuildValue("i",_result
);
3400 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3401 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
* _resultobj
;
3404 wxPyListCtrl
* _arg0
;
3408 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) return NULL
;
3427 } _resultobj
= Py_BuildValue("i",_result
);
3431 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3432 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3435 wxPyListCtrl
* _arg0
;
3439 PyObject
* _argo0
= 0;
3440 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) return NULL
;
3458 } _resultobj
= Py_BuildValue("i",_result
);
3462 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3463 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
* _resultobj
;
3466 wxPyListCtrl
* _arg0
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self","item", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) return NULL
;
3489 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3491 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3500 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3501 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3503 wxPyListCtrl
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 PyObject
* _obj2
= 0;
3508 char *_kwnames
[] = { "self","item","str", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3521 _arg2
= wxString_in_helper(_obj2
);
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } Py_INCREF(Py_None
);
3532 _resultobj
= Py_None
;
3540 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3541 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3544 wxPyListCtrl
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","item", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) return NULL
;
3565 } _resultobj
= Py_BuildValue("l",_result
);
3569 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3570 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3573 wxPyListCtrl
* _arg0
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self","item","data", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3595 } _resultobj
= Py_BuildValue("i",_result
);
3599 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3600 wxPoint
* pos
= new wxPoint
;
3601 self
->GetItemPosition(item
, *pos
);
3604 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3607 wxPyListCtrl
* _arg0
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self","item", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) return NULL
;
3630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3631 _resultobj
= Py_BuildValue("s",_ptemp
);
3634 _resultobj
= Py_None
;
3639 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3640 wxRect
* rect
= new wxRect
;
3641 self
->GetItemRect(item
, *rect
, code
);
3644 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3647 wxPyListCtrl
* _arg0
;
3649 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","item","code", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) return NULL
;
3671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3672 _resultobj
= Py_BuildValue("s",_ptemp
);
3675 _resultobj
= Py_None
;
3680 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3681 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
* _resultobj
;
3684 wxPyListCtrl
* _arg0
;
3687 PyObject
* _argo0
= 0;
3689 PyObject
* _obj2
= 0;
3690 char *_kwnames
[] = { "self","item","pos", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3704 if (! wxPoint_helper(_obj2
, &_arg2
))
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) return NULL
;
3713 } _resultobj
= Py_BuildValue("i",_result
);
3717 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3718 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxPyListCtrl
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) return NULL
;
3741 } _resultobj
= Py_BuildValue("i",_result
);
3745 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3746 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3749 wxPyListCtrl
* _arg0
;
3750 PyObject
* _argo0
= 0;
3751 char *_kwnames
[] = { "self", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3769 } _resultobj
= Py_BuildValue("i",_result
);
3773 #define wxListCtrl_GetItemSpacing(_swigobj) (_swigobj->GetItemSpacing())
3774 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3777 wxPyListCtrl
* _arg0
;
3778 PyObject
* _argo0
= 0;
3779 char *_kwnames
[] = { "self", NULL
};
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
))
3786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 _result
= new wxSize (wxListCtrl_GetItemSpacing(_arg0
));
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) return NULL
;
3798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3799 _resultobj
= Py_BuildValue("s",_ptemp
);
3803 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3804 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3807 wxPyListCtrl
* _arg0
;
3808 PyObject
* _argo0
= 0;
3809 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) return NULL
;
3827 } _resultobj
= Py_BuildValue("i",_result
);
3831 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3832 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxPyListCtrl
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3856 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3857 _resultobj
= Py_BuildValue("s",_ptemp
);
3861 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3862 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3864 wxPyListCtrl
* _arg0
;
3866 PyObject
* _argo0
= 0;
3868 PyObject
* _obj1
= 0;
3869 char *_kwnames
[] = { "self","col", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3883 if (! wxColour_helper(_obj1
, &_arg1
))
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) return NULL
;
3892 } Py_INCREF(Py_None
);
3893 _resultobj
= Py_None
;
3897 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3898 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
* _resultobj
;
3901 wxPyListCtrl
* _arg0
;
3902 PyObject
* _argo0
= 0;
3903 char *_kwnames
[] = { "self", NULL
};
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) return NULL
;
3921 } _resultobj
= Py_BuildValue("l",_result
);
3925 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3926 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3928 wxPyListCtrl
* _arg0
;
3930 bool _arg2
= (bool ) TRUE
;
3931 PyObject
* _argo0
= 0;
3932 int tempbool2
= (int) TRUE
;
3933 char *_kwnames
[] = { "self","style","add", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3945 _arg2
= (bool ) tempbool2
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) return NULL
;
3952 } Py_INCREF(Py_None
);
3953 _resultobj
= Py_None
;
3957 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3958 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3960 wxPyListCtrl
* _arg0
;
3962 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self","style", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } Py_INCREF(Py_None
);
3982 _resultobj
= Py_None
;
3986 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3987 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3990 wxPyListCtrl
* _arg0
;
3992 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3993 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3994 PyObject
* _argo0
= 0;
3995 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) return NULL
;
4013 } _resultobj
= Py_BuildValue("l",_result
);
4017 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4018 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4020 wxImageList
* _result
;
4021 wxPyListCtrl
* _arg0
;
4023 PyObject
* _argo0
= 0;
4024 char *_kwnames
[] = { "self","which", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) return NULL
;
4042 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4046 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4047 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxPyListCtrl
* _arg0
;
4050 wxImageList
* _arg1
;
4052 PyObject
* _argo0
= 0;
4053 PyObject
* _argo1
= 0;
4054 char *_kwnames
[] = { "self","imageList","which", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) return NULL
;
4079 } Py_INCREF(Py_None
);
4080 _resultobj
= Py_None
;
4084 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4085 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
* _resultobj
;
4087 wxPyListCtrl
* _arg0
;
4088 wxImageList
* _arg1
;
4090 PyObject
* _argo0
= 0;
4091 PyObject
* _argo1
= 0;
4092 char *_kwnames
[] = { "self","imageList","which", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) return NULL
;
4117 } Py_INCREF(Py_None
);
4118 _resultobj
= Py_None
;
4122 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4123 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4126 wxPyListCtrl
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4151 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4153 wxPyListCtrl
* _arg0
;
4155 PyObject
* _argo0
= 0;
4156 char *_kwnames
[] = { "self","item", NULL
};
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) return NULL
;
4174 } Py_INCREF(Py_None
);
4175 _resultobj
= Py_None
;
4179 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4180 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4182 wxPyListCtrl
* _arg0
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) return NULL
;
4204 } Py_INCREF(Py_None
);
4205 _resultobj
= Py_None
;
4209 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4210 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4213 wxPyListCtrl
* _arg0
;
4214 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self","flag", NULL
};
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4239 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4242 wxPyListCtrl
* _arg0
;
4244 PyObject
* _argo0
= 0;
4245 char *_kwnames
[] = { "self","item", NULL
};
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) return NULL
;
4263 } _resultobj
= Py_BuildValue("i",_result
);
4267 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4268 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4271 wxPyListCtrl
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) return NULL
;
4291 } _resultobj
= Py_BuildValue("i",_result
);
4295 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4296 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4299 wxPyListCtrl
* _arg0
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self","col", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } _resultobj
= Py_BuildValue("i",_result
);
4324 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4325 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4328 wxPyListCtrl
* _arg0
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) return NULL
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4353 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4355 wxPyListCtrl
* _arg0
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 wxListCtrl_ClearAll(_arg0
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) return NULL
;
4375 } Py_INCREF(Py_None
);
4376 _resultobj
= Py_None
;
4380 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4381 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4383 wxTextCtrl
* _result
;
4384 wxPyListCtrl
* _arg0
;
4386 PyObject
* _argo0
= 0;
4387 char *_kwnames
[] = { "self","item", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4409 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4410 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxPyListCtrl
* _arg0
;
4415 PyObject
* _argo0
= 0;
4417 char *_kwnames
[] = { "self","cancel", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4429 _arg1
= (bool ) tempbool1
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } _resultobj
= Py_BuildValue("i",_result
);
4440 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4441 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4444 wxPyListCtrl
* _arg0
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self","item", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) return NULL
;
4465 } _resultobj
= Py_BuildValue("i",_result
);
4469 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4470 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4473 wxPyListCtrl
* _arg0
;
4476 bool _arg3
= (bool ) FALSE
;
4477 PyObject
* _argo0
= 0;
4478 PyObject
* _obj2
= 0;
4479 int tempbool3
= (int) FALSE
;
4480 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4493 _arg2
= wxString_in_helper(_obj2
);
4497 _arg3
= (bool ) tempbool3
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) return NULL
;
4504 } _resultobj
= Py_BuildValue("l",_result
);
4512 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4513 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4516 wxPyListCtrl
* _arg0
;
4519 PyObject
* _argo0
= 0;
4520 char *_kwnames
[] = { "self","start","data", NULL
};
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) return NULL
;
4538 } _resultobj
= Py_BuildValue("l",_result
);
4542 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4543 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4546 wxPyListCtrl
* _arg0
;
4550 PyObject
* _argo0
= 0;
4552 PyObject
* _obj2
= 0;
4553 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4567 if (! wxPoint_helper(_obj2
, &_arg2
))
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } _resultobj
= Py_BuildValue("l",_result
);
4580 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4581 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4584 wxPyListCtrl
* _arg0
;
4588 PyObject
* _argo0
= 0;
4590 PyObject
* _obj1
= 0;
4591 char *_kwnames
[] = { "self","point", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4608 if (! wxPoint_helper(_obj1
, &_arg1
))
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) return NULL
;
4617 } _resultobj
= Py_BuildValue("l",_result
);
4620 o
= PyInt_FromLong((long) (*_arg2
));
4621 _resultobj
= t_output_helper(_resultobj
, o
);
4626 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4627 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4630 wxPyListCtrl
* _arg0
;
4632 PyObject
* _argo0
= 0;
4633 PyObject
* _argo1
= 0;
4634 char *_kwnames
[] = { "self","info", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4647 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) return NULL
;
4658 } _resultobj
= Py_BuildValue("l",_result
);
4662 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4663 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4666 wxPyListCtrl
* _arg0
;
4669 PyObject
* _argo0
= 0;
4670 PyObject
* _obj2
= 0;
4671 char *_kwnames
[] = { "self","index","label", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4684 _arg2
= wxString_in_helper(_obj2
);
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) return NULL
;
4694 } _resultobj
= Py_BuildValue("l",_result
);
4702 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4703 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4706 wxPyListCtrl
* _arg0
;
4709 PyObject
* _argo0
= 0;
4710 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) return NULL
;
4728 } _resultobj
= Py_BuildValue("l",_result
);
4732 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4733 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4736 wxPyListCtrl
* _arg0
;
4740 PyObject
* _argo0
= 0;
4741 PyObject
* _obj2
= 0;
4742 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4755 _arg2
= wxString_in_helper(_obj2
);
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) return NULL
;
4765 } _resultobj
= Py_BuildValue("l",_result
);
4773 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4774 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxPyListCtrl
* _arg0
;
4780 PyObject
* _argo0
= 0;
4781 PyObject
* _argo2
= 0;
4782 char *_kwnames
[] = { "self","col","info", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4795 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } _resultobj
= Py_BuildValue("l",_result
);
4810 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4811 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4814 wxPyListCtrl
* _arg0
;
4817 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4818 int _arg4
= (int ) -1;
4819 PyObject
* _argo0
= 0;
4820 PyObject
* _obj2
= 0;
4821 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4834 _arg2
= wxString_in_helper(_obj2
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) return NULL
;
4844 } _resultobj
= Py_BuildValue("l",_result
);
4852 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4853 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4855 wxPyListCtrl
* _arg0
;
4857 PyObject
* _argo0
= 0;
4858 char *_kwnames
[] = { "self","count", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) return NULL
;
4876 } Py_INCREF(Py_None
);
4877 _resultobj
= Py_None
;
4881 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4882 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4885 wxPyListCtrl
* _arg0
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self","dx","dy", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) return NULL
;
4907 } _resultobj
= Py_BuildValue("i",_result
);
4911 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4912 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4914 wxPyListCtrl
* _arg0
;
4917 PyObject
* _argo0
= 0;
4919 PyObject
* _obj2
= 0;
4920 char *_kwnames
[] = { "self","item","col", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4934 if (! wxColour_helper(_obj2
, &_arg2
))
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) return NULL
;
4943 } Py_INCREF(Py_None
);
4944 _resultobj
= Py_None
;
4948 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4949 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
* _resultobj
;
4952 wxPyListCtrl
* _arg0
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self","item", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4975 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4980 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4982 wxPyListCtrl
* _arg0
;
4985 PyObject
* _argo0
= 0;
4987 PyObject
* _obj2
= 0;
4988 char *_kwnames
[] = { "self","item","col", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
5002 if (! wxColour_helper(_obj2
, &_arg2
))
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) return NULL
;
5011 } Py_INCREF(Py_None
);
5012 _resultobj
= Py_None
;
5016 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
5017 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
* _resultobj
;
5020 wxPyListCtrl
* _arg0
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self","item", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) return NULL
;
5042 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5043 _resultobj
= Py_BuildValue("s",_ptemp
);
5047 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5048 if (!PyCallable_Check(func
))
5050 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5052 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5055 wxPyListCtrl
* _arg0
;
5057 PyObject
* _argo0
= 0;
5058 PyObject
* _obj1
= 0;
5059 char *_kwnames
[] = { "self","func", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) return NULL
;
5080 } _resultobj
= Py_BuildValue("i",_result
);
5084 static wxWindow
* wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
) {
5088 return (wxWindow
*)self
->m_mainWin
;
5091 static PyObject
*_wrap_wxListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5094 wxPyListCtrl
* _arg0
;
5095 PyObject
* _argo0
= 0;
5096 char *_kwnames
[] = { "self", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetMainWindow",_kwnames
,&_argo0
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetMainWindow. Expected _wxPyListCtrl_p.");
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 _result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(_arg0
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) return NULL
;
5114 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5118 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5121 src
= (wxListView
*) ptr
;
5122 dest
= (wxPyListCtrl
*) src
;
5123 return (void *) dest
;
5126 static void *SwigwxListViewTowxControl(void *ptr
) {
5129 src
= (wxListView
*) ptr
;
5130 dest
= (wxControl
*) src
;
5131 return (void *) dest
;
5134 static void *SwigwxListViewTowxWindow(void *ptr
) {
5137 src
= (wxListView
*) ptr
;
5138 dest
= (wxWindow
*) src
;
5139 return (void *) dest
;
5142 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5145 src
= (wxListView
*) ptr
;
5146 dest
= (wxEvtHandler
*) src
;
5147 return (void *) dest
;
5150 static void *SwigwxListViewTowxObject(void *ptr
) {
5153 src
= (wxListView
*) ptr
;
5154 dest
= (wxObject
*) src
;
5155 return (void *) dest
;
5158 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5159 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5161 wxListView
* _result
;
5163 wxWindowID _arg1
= (wxWindowID
) -1;
5164 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5165 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5166 long _arg4
= (long ) (wxLC_REPORT
);
5167 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5168 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5169 PyObject
* _argo0
= 0;
5171 PyObject
* _obj2
= 0;
5173 PyObject
* _obj3
= 0;
5174 PyObject
* _argo5
= 0;
5175 PyObject
* _obj6
= 0;
5176 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5192 if (! wxPoint_helper(_obj2
, &_arg2
))
5198 if (! wxSize_helper(_obj3
, &_arg3
))
5202 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5209 _arg6
= wxString_in_helper(_obj6
);
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5221 _resultobj
= Py_BuildValue("s",_ptemp
);
5224 _resultobj
= Py_None
;
5233 #define new_wxPreListView() (new wxListView())
5234 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5236 wxListView
* _result
;
5237 char *_kwnames
[] = { NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 _result
= (wxListView
*)new_wxPreListView();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) return NULL
;
5250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5251 _resultobj
= Py_BuildValue("s",_ptemp
);
5254 _resultobj
= Py_None
;
5259 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5260 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5265 wxWindowID _arg2
= (wxWindowID
) -1;
5266 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5267 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5268 long _arg5
= (long ) (wxLC_REPORT
);
5269 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5270 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5271 PyObject
* _argo0
= 0;
5272 PyObject
* _argo1
= 0;
5274 PyObject
* _obj3
= 0;
5276 PyObject
* _obj4
= 0;
5277 PyObject
* _argo6
= 0;
5278 PyObject
* _obj7
= 0;
5279 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5301 if (! wxPoint_helper(_obj3
, &_arg3
))
5307 if (! wxSize_helper(_obj4
, &_arg4
))
5311 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5318 _arg7
= wxString_in_helper(_obj7
);
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) return NULL
;
5328 } _resultobj
= Py_BuildValue("i",_result
);
5336 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5337 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5341 bool _arg2
= (bool ) TRUE
;
5342 PyObject
* _argo0
= 0;
5343 int tempbool2
= (int) TRUE
;
5344 char *_kwnames
[] = { "self","n","on", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5356 _arg2
= (bool ) tempbool2
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 wxListView_Select(_arg0
,_arg1
,_arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) return NULL
;
5363 } Py_INCREF(Py_None
);
5364 _resultobj
= Py_None
;
5368 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5369 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5373 PyObject
* _argo0
= 0;
5374 char *_kwnames
[] = { "self","index", NULL
};
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 wxListView_Focus(_arg0
,_arg1
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) return NULL
;
5392 } Py_INCREF(Py_None
);
5393 _resultobj
= Py_None
;
5397 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5398 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } _resultobj
= Py_BuildValue("l",_result
);
5425 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5426 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self","item", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 } _resultobj
= Py_BuildValue("l",_result
);
5454 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5455 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5478 } _resultobj
= Py_BuildValue("l",_result
);
5482 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5483 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5488 PyObject
* _argo0
= 0;
5489 char *_kwnames
[] = { "self","index", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5507 } _resultobj
= Py_BuildValue("i",_result
);
5511 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5512 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5517 PyObject
* _argo0
= 0;
5518 char *_kwnames
[] = { "self","col","image", NULL
};
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) return NULL
;
5536 } Py_INCREF(Py_None
);
5537 _resultobj
= Py_None
;
5541 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5542 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self","col", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 wxListView_ClearColumnImage(_arg0
,_arg1
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5565 } Py_INCREF(Py_None
);
5566 _resultobj
= Py_None
;
5570 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5571 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
* _resultobj
;
5573 wxTreeItemAttr
* _result
;
5574 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5575 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5576 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5578 PyObject
* _obj0
= 0;
5580 PyObject
* _obj1
= 0;
5581 PyObject
* _argo2
= 0;
5582 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5591 if (! wxColour_helper(_obj0
, &_arg0
))
5597 if (! wxColour_helper(_obj1
, &_arg1
))
5601 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) return NULL
;
5613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5617 _resultobj
= Py_None
;
5622 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5623 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5625 wxTreeItemAttr
* _arg0
;
5627 PyObject
* _argo0
= 0;
5629 PyObject
* _obj1
= 0;
5630 char *_kwnames
[] = { "self","colText", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5644 if (! wxColour_helper(_obj1
, &_arg1
))
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) return NULL
;
5653 } Py_INCREF(Py_None
);
5654 _resultobj
= Py_None
;
5658 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5659 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5661 wxTreeItemAttr
* _arg0
;
5663 PyObject
* _argo0
= 0;
5665 PyObject
* _obj1
= 0;
5666 char *_kwnames
[] = { "self","colBack", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5680 if (! wxColour_helper(_obj1
, &_arg1
))
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) return NULL
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5695 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5697 wxTreeItemAttr
* _arg0
;
5699 PyObject
* _argo0
= 0;
5700 PyObject
* _argo1
= 0;
5701 char *_kwnames
[] = { "self","font", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5714 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5731 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5734 wxTreeItemAttr
* _arg0
;
5735 PyObject
* _argo0
= 0;
5736 char *_kwnames
[] = { "self", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) return NULL
;
5754 } _resultobj
= Py_BuildValue("i",_result
);
5758 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5759 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5762 wxTreeItemAttr
* _arg0
;
5763 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } _resultobj
= Py_BuildValue("i",_result
);
5786 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5787 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5790 wxTreeItemAttr
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } _resultobj
= Py_BuildValue("i",_result
);
5814 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5815 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 wxTreeItemAttr
* _arg0
;
5819 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "self", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) return NULL
;
5839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5840 _resultobj
= Py_BuildValue("s",_ptemp
);
5844 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5845 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5848 wxTreeItemAttr
* _arg0
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self", NULL
};
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) return NULL
;
5869 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5870 _resultobj
= Py_BuildValue("s",_ptemp
);
5874 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5875 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5878 wxTreeItemAttr
* _arg0
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) return NULL
;
5899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5900 _resultobj
= Py_BuildValue("s",_ptemp
);
5904 #define new_wxTreeItemId() (new wxTreeItemId())
5905 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxTreeItemId
* _result
;
5908 char *_kwnames
[] = { NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5922 _resultobj
= Py_BuildValue("s",_ptemp
);
5925 _resultobj
= Py_None
;
5930 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5931 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5933 wxTreeItemId
* _arg0
;
5934 PyObject
* _argo0
= 0;
5935 char *_kwnames
[] = { "self", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 delete_wxTreeItemId(_arg0
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) return NULL
;
5953 } Py_INCREF(Py_None
);
5954 _resultobj
= Py_None
;
5958 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5959 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5962 wxTreeItemId
* _arg0
;
5963 PyObject
* _argo0
= 0;
5964 char *_kwnames
[] = { "self", NULL
};
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) return NULL
;
5982 } _resultobj
= Py_BuildValue("i",_result
);
5986 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5987 if (! other
) return -1;
5988 return *self
!= *other
;
5990 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5993 wxTreeItemId
* _arg0
;
5994 wxTreeItemId
* _arg1
;
5995 PyObject
* _argo0
= 0;
5996 PyObject
* _argo1
= 0;
5997 char *_kwnames
[] = { "self","other", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6010 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) return NULL
;
6022 } _resultobj
= Py_BuildValue("i",_result
);
6026 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6027 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6029 wxPyTreeItemData
* _result
;
6030 PyObject
* _arg0
= (PyObject
*) NULL
;
6031 PyObject
* _obj0
= 0;
6032 char *_kwnames
[] = { "obj", NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) return NULL
;
6049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6050 _resultobj
= Py_BuildValue("s",_ptemp
);
6053 _resultobj
= Py_None
;
6058 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6059 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
* _resultobj
;
6062 wxPyTreeItemData
* _arg0
;
6063 PyObject
* _argo0
= 0;
6064 char *_kwnames
[] = { "self", NULL
};
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6083 _resultobj
= _result
;
6088 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6089 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6091 wxPyTreeItemData
* _arg0
;
6093 PyObject
* _argo0
= 0;
6094 PyObject
* _obj1
= 0;
6095 char *_kwnames
[] = { "self","obj", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 wxTreeItemData_SetData(_arg0
,_arg1
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) return NULL
;
6116 } Py_INCREF(Py_None
);
6117 _resultobj
= Py_None
;
6121 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6122 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
* _resultobj
;
6124 wxTreeItemId
* _result
;
6125 wxPyTreeItemData
* _arg0
;
6126 PyObject
* _argo0
= 0;
6127 char *_kwnames
[] = { "self", NULL
};
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6143 _result
= (wxTreeItemId
*) &_result_ref
;
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6149 _resultobj
= Py_BuildValue("s",_ptemp
);
6152 _resultobj
= Py_None
;
6157 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6158 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
* _resultobj
;
6160 wxPyTreeItemData
* _arg0
;
6161 wxTreeItemId
* _arg1
;
6162 PyObject
* _argo0
= 0;
6163 PyObject
* _argo1
= 0;
6164 char *_kwnames
[] = { "self","id", NULL
};
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6177 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxTreeItemData_SetId(_arg0
,*_arg1
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6195 wxNotifyEvent
*dest
;
6196 src
= (wxTreeEvent
*) ptr
;
6197 dest
= (wxNotifyEvent
*) src
;
6198 return (void *) dest
;
6201 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6203 wxCommandEvent
*dest
;
6204 src
= (wxTreeEvent
*) ptr
;
6205 dest
= (wxCommandEvent
*) src
;
6206 return (void *) dest
;
6209 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6212 src
= (wxTreeEvent
*) ptr
;
6213 dest
= (wxEvent
*) src
;
6214 return (void *) dest
;
6217 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6220 src
= (wxTreeEvent
*) ptr
;
6221 dest
= (wxObject
*) src
;
6222 return (void *) dest
;
6225 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6226 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6228 wxTreeEvent
* _result
;
6229 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6230 int _arg1
= (int ) 0;
6231 char *_kwnames
[] = { "commandType","id", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6245 _resultobj
= Py_BuildValue("s",_ptemp
);
6248 _resultobj
= Py_None
;
6253 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6254 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6256 wxTreeItemId
* _result
;
6257 wxTreeEvent
* _arg0
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) return NULL
;
6278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6279 _resultobj
= Py_BuildValue("s",_ptemp
);
6283 #define wxTreeEvent_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
6284 static PyObject
*_wrap_wxTreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
* _resultobj
;
6286 wxTreeEvent
* _arg0
;
6287 wxTreeItemId
* _arg1
;
6288 PyObject
* _argo0
= 0;
6289 PyObject
* _argo1
= 0;
6290 char *_kwnames
[] = { "self","item", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetItem",_kwnames
,&_argo0
,&_argo1
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetItem. Expected _wxTreeEvent_p.");
6303 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeEvent_SetItem. Expected _wxTreeItemId_p.");
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 wxTreeEvent_SetItem(_arg0
,*_arg1
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) return NULL
;
6314 } Py_INCREF(Py_None
);
6315 _resultobj
= Py_None
;
6319 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6320 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
* _resultobj
;
6322 wxTreeItemId
* _result
;
6323 wxTreeEvent
* _arg0
;
6324 PyObject
* _argo0
= 0;
6325 char *_kwnames
[] = { "self", NULL
};
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) return NULL
;
6344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6345 _resultobj
= Py_BuildValue("s",_ptemp
);
6349 #define wxTreeEvent_SetOldItem(_swigobj,_swigarg0) (_swigobj->SetOldItem(_swigarg0))
6350 static PyObject
*_wrap_wxTreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6352 wxTreeEvent
* _arg0
;
6353 wxTreeItemId
* _arg1
;
6354 PyObject
* _argo0
= 0;
6355 PyObject
* _argo1
= 0;
6356 char *_kwnames
[] = { "self","item", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetOldItem",_kwnames
,&_argo0
,&_argo1
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetOldItem. Expected _wxTreeEvent_p.");
6369 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeEvent_SetOldItem. Expected _wxTreeItemId_p.");
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 wxTreeEvent_SetOldItem(_arg0
,*_arg1
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) return NULL
;
6380 } Py_INCREF(Py_None
);
6381 _resultobj
= Py_None
;
6385 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6386 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6389 wxTreeEvent
* _arg0
;
6390 PyObject
* _argo0
= 0;
6391 char *_kwnames
[] = { "self", NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) return NULL
;
6410 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6411 _resultobj
= Py_BuildValue("s",_ptemp
);
6415 #define wxTreeEvent_SetPoint(_swigobj,_swigarg0) (_swigobj->SetPoint(_swigarg0))
6416 static PyObject
*_wrap_wxTreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
* _resultobj
;
6418 wxTreeEvent
* _arg0
;
6420 PyObject
* _argo0
= 0;
6422 PyObject
* _obj1
= 0;
6423 char *_kwnames
[] = { "self","pt", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetPoint",_kwnames
,&_argo0
,&_obj1
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetPoint. Expected _wxTreeEvent_p.");
6437 if (! wxPoint_helper(_obj1
, &_arg1
))
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 wxTreeEvent_SetPoint(_arg0
,*_arg1
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } Py_INCREF(Py_None
);
6447 _resultobj
= Py_None
;
6451 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6452 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6454 wxKeyEvent
* _result
;
6455 wxTreeEvent
* _arg0
;
6456 PyObject
* _argo0
= 0;
6457 char *_kwnames
[] = { "self", NULL
};
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6473 _result
= (wxKeyEvent
*) &_result_ref
;
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) return NULL
;
6478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6479 _resultobj
= Py_BuildValue("s",_ptemp
);
6482 _resultobj
= Py_None
;
6487 #define wxTreeEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
6488 static PyObject
*_wrap_wxTreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6491 wxTreeEvent
* _arg0
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyCode",_kwnames
,&_argo0
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyCode. Expected _wxTreeEvent_p.");
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 _result
= (int )wxTreeEvent_GetKeyCode(_arg0
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) return NULL
;
6511 } _resultobj
= Py_BuildValue("i",_result
);
6515 #define wxTreeEvent_SetKeyEvent(_swigobj,_swigarg0) (_swigobj->SetKeyEvent(_swigarg0))
6516 static PyObject
*_wrap_wxTreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6518 wxTreeEvent
* _arg0
;
6520 PyObject
* _argo0
= 0;
6521 PyObject
* _argo1
= 0;
6522 char *_kwnames
[] = { "self","evt", NULL
};
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetKeyEvent",_kwnames
,&_argo0
,&_argo1
))
6528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetKeyEvent. Expected _wxTreeEvent_p.");
6535 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
6536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeEvent_SetKeyEvent. Expected _wxKeyEvent_p.");
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 wxTreeEvent_SetKeyEvent(_arg0
,*_arg1
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) return NULL
;
6546 } Py_INCREF(Py_None
);
6547 _resultobj
= Py_None
;
6551 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6552 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
* _resultobj
;
6555 wxTreeEvent
* _arg0
;
6556 PyObject
* _argo0
= 0;
6557 char *_kwnames
[] = { "self", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6572 _result
= (wxString
*) &_result_ref
;
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) return NULL
;
6578 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6580 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6586 #define wxTreeEvent_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
6587 static PyObject
*_wrap_wxTreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6589 wxTreeEvent
* _arg0
;
6591 PyObject
* _argo0
= 0;
6592 PyObject
* _obj1
= 0;
6593 char *_kwnames
[] = { "self","label", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetLabel",_kwnames
,&_argo0
,&_obj1
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetLabel. Expected _wxTreeEvent_p.");
6606 _arg1
= wxString_in_helper(_obj1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 wxTreeEvent_SetLabel(_arg0
,*_arg1
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) return NULL
;
6616 } Py_INCREF(Py_None
);
6617 _resultobj
= Py_None
;
6625 #define wxTreeEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
6626 static PyObject
*_wrap_wxTreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6629 wxTreeEvent
* _arg0
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_IsEditCancelled",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_IsEditCancelled. Expected _wxTreeEvent_p.");
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 _result
= (bool )wxTreeEvent_IsEditCancelled(_arg0
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) return NULL
;
6649 } _resultobj
= Py_BuildValue("i",_result
);
6653 #define wxTreeEvent_SetEditCanceled(_swigobj,_swigarg0) (_swigobj->SetEditCanceled(_swigarg0))
6654 static PyObject
*_wrap_wxTreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
* _resultobj
;
6656 wxTreeEvent
* _arg0
;
6658 PyObject
* _argo0
= 0;
6660 char *_kwnames
[] = { "self","editCancelled", NULL
};
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeEvent_SetEditCanceled",_kwnames
,&_argo0
,&tempbool1
))
6666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetEditCanceled. Expected _wxTreeEvent_p.");
6672 _arg1
= (bool ) tempbool1
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxTreeEvent_SetEditCanceled(_arg0
,_arg1
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) return NULL
;
6679 } Py_INCREF(Py_None
);
6680 _resultobj
= Py_None
;
6684 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6687 src
= (wxPyTreeCtrl
*) ptr
;
6688 dest
= (wxControl
*) src
;
6689 return (void *) dest
;
6692 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6695 src
= (wxPyTreeCtrl
*) ptr
;
6696 dest
= (wxWindow
*) src
;
6697 return (void *) dest
;
6700 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6703 src
= (wxPyTreeCtrl
*) ptr
;
6704 dest
= (wxEvtHandler
*) src
;
6705 return (void *) dest
;
6708 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6711 src
= (wxPyTreeCtrl
*) ptr
;
6712 dest
= (wxObject
*) src
;
6713 return (void *) dest
;
6716 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6717 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6719 wxPyTreeCtrl
* _result
;
6721 wxWindowID _arg1
= (wxWindowID
) -1;
6722 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6723 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6724 long _arg4
= (long ) (wxTR_DEFAULT_STYLE
);
6725 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6726 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6727 PyObject
* _argo0
= 0;
6729 PyObject
* _obj2
= 0;
6731 PyObject
* _obj3
= 0;
6732 PyObject
* _argo5
= 0;
6733 PyObject
* _obj6
= 0;
6734 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6750 if (! wxPoint_helper(_obj2
, &_arg2
))
6756 if (! wxSize_helper(_obj3
, &_arg3
))
6760 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6767 _arg6
= wxString_in_helper(_obj6
);
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) return NULL
;
6778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6779 _resultobj
= Py_BuildValue("s",_ptemp
);
6782 _resultobj
= Py_None
;
6791 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6792 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6794 wxPyTreeCtrl
* _result
;
6795 char *_kwnames
[] = { NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6809 _resultobj
= Py_BuildValue("s",_ptemp
);
6812 _resultobj
= Py_None
;
6817 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6818 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6821 wxPyTreeCtrl
* _arg0
;
6823 wxWindowID _arg2
= (wxWindowID
) -1;
6824 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6825 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6826 long _arg5
= (long ) (wxTR_DEFAULT_STYLE
);
6827 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6828 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6829 PyObject
* _argo0
= 0;
6830 PyObject
* _argo1
= 0;
6832 PyObject
* _obj3
= 0;
6834 PyObject
* _obj4
= 0;
6835 PyObject
* _argo6
= 0;
6836 PyObject
* _obj7
= 0;
6837 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6859 if (! wxPoint_helper(_obj3
, &_arg3
))
6865 if (! wxSize_helper(_obj4
, &_arg4
))
6869 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6876 _arg7
= wxString_in_helper(_obj7
);
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) return NULL
;
6886 } _resultobj
= Py_BuildValue("i",_result
);
6894 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6895 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
* _resultobj
;
6897 wxPyTreeCtrl
* _arg0
;
6900 PyObject
* _argo0
= 0;
6901 PyObject
* _obj1
= 0;
6902 PyObject
* _obj2
= 0;
6903 char *_kwnames
[] = { "self","self","_class", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) return NULL
;
6927 } Py_INCREF(Py_None
);
6928 _resultobj
= Py_None
;
6932 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6933 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6936 wxPyTreeCtrl
* _arg0
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) return NULL
;
6956 } _resultobj
= Py_BuildValue("i",_result
);
6960 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6961 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6963 unsigned int _result
;
6964 wxPyTreeCtrl
* _arg0
;
6965 PyObject
* _argo0
= 0;
6966 char *_kwnames
[] = { "self", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6984 } _resultobj
= Py_BuildValue("i",_result
);
6988 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6989 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6991 wxPyTreeCtrl
* _arg0
;
6993 PyObject
* _argo0
= 0;
6994 char *_kwnames
[] = { "self","indent", NULL
};
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
7000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) return NULL
;
7012 } Py_INCREF(Py_None
);
7013 _resultobj
= Py_None
;
7017 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
7018 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7020 wxImageList
* _result
;
7021 wxPyTreeCtrl
* _arg0
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7041 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7045 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
7046 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxImageList
* _result
;
7049 wxPyTreeCtrl
* _arg0
;
7050 PyObject
* _argo0
= 0;
7051 char *_kwnames
[] = { "self", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) return NULL
;
7069 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7073 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
7074 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7076 wxPyTreeCtrl
* _arg0
;
7077 wxImageList
* _arg1
;
7078 PyObject
* _argo0
= 0;
7079 PyObject
* _argo1
= 0;
7080 char *_kwnames
[] = { "self","imageList", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
7093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) return NULL
;
7105 } Py_INCREF(Py_None
);
7106 _resultobj
= Py_None
;
7110 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
7111 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7113 wxPyTreeCtrl
* _arg0
;
7114 wxImageList
* _arg1
;
7115 PyObject
* _argo0
= 0;
7116 PyObject
* _argo1
= 0;
7117 char *_kwnames
[] = { "self","imageList", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
7130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) return NULL
;
7142 } Py_INCREF(Py_None
);
7143 _resultobj
= Py_None
;
7147 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7148 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7150 wxPyTreeCtrl
* _arg0
;
7151 wxImageList
* _arg1
;
7152 PyObject
* _argo0
= 0;
7153 PyObject
* _argo1
= 0;
7154 char *_kwnames
[] = { "self","imageList", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) return NULL
;
7179 } Py_INCREF(Py_None
);
7180 _resultobj
= Py_None
;
7184 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7185 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
* _resultobj
;
7187 wxPyTreeCtrl
* _arg0
;
7188 wxImageList
* _arg1
;
7189 PyObject
* _argo0
= 0;
7190 PyObject
* _argo1
= 0;
7191 char *_kwnames
[] = { "self","imageList", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) return NULL
;
7216 } Py_INCREF(Py_None
);
7217 _resultobj
= Py_None
;
7221 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7222 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
* _resultobj
;
7224 unsigned int _result
;
7225 wxPyTreeCtrl
* _arg0
;
7226 PyObject
* _argo0
= 0;
7227 char *_kwnames
[] = { "self", NULL
};
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) return NULL
;
7245 } _resultobj
= Py_BuildValue("i",_result
);
7249 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7250 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
* _resultobj
;
7252 wxPyTreeCtrl
* _arg0
;
7254 PyObject
* _argo0
= 0;
7255 char *_kwnames
[] = { "self","spacing", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) return NULL
;
7273 } Py_INCREF(Py_None
);
7274 _resultobj
= Py_None
;
7278 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7279 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
* _resultobj
;
7282 wxPyTreeCtrl
* _arg0
;
7283 wxTreeItemId
* _arg1
;
7284 PyObject
* _argo0
= 0;
7285 PyObject
* _argo1
= 0;
7286 char *_kwnames
[] = { "self","item", NULL
};
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7299 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7312 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7314 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7323 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7324 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7327 wxPyTreeCtrl
* _arg0
;
7328 wxTreeItemId
* _arg1
;
7329 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7330 PyObject
* _argo0
= 0;
7331 PyObject
* _argo1
= 0;
7332 char *_kwnames
[] = { "self","item","which", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7345 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) return NULL
;
7356 } _resultobj
= Py_BuildValue("i",_result
);
7360 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7361 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7364 wxPyTreeCtrl
* _arg0
;
7365 wxTreeItemId
* _arg1
;
7366 PyObject
* _argo0
= 0;
7367 PyObject
* _argo1
= 0;
7368 char *_kwnames
[] = { "self","item", NULL
};
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7381 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) return NULL
;
7392 } _resultobj
= Py_BuildValue("i",_result
);
7396 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7397 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7399 wxPyTreeCtrl
* _arg0
;
7400 wxTreeItemId
* _arg1
;
7402 PyObject
* _argo0
= 0;
7403 PyObject
* _argo1
= 0;
7404 PyObject
* _obj2
= 0;
7405 char *_kwnames
[] = { "self","item","text", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7418 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7424 _arg2
= wxString_in_helper(_obj2
);
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } Py_INCREF(Py_None
);
7435 _resultobj
= Py_None
;
7443 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7444 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7446 wxPyTreeCtrl
* _arg0
;
7447 wxTreeItemId
* _arg1
;
7449 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7450 PyObject
* _argo0
= 0;
7451 PyObject
* _argo1
= 0;
7452 char *_kwnames
[] = { "self","item","image","which", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7465 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) return NULL
;
7476 } Py_INCREF(Py_None
);
7477 _resultobj
= Py_None
;
7481 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7482 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
* _resultobj
;
7484 wxPyTreeCtrl
* _arg0
;
7485 wxTreeItemId
* _arg1
;
7487 PyObject
* _argo0
= 0;
7488 PyObject
* _argo1
= 0;
7489 char *_kwnames
[] = { "self","item","image", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7502 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } Py_INCREF(Py_None
);
7514 _resultobj
= Py_None
;
7518 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7519 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
* _resultobj
;
7521 wxPyTreeCtrl
* _arg0
;
7522 wxTreeItemId
* _arg1
;
7523 bool _arg2
= (bool ) TRUE
;
7524 PyObject
* _argo0
= 0;
7525 PyObject
* _argo1
= 0;
7526 int tempbool2
= (int) TRUE
;
7527 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7540 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7545 _arg2
= (bool ) tempbool2
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) return NULL
;
7552 } Py_INCREF(Py_None
);
7553 _resultobj
= Py_None
;
7557 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7558 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7560 data
= new wxPyTreeItemData();
7561 data
->SetId(item
); // set the id
7562 self
->SetItemData(item
, data
);
7566 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7568 wxPyTreeItemData
* _result
;
7569 wxPyTreeCtrl
* _arg0
;
7570 wxTreeItemId
* _arg1
;
7571 PyObject
* _argo0
= 0;
7572 PyObject
* _argo1
= 0;
7573 char *_kwnames
[] = { "self","item", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7587 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) return NULL
;
7599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7600 _resultobj
= Py_BuildValue("s",_ptemp
);
7603 _resultobj
= Py_None
;
7608 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7609 data
->SetId(item
); // set the id
7610 self
->SetItemData(item
, data
);
7612 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7614 wxPyTreeCtrl
* _arg0
;
7615 wxTreeItemId
* _arg1
;
7616 wxPyTreeItemData
* _arg2
;
7617 PyObject
* _argo0
= 0;
7618 PyObject
* _argo1
= 0;
7619 PyObject
* _argo2
= 0;
7620 char *_kwnames
[] = { "self","item","data", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7633 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7639 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7640 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) return NULL
;
7651 } Py_INCREF(Py_None
);
7652 _resultobj
= Py_None
;
7656 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7657 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7659 data
= new wxPyTreeItemData();
7660 data
->SetId(item
); // set the id
7661 self
->SetItemData(item
, data
);
7663 return data
->GetData();
7665 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
* _resultobj
;
7668 wxPyTreeCtrl
* _arg0
;
7669 wxTreeItemId
* _arg1
;
7670 PyObject
* _argo0
= 0;
7671 PyObject
* _argo1
= 0;
7672 char *_kwnames
[] = { "self","item", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7685 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) return NULL
;
7697 _resultobj
= _result
;
7702 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7703 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7705 data
= new wxPyTreeItemData(obj
);
7706 data
->SetId(item
); // set the id
7707 self
->SetItemData(item
, data
);
7711 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7713 wxPyTreeCtrl
* _arg0
;
7714 wxTreeItemId
* _arg1
;
7716 PyObject
* _argo0
= 0;
7717 PyObject
* _argo1
= 0;
7718 PyObject
* _obj2
= 0;
7719 char *_kwnames
[] = { "self","item","obj", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7732 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } Py_INCREF(Py_None
);
7747 _resultobj
= Py_None
;
7751 #define wxTreeCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
7752 static PyObject
*_wrap_wxTreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7755 wxPyTreeCtrl
* _arg0
;
7756 wxTreeItemId
* _arg1
;
7757 PyObject
* _argo0
= 0;
7758 PyObject
* _argo1
= 0;
7759 char *_kwnames
[] = { "self","item", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_argo1
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemTextColour. Expected _wxPyTreeCtrl_p.");
7773 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 _result
= new wxColour (wxTreeCtrl_GetItemTextColour(_arg0
,*_arg1
));
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) return NULL
;
7784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7785 _resultobj
= Py_BuildValue("s",_ptemp
);
7789 #define wxTreeCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
7790 static PyObject
*_wrap_wxTreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
* _resultobj
;
7793 wxPyTreeCtrl
* _arg0
;
7794 wxTreeItemId
* _arg1
;
7795 PyObject
* _argo0
= 0;
7796 PyObject
* _argo1
= 0;
7797 char *_kwnames
[] = { "self","item", NULL
};
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7811 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 _result
= new wxColour (wxTreeCtrl_GetItemBackgroundColour(_arg0
,*_arg1
));
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) return NULL
;
7822 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7823 _resultobj
= Py_BuildValue("s",_ptemp
);
7827 #define wxTreeCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
7828 static PyObject
*_wrap_wxTreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
* _resultobj
;
7831 wxPyTreeCtrl
* _arg0
;
7832 wxTreeItemId
* _arg1
;
7833 PyObject
* _argo0
= 0;
7834 PyObject
* _argo1
= 0;
7835 char *_kwnames
[] = { "self","item", NULL
};
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemFont",_kwnames
,&_argo0
,&_argo1
))
7842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemFont. Expected _wxPyTreeCtrl_p.");
7849 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemFont. Expected _wxTreeItemId_p.");
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 _result
= new wxFont (wxTreeCtrl_GetItemFont(_arg0
,*_arg1
));
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) return NULL
;
7860 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7861 _resultobj
= Py_BuildValue("s",_ptemp
);
7865 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7866 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
* _resultobj
;
7869 wxPyTreeCtrl
* _arg0
;
7870 wxTreeItemId
* _arg1
;
7871 PyObject
* _argo0
= 0;
7872 PyObject
* _argo1
= 0;
7873 char *_kwnames
[] = { "self","item", NULL
};
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7886 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) return NULL
;
7897 } _resultobj
= Py_BuildValue("i",_result
);
7901 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7902 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7905 wxPyTreeCtrl
* _arg0
;
7906 wxTreeItemId
* _arg1
;
7907 PyObject
* _argo0
= 0;
7908 PyObject
* _argo1
= 0;
7909 char *_kwnames
[] = { "self","item", NULL
};
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7922 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) return NULL
;
7933 } _resultobj
= Py_BuildValue("i",_result
);
7937 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7938 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7941 wxPyTreeCtrl
* _arg0
;
7942 wxTreeItemId
* _arg1
;
7943 PyObject
* _argo0
= 0;
7944 PyObject
* _argo1
= 0;
7945 char *_kwnames
[] = { "self","item", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7958 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) return NULL
;
7969 } _resultobj
= Py_BuildValue("i",_result
);
7973 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7974 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7977 wxPyTreeCtrl
* _arg0
;
7978 wxTreeItemId
* _arg1
;
7979 PyObject
* _argo0
= 0;
7980 PyObject
* _argo1
= 0;
7981 char *_kwnames
[] = { "self","item", NULL
};
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7994 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) return NULL
;
8005 } _resultobj
= Py_BuildValue("i",_result
);
8009 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
8010 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
* _resultobj
;
8012 wxTreeItemId
* _result
;
8013 wxPyTreeCtrl
* _arg0
;
8014 PyObject
* _argo0
= 0;
8015 char *_kwnames
[] = { "self", NULL
};
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
8022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) return NULL
;
8034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8035 _resultobj
= Py_BuildValue("s",_ptemp
);
8039 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
8040 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8042 wxTreeItemId
* _result
;
8043 wxPyTreeCtrl
* _arg0
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "self", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8065 _resultobj
= Py_BuildValue("s",_ptemp
);
8069 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetItemParent(_swigarg0))
8070 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8072 wxTreeItemId
* _result
;
8073 wxPyTreeCtrl
* _arg0
;
8074 wxTreeItemId
* _arg1
;
8075 PyObject
* _argo0
= 0;
8076 PyObject
* _argo1
= 0;
8077 char *_kwnames
[] = { "self","item", NULL
};
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
8084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8091 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) return NULL
;
8102 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8103 _resultobj
= Py_BuildValue("s",_ptemp
);
8107 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
8108 wxPyBeginBlockThreads();
8109 PyObject
* rval
= PyList_New(0);
8110 wxArrayTreeItemIds array
;
8112 num
= self
->GetSelections(array
);
8113 for (x
=0; x
< num
; x
++) {
8114 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
8115 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), TRUE
);
8116 PyList_Append(rval
, item
);
8118 wxPyEndBlockThreads();
8121 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
* _resultobj
;
8124 wxPyTreeCtrl
* _arg0
;
8125 PyObject
* _argo0
= 0;
8126 char *_kwnames
[] = { "self", NULL
};
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
8132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) return NULL
;
8145 _resultobj
= _result
;
8150 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
8151 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
* _resultobj
;
8154 wxPyTreeCtrl
* _arg0
;
8155 wxTreeItemId
* _arg1
;
8156 bool _arg2
= (bool ) TRUE
;
8157 PyObject
* _argo0
= 0;
8158 PyObject
* _argo1
= 0;
8159 int tempbool2
= (int) TRUE
;
8160 char *_kwnames
[] = { "self","item","recursively", NULL
};
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
8166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
8173 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
8178 _arg2
= (bool ) tempbool2
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) return NULL
;
8185 } _resultobj
= Py_BuildValue("i",_result
);
8189 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
8190 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
* _resultobj
;
8192 wxTreeItemId
* _result
;
8193 wxPyTreeCtrl
* _arg0
;
8194 wxTreeItemId
* _arg1
;
8195 long * _arg2
= (long *) &longzero
;
8196 PyObject
* _argo0
= 0;
8197 PyObject
* _argo1
= 0;
8199 PyObject
* _obj2
= 0;
8200 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8214 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8221 temp
= (long) PyInt_AsLong(_obj2
);
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) return NULL
;
8230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8231 _resultobj
= Py_BuildValue("s",_ptemp
);
8234 o
= PyInt_FromLong((long) (*_arg2
));
8235 _resultobj
= t_output_helper(_resultobj
, o
);
8240 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8241 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8243 wxTreeItemId
* _result
;
8244 wxPyTreeCtrl
* _arg0
;
8245 wxTreeItemId
* _arg1
;
8247 PyObject
* _argo0
= 0;
8248 PyObject
* _argo1
= 0;
8250 PyObject
* _obj2
= 0;
8251 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8265 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8271 temp
= (long) PyInt_AsLong(_obj2
);
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) return NULL
;
8280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8281 _resultobj
= Py_BuildValue("s",_ptemp
);
8284 o
= PyInt_FromLong((long) (*_arg2
));
8285 _resultobj
= t_output_helper(_resultobj
, o
);
8290 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8291 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
* _resultobj
;
8293 wxTreeItemId
* _result
;
8294 wxPyTreeCtrl
* _arg0
;
8295 wxTreeItemId
* _arg1
;
8296 PyObject
* _argo0
= 0;
8297 PyObject
* _argo1
= 0;
8298 char *_kwnames
[] = { "self","item", NULL
};
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8312 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) return NULL
;
8323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8324 _resultobj
= Py_BuildValue("s",_ptemp
);
8328 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8329 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
* _resultobj
;
8331 wxTreeItemId
* _result
;
8332 wxPyTreeCtrl
* _arg0
;
8333 wxTreeItemId
* _arg1
;
8334 PyObject
* _argo0
= 0;
8335 PyObject
* _argo1
= 0;
8336 char *_kwnames
[] = { "self","item", NULL
};
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8350 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) return NULL
;
8361 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8362 _resultobj
= Py_BuildValue("s",_ptemp
);
8366 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8367 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
* _resultobj
;
8369 wxTreeItemId
* _result
;
8370 wxPyTreeCtrl
* _arg0
;
8371 PyObject
* _argo0
= 0;
8372 char *_kwnames
[] = { "self", NULL
};
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) return NULL
;
8391 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8392 _resultobj
= Py_BuildValue("s",_ptemp
);
8396 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8397 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
* _resultobj
;
8399 wxTreeItemId
* _result
;
8400 wxPyTreeCtrl
* _arg0
;
8401 wxTreeItemId
* _arg1
;
8402 PyObject
* _argo0
= 0;
8403 PyObject
* _argo1
= 0;
8404 char *_kwnames
[] = { "self","item", NULL
};
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8418 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) return NULL
;
8429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8430 _resultobj
= Py_BuildValue("s",_ptemp
);
8434 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8435 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8437 wxTreeItemId
* _result
;
8438 wxPyTreeCtrl
* _arg0
;
8439 wxTreeItemId
* _arg1
;
8440 PyObject
* _argo0
= 0;
8441 PyObject
* _argo1
= 0;
8442 char *_kwnames
[] = { "self","item", NULL
};
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8456 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8468 _resultobj
= Py_BuildValue("s",_ptemp
);
8472 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8473 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
* _resultobj
;
8475 wxTreeItemId
* _result
;
8476 wxPyTreeCtrl
* _arg0
;
8477 wxTreeItemId
* _arg1
;
8478 PyObject
* _argo0
= 0;
8479 PyObject
* _argo1
= 0;
8480 char *_kwnames
[] = { "self","item", NULL
};
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8494 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) return NULL
;
8505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8506 _resultobj
= Py_BuildValue("s",_ptemp
);
8510 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8511 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
* _resultobj
;
8513 wxTreeItemId
* _result
;
8514 wxPyTreeCtrl
* _arg0
;
8516 int _arg2
= (int ) -1;
8517 int _arg3
= (int ) -1;
8518 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8519 PyObject
* _argo0
= 0;
8520 PyObject
* _obj1
= 0;
8521 PyObject
* _argo4
= 0;
8522 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8536 _arg1
= wxString_in_helper(_obj1
);
8541 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8553 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8554 _resultobj
= Py_BuildValue("s",_ptemp
);
8562 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8563 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
* _resultobj
;
8565 wxTreeItemId
* _result
;
8566 wxPyTreeCtrl
* _arg0
;
8567 wxTreeItemId
* _arg1
;
8569 int _arg3
= (int ) -1;
8570 int _arg4
= (int ) -1;
8571 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8572 PyObject
* _argo0
= 0;
8573 PyObject
* _argo1
= 0;
8574 PyObject
* _obj2
= 0;
8575 PyObject
* _argo5
= 0;
8576 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8590 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8596 _arg2
= wxString_in_helper(_obj2
);
8601 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) return NULL
;
8613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8614 _resultobj
= Py_BuildValue("s",_ptemp
);
8622 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8623 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8625 wxTreeItemId
* _result
;
8626 wxPyTreeCtrl
* _arg0
;
8627 wxTreeItemId
* _arg1
;
8628 wxTreeItemId
* _arg2
;
8630 int _arg4
= (int ) -1;
8631 int _arg5
= (int ) -1;
8632 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8633 PyObject
* _argo0
= 0;
8634 PyObject
* _argo1
= 0;
8635 PyObject
* _argo2
= 0;
8636 PyObject
* _obj3
= 0;
8637 PyObject
* _argo6
= 0;
8638 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8652 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8658 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8664 _arg3
= wxString_in_helper(_obj3
);
8669 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8670 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) return NULL
;
8681 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8682 _resultobj
= Py_BuildValue("s",_ptemp
);
8690 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8691 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
* _resultobj
;
8693 wxTreeItemId
* _result
;
8694 wxPyTreeCtrl
* _arg0
;
8695 wxTreeItemId
* _arg1
;
8698 int _arg4
= (int ) -1;
8699 int _arg5
= (int ) -1;
8700 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8701 PyObject
* _argo0
= 0;
8702 PyObject
* _argo1
= 0;
8703 PyObject
* _obj3
= 0;
8704 PyObject
* _argo6
= 0;
8705 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8719 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8725 _arg3
= wxString_in_helper(_obj3
);
8730 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8731 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) return NULL
;
8742 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8743 _resultobj
= Py_BuildValue("s",_ptemp
);
8751 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8752 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
* _resultobj
;
8754 wxTreeItemId
* _result
;
8755 wxPyTreeCtrl
* _arg0
;
8756 wxTreeItemId
* _arg1
;
8758 int _arg3
= (int ) -1;
8759 int _arg4
= (int ) -1;
8760 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8761 PyObject
* _argo0
= 0;
8762 PyObject
* _argo1
= 0;
8763 PyObject
* _obj2
= 0;
8764 PyObject
* _argo5
= 0;
8765 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8779 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8785 _arg2
= wxString_in_helper(_obj2
);
8790 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8791 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) return NULL
;
8802 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8803 _resultobj
= Py_BuildValue("s",_ptemp
);
8811 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8812 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
* _resultobj
;
8814 wxPyTreeCtrl
* _arg0
;
8815 wxTreeItemId
* _arg1
;
8816 PyObject
* _argo0
= 0;
8817 PyObject
* _argo1
= 0;
8818 char *_kwnames
[] = { "self","item", NULL
};
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8831 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) return NULL
;
8842 } Py_INCREF(Py_None
);
8843 _resultobj
= Py_None
;
8847 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8848 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
* _resultobj
;
8850 wxPyTreeCtrl
* _arg0
;
8851 wxTreeItemId
* _arg1
;
8852 PyObject
* _argo0
= 0;
8853 PyObject
* _argo1
= 0;
8854 char *_kwnames
[] = { "self","item", NULL
};
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8867 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) return NULL
;
8878 } Py_INCREF(Py_None
);
8879 _resultobj
= Py_None
;
8883 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8884 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
* _resultobj
;
8886 wxPyTreeCtrl
* _arg0
;
8887 PyObject
* _argo0
= 0;
8888 char *_kwnames
[] = { "self", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 wxTreeCtrl_DeleteAllItems(_arg0
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) return NULL
;
8906 } Py_INCREF(Py_None
);
8907 _resultobj
= Py_None
;
8911 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8912 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
* _resultobj
;
8914 wxPyTreeCtrl
* _arg0
;
8915 wxTreeItemId
* _arg1
;
8916 PyObject
* _argo0
= 0;
8917 PyObject
* _argo1
= 0;
8918 char *_kwnames
[] = { "self","item", NULL
};
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8931 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) return NULL
;
8942 } Py_INCREF(Py_None
);
8943 _resultobj
= Py_None
;
8947 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8948 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8950 wxPyTreeCtrl
* _arg0
;
8951 wxTreeItemId
* _arg1
;
8952 PyObject
* _argo0
= 0;
8953 PyObject
* _argo1
= 0;
8954 char *_kwnames
[] = { "self","item", NULL
};
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8967 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) return NULL
;
8978 } Py_INCREF(Py_None
);
8979 _resultobj
= Py_None
;
8983 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8984 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
* _resultobj
;
8986 wxPyTreeCtrl
* _arg0
;
8987 wxTreeItemId
* _arg1
;
8988 PyObject
* _argo0
= 0;
8989 PyObject
* _argo1
= 0;
8990 char *_kwnames
[] = { "self","item", NULL
};
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
9003 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } Py_INCREF(Py_None
);
9015 _resultobj
= Py_None
;
9019 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
9020 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
* _resultobj
;
9022 wxPyTreeCtrl
* _arg0
;
9023 wxTreeItemId
* _arg1
;
9024 PyObject
* _argo0
= 0;
9025 PyObject
* _argo1
= 0;
9026 char *_kwnames
[] = { "self","item", NULL
};
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
9032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
9039 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) return NULL
;
9050 } Py_INCREF(Py_None
);
9051 _resultobj
= Py_None
;
9055 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
9056 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
* _resultobj
;
9058 wxPyTreeCtrl
* _arg0
;
9059 PyObject
* _argo0
= 0;
9060 char *_kwnames
[] = { "self", NULL
};
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
9066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 wxTreeCtrl_Unselect(_arg0
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) return NULL
;
9078 } Py_INCREF(Py_None
);
9079 _resultobj
= Py_None
;
9083 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
9084 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9086 wxPyTreeCtrl
* _arg0
;
9087 PyObject
* _argo0
= 0;
9088 char *_kwnames
[] = { "self", NULL
};
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
9094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 wxTreeCtrl_UnselectAll(_arg0
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) return NULL
;
9106 } Py_INCREF(Py_None
);
9107 _resultobj
= Py_None
;
9111 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
9112 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
* _resultobj
;
9114 wxPyTreeCtrl
* _arg0
;
9115 wxTreeItemId
* _arg1
;
9116 PyObject
* _argo0
= 0;
9117 PyObject
* _argo1
= 0;
9118 char *_kwnames
[] = { "self","item", NULL
};
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
9124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
9131 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) return NULL
;
9142 } Py_INCREF(Py_None
);
9143 _resultobj
= Py_None
;
9147 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9148 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
* _resultobj
;
9150 wxPyTreeCtrl
* _arg0
;
9151 wxTreeItemId
* _arg1
;
9152 PyObject
* _argo0
= 0;
9153 PyObject
* _argo1
= 0;
9154 char *_kwnames
[] = { "self","item", NULL
};
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9167 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) return NULL
;
9178 } Py_INCREF(Py_None
);
9179 _resultobj
= Py_None
;
9183 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9184 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
* _resultobj
;
9186 wxPyTreeCtrl
* _arg0
;
9187 wxTreeItemId
* _arg1
;
9188 PyObject
* _argo0
= 0;
9189 PyObject
* _argo1
= 0;
9190 char *_kwnames
[] = { "self","item", NULL
};
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9203 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) return NULL
;
9214 } Py_INCREF(Py_None
);
9215 _resultobj
= Py_None
;
9219 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9220 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
* _resultobj
;
9222 wxTextCtrl
* _result
;
9223 wxPyTreeCtrl
* _arg0
;
9224 PyObject
* _argo0
= 0;
9225 char *_kwnames
[] = { "self", NULL
};
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) return NULL
;
9243 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9247 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9248 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
* _resultobj
;
9250 wxPyTreeCtrl
* _arg0
;
9251 wxTreeItemId
* _arg1
;
9252 PyObject
* _argo0
= 0;
9253 PyObject
* _argo1
= 0;
9254 char *_kwnames
[] = { "self","item", NULL
};
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9267 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) return NULL
;
9278 } Py_INCREF(Py_None
);
9279 _resultobj
= Py_None
;
9283 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9284 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9286 wxPyTreeCtrl
* _arg0
;
9287 wxTreeItemId
* _arg1
;
9288 int _arg2
= (int ) FALSE
;
9289 PyObject
* _argo0
= 0;
9290 PyObject
* _argo1
= 0;
9291 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9304 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) return NULL
;
9315 } Py_INCREF(Py_None
);
9316 _resultobj
= Py_None
;
9320 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9321 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
* _resultobj
;
9323 wxPyTreeCtrl
* _arg0
;
9324 wxTreeItemId
* _arg1
;
9325 PyObject
* _argo0
= 0;
9326 PyObject
* _argo1
= 0;
9327 char *_kwnames
[] = { "self","item", NULL
};
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9340 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) return NULL
;
9351 } Py_INCREF(Py_None
);
9352 _resultobj
= Py_None
;
9356 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9357 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9359 wxPyTreeCtrl
* _arg0
;
9360 wxTreeItemId
* _arg1
;
9361 int _arg2
= (int ) TRUE
;
9362 PyObject
* _argo0
= 0;
9363 PyObject
* _argo1
= 0;
9364 char *_kwnames
[] = { "self","item","bold", NULL
};
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9377 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) return NULL
;
9388 } Py_INCREF(Py_None
);
9389 _resultobj
= Py_None
;
9393 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9394 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
* _resultobj
;
9397 wxPyTreeCtrl
* _arg0
;
9398 wxTreeItemId
* _arg1
;
9399 PyObject
* _argo0
= 0;
9400 PyObject
* _argo1
= 0;
9401 char *_kwnames
[] = { "self","item", NULL
};
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9414 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } _resultobj
= Py_BuildValue("i",_result
);
9429 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9430 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
* _resultobj
;
9432 wxTreeItemId
* _result
;
9433 wxPyTreeCtrl
* _arg0
;
9437 PyObject
* _argo0
= 0;
9439 PyObject
* _obj1
= 0;
9440 char *_kwnames
[] = { "self","point", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9458 if (! wxPoint_helper(_obj1
, &_arg1
))
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) return NULL
;
9467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9468 _resultobj
= Py_BuildValue("s",_ptemp
);
9471 o
= PyInt_FromLong((long) (*_arg2
));
9472 _resultobj
= t_output_helper(_resultobj
, o
);
9477 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9478 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9480 wxPyTreeCtrl
* _arg0
;
9481 wxTreeItemId
* _arg1
;
9483 PyObject
* _argo0
= 0;
9484 PyObject
* _argo1
= 0;
9486 PyObject
* _obj2
= 0;
9487 char *_kwnames
[] = { "self","item","col", NULL
};
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9500 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9507 if (! wxColour_helper(_obj2
, &_arg2
))
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) return NULL
;
9516 } Py_INCREF(Py_None
);
9517 _resultobj
= Py_None
;
9521 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9522 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
* _resultobj
;
9524 wxPyTreeCtrl
* _arg0
;
9525 wxTreeItemId
* _arg1
;
9527 PyObject
* _argo0
= 0;
9528 PyObject
* _argo1
= 0;
9530 PyObject
* _obj2
= 0;
9531 char *_kwnames
[] = { "self","item","col", NULL
};
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9544 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9551 if (! wxColour_helper(_obj2
, &_arg2
))
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9565 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9566 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
* _resultobj
;
9568 wxPyTreeCtrl
* _arg0
;
9569 wxTreeItemId
* _arg1
;
9571 PyObject
* _argo0
= 0;
9572 PyObject
* _argo1
= 0;
9573 PyObject
* _argo2
= 0;
9574 char *_kwnames
[] = { "self","item","font", NULL
};
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9587 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9593 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) return NULL
;
9604 } Py_INCREF(Py_None
);
9605 _resultobj
= Py_None
;
9609 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9610 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
* _resultobj
;
9612 wxPyTreeCtrl
* _arg0
;
9613 wxTreeItemId
* _arg1
;
9614 int _arg2
= (int ) TRUE
;
9615 PyObject
* _argo0
= 0;
9616 PyObject
* _argo1
= 0;
9617 char *_kwnames
[] = { "self","item","highlight", NULL
};
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9630 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) return NULL
;
9641 } Py_INCREF(Py_None
);
9642 _resultobj
= Py_None
;
9646 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9648 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9649 wxPyBeginBlockThreads();
9650 wxRect
* r
= new wxRect(rect
);
9651 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), 1);
9652 wxPyEndBlockThreads();
9660 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
* _resultobj
;
9663 wxPyTreeCtrl
* _arg0
;
9664 wxTreeItemId
* _arg1
;
9665 int _arg2
= (int ) FALSE
;
9666 PyObject
* _argo0
= 0;
9667 PyObject
* _argo1
= 0;
9668 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9681 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) return NULL
;
9693 _resultobj
= _result
;
9698 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9701 src
= (wxDirItemData
*) ptr
;
9702 dest
= (wxObject
*) src
;
9703 return (void *) dest
;
9706 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9707 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
* _resultobj
;
9709 wxDirItemData
* _result
;
9713 PyObject
* _obj0
= 0;
9714 PyObject
* _obj1
= 0;
9716 char *_kwnames
[] = { "path","name","isDir", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9723 _arg0
= wxString_in_helper(_obj0
);
9728 _arg1
= wxString_in_helper(_obj1
);
9732 _arg2
= (bool ) tempbool2
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) return NULL
;
9740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9741 _resultobj
= Py_BuildValue("s",_ptemp
);
9744 _resultobj
= Py_None
;
9757 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9758 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
* _resultobj
;
9760 wxDirItemData
* _arg0
;
9762 PyObject
* _argo0
= 0;
9763 PyObject
* _obj1
= 0;
9764 char *_kwnames
[] = { "self","path", NULL
};
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9777 _arg1
= wxString_in_helper(_obj1
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) return NULL
;
9787 } Py_INCREF(Py_None
);
9788 _resultobj
= Py_None
;
9796 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9797 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
* _resultobj
;
9800 wxDirItemData
* _arg0
;
9802 PyObject
* _argo0
= 0;
9803 PyObject
* _obj1
= 0;
9804 char *_kwnames
[] = { "self","m_path", NULL
};
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9817 _arg1
= wxString_in_helper(_obj1
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) return NULL
;
9829 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9841 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9842 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
* _resultobj
;
9845 wxDirItemData
* _arg0
;
9846 PyObject
* _argo0
= 0;
9847 char *_kwnames
[] = { "self", NULL
};
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) return NULL
;
9867 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9875 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9876 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
* _resultobj
;
9879 wxDirItemData
* _arg0
;
9881 PyObject
* _argo0
= 0;
9882 PyObject
* _obj1
= 0;
9883 char *_kwnames
[] = { "self","m_name", NULL
};
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9896 _arg1
= wxString_in_helper(_obj1
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) return NULL
;
9908 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9910 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9920 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9921 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
* _resultobj
;
9924 wxDirItemData
* _arg0
;
9925 PyObject
* _argo0
= 0;
9926 char *_kwnames
[] = { "self", NULL
};
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9946 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9948 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9954 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9955 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
* _resultobj
;
9958 wxDirItemData
* _arg0
;
9960 PyObject
* _argo0
= 0;
9962 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9974 _arg1
= (bool ) tempbool1
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) return NULL
;
9981 } _resultobj
= Py_BuildValue("i",_result
);
9985 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9986 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
* _resultobj
;
9989 wxDirItemData
* _arg0
;
9990 PyObject
* _argo0
= 0;
9991 char *_kwnames
[] = { "self", NULL
};
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) return NULL
;
10009 } _resultobj
= Py_BuildValue("i",_result
);
10013 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
10014 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
* _resultobj
;
10017 wxDirItemData
* _arg0
;
10019 PyObject
* _argo0
= 0;
10021 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
10027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
10029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
10033 _arg1
= (bool ) tempbool1
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) return NULL
;
10040 } _resultobj
= Py_BuildValue("i",_result
);
10044 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
10045 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
* _resultobj
;
10048 wxDirItemData
* _arg0
;
10049 PyObject
* _argo0
= 0;
10050 char *_kwnames
[] = { "self", NULL
};
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
10056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
10058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) return NULL
;
10068 } _resultobj
= Py_BuildValue("i",_result
);
10072 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
10073 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
* _resultobj
;
10076 wxDirItemData
* _arg0
;
10078 PyObject
* _argo0
= 0;
10080 char *_kwnames
[] = { "self","m_isDir", NULL
};
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
10086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
10088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
10092 _arg1
= (bool ) tempbool1
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) return NULL
;
10099 } _resultobj
= Py_BuildValue("i",_result
);
10103 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
10104 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
* _resultobj
;
10107 wxDirItemData
* _arg0
;
10108 PyObject
* _argo0
= 0;
10109 char *_kwnames
[] = { "self", NULL
};
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
10115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
10117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) return NULL
;
10127 } _resultobj
= Py_BuildValue("i",_result
);
10131 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
10132 wxGenericDirCtrl
*src
;
10134 src
= (wxGenericDirCtrl
*) ptr
;
10135 dest
= (wxControl
*) src
;
10136 return (void *) dest
;
10139 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
10140 wxGenericDirCtrl
*src
;
10142 src
= (wxGenericDirCtrl
*) ptr
;
10143 dest
= (wxWindow
*) src
;
10144 return (void *) dest
;
10147 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
10148 wxGenericDirCtrl
*src
;
10149 wxEvtHandler
*dest
;
10150 src
= (wxGenericDirCtrl
*) ptr
;
10151 dest
= (wxEvtHandler
*) src
;
10152 return (void *) dest
;
10155 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
10156 wxGenericDirCtrl
*src
;
10158 src
= (wxGenericDirCtrl
*) ptr
;
10159 dest
= (wxObject
*) src
;
10160 return (void *) dest
;
10163 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10164 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
* _resultobj
;
10166 wxGenericDirCtrl
* _result
;
10168 wxWindowID _arg1
= (wxWindowID
) -1;
10169 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
10170 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10171 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10172 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10173 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
10174 int _arg7
= (int ) 0;
10175 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
10176 PyObject
* _argo0
= 0;
10177 PyObject
* _obj2
= 0;
10179 PyObject
* _obj3
= 0;
10181 PyObject
* _obj4
= 0;
10182 PyObject
* _obj6
= 0;
10183 PyObject
* _obj8
= 0;
10184 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
10199 _arg2
= wxString_in_helper(_obj2
);
10206 if (! wxPoint_helper(_obj3
, &_arg3
))
10212 if (! wxSize_helper(_obj4
, &_arg4
))
10217 _arg6
= wxString_in_helper(_obj6
);
10223 _arg8
= wxString_in_helper(_obj8
);
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) return NULL
;
10234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10235 _resultobj
= Py_BuildValue("s",_ptemp
);
10237 Py_INCREF(Py_None
);
10238 _resultobj
= Py_None
;
10255 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
10256 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
* _resultobj
;
10258 wxGenericDirCtrl
* _result
;
10259 char *_kwnames
[] = { NULL
};
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) return NULL
;
10272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10273 _resultobj
= Py_BuildValue("s",_ptemp
);
10275 Py_INCREF(Py_None
);
10276 _resultobj
= Py_None
;
10281 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10282 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
* _resultobj
;
10285 wxGenericDirCtrl
* _arg0
;
10287 wxWindowID _arg2
= (wxWindowID
) -1;
10288 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
10289 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10290 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10291 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10292 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
10293 int _arg8
= (int ) 0;
10294 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
10295 PyObject
* _argo0
= 0;
10296 PyObject
* _argo1
= 0;
10297 PyObject
* _obj3
= 0;
10299 PyObject
* _obj4
= 0;
10301 PyObject
* _obj5
= 0;
10302 PyObject
* _obj7
= 0;
10303 PyObject
* _obj9
= 0;
10304 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
10310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10325 _arg3
= wxString_in_helper(_obj3
);
10332 if (! wxPoint_helper(_obj4
, &_arg4
))
10338 if (! wxSize_helper(_obj5
, &_arg5
))
10343 _arg7
= wxString_in_helper(_obj7
);
10349 _arg9
= wxString_in_helper(_obj9
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) return NULL
;
10359 } _resultobj
= Py_BuildValue("i",_result
);
10375 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10376 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10379 wxGenericDirCtrl
* _arg0
;
10381 PyObject
* _argo0
= 0;
10382 PyObject
* _obj1
= 0;
10383 char *_kwnames
[] = { "self","path", NULL
};
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10396 _arg1
= wxString_in_helper(_obj1
);
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) return NULL
;
10406 } _resultobj
= Py_BuildValue("i",_result
);
10414 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10415 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
* _resultobj
;
10417 wxString
* _result
;
10418 wxGenericDirCtrl
* _arg0
;
10419 PyObject
* _argo0
= 0;
10420 char *_kwnames
[] = { "self", NULL
};
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) return NULL
;
10440 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10442 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10451 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10452 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
* _resultobj
;
10454 wxGenericDirCtrl
* _arg0
;
10456 PyObject
* _argo0
= 0;
10457 PyObject
* _obj1
= 0;
10458 char *_kwnames
[] = { "self","path", NULL
};
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10471 _arg1
= wxString_in_helper(_obj1
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) return NULL
;
10481 } Py_INCREF(Py_None
);
10482 _resultobj
= Py_None
;
10490 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10491 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
* _resultobj
;
10493 wxString
* _result
;
10494 wxGenericDirCtrl
* _arg0
;
10495 PyObject
* _argo0
= 0;
10496 char *_kwnames
[] = { "self", NULL
};
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) return NULL
;
10516 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10518 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10527 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10528 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
* _resultobj
;
10530 wxString
* _result
;
10531 wxGenericDirCtrl
* _arg0
;
10532 PyObject
* _argo0
= 0;
10533 char *_kwnames
[] = { "self", NULL
};
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) return NULL
;
10553 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10555 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10564 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10565 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
* _resultobj
;
10567 wxGenericDirCtrl
* _arg0
;
10569 PyObject
* _argo0
= 0;
10570 PyObject
* _obj1
= 0;
10571 char *_kwnames
[] = { "self","path", NULL
};
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10584 _arg1
= wxString_in_helper(_obj1
);
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) return NULL
;
10594 } Py_INCREF(Py_None
);
10595 _resultobj
= Py_None
;
10603 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10604 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
* _resultobj
;
10606 wxGenericDirCtrl
* _arg0
;
10608 PyObject
* _argo0
= 0;
10610 char *_kwnames
[] = { "self","show", NULL
};
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10622 _arg1
= (bool ) tempbool1
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) return NULL
;
10629 } Py_INCREF(Py_None
);
10630 _resultobj
= Py_None
;
10634 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10635 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
* _resultobj
;
10638 wxGenericDirCtrl
* _arg0
;
10639 PyObject
* _argo0
= 0;
10640 char *_kwnames
[] = { "self", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) return NULL
;
10658 } _resultobj
= Py_BuildValue("i",_result
);
10662 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10663 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
* _resultobj
;
10665 wxString
* _result
;
10666 wxGenericDirCtrl
* _arg0
;
10667 PyObject
* _argo0
= 0;
10668 char *_kwnames
[] = { "self", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) return NULL
;
10688 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10699 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10700 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
* _resultobj
;
10702 wxGenericDirCtrl
* _arg0
;
10704 PyObject
* _argo0
= 0;
10705 PyObject
* _obj1
= 0;
10706 char *_kwnames
[] = { "self","filter", NULL
};
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10719 _arg1
= wxString_in_helper(_obj1
);
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) return NULL
;
10729 } Py_INCREF(Py_None
);
10730 _resultobj
= Py_None
;
10738 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10739 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
* _resultobj
;
10742 wxGenericDirCtrl
* _arg0
;
10743 PyObject
* _argo0
= 0;
10744 char *_kwnames
[] = { "self", NULL
};
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) return NULL
;
10762 } _resultobj
= Py_BuildValue("i",_result
);
10766 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10767 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
* _resultobj
;
10769 wxGenericDirCtrl
* _arg0
;
10771 PyObject
* _argo0
= 0;
10772 char *_kwnames
[] = { "self","n", NULL
};
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) return NULL
;
10790 } Py_INCREF(Py_None
);
10791 _resultobj
= Py_None
;
10795 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10796 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
* _resultobj
;
10798 wxTreeItemId
* _result
;
10799 wxGenericDirCtrl
* _arg0
;
10800 PyObject
* _argo0
= 0;
10801 char *_kwnames
[] = { "self", NULL
};
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) return NULL
;
10820 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10821 _resultobj
= Py_BuildValue("s",_ptemp
);
10825 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10826 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
* _resultobj
;
10828 wxTreeCtrl
* _result
;
10829 wxGenericDirCtrl
* _arg0
;
10830 PyObject
* _argo0
= 0;
10831 char *_kwnames
[] = { "self", NULL
};
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) return NULL
;
10849 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10853 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10854 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
* _resultobj
;
10856 wxDirFilterListCtrl
* _result
;
10857 wxGenericDirCtrl
* _arg0
;
10858 PyObject
* _argo0
= 0;
10859 char *_kwnames
[] = { "self", NULL
};
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) return NULL
;
10879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10880 _resultobj
= Py_BuildValue("s",_ptemp
);
10882 Py_INCREF(Py_None
);
10883 _resultobj
= Py_None
;
10888 #define wxGenericDirCtrl_ReCreateTree(_swigobj) (_swigobj->ReCreateTree())
10889 static PyObject
*_wrap_wxGenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
* _resultobj
;
10891 wxGenericDirCtrl
* _arg0
;
10892 PyObject
* _argo0
= 0;
10893 char *_kwnames
[] = { "self", NULL
};
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_ReCreateTree",_kwnames
,&_argo0
))
10899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ReCreateTree. Expected _wxGenericDirCtrl_p.");
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 wxGenericDirCtrl_ReCreateTree(_arg0
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) return NULL
;
10911 } Py_INCREF(Py_None
);
10912 _resultobj
= Py_None
;
10916 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10917 wxDirFilterListCtrl
*src
;
10919 src
= (wxDirFilterListCtrl
*) ptr
;
10920 dest
= (wxChoice
*) src
;
10921 return (void *) dest
;
10924 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10925 wxDirFilterListCtrl
*src
;
10926 wxControlWithItems
*dest
;
10927 src
= (wxDirFilterListCtrl
*) ptr
;
10928 dest
= (wxControlWithItems
*) src
;
10929 return (void *) dest
;
10932 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10933 wxDirFilterListCtrl
*src
;
10935 src
= (wxDirFilterListCtrl
*) ptr
;
10936 dest
= (wxControl
*) src
;
10937 return (void *) dest
;
10940 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10941 wxDirFilterListCtrl
*src
;
10943 src
= (wxDirFilterListCtrl
*) ptr
;
10944 dest
= (wxWindow
*) src
;
10945 return (void *) dest
;
10948 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10949 wxDirFilterListCtrl
*src
;
10950 wxEvtHandler
*dest
;
10951 src
= (wxDirFilterListCtrl
*) ptr
;
10952 dest
= (wxEvtHandler
*) src
;
10953 return (void *) dest
;
10956 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10957 wxDirFilterListCtrl
*src
;
10959 src
= (wxDirFilterListCtrl
*) ptr
;
10960 dest
= (wxObject
*) src
;
10961 return (void *) dest
;
10964 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10965 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
* _resultobj
;
10967 wxDirFilterListCtrl
* _result
;
10968 wxGenericDirCtrl
* _arg0
;
10969 wxWindowID _arg1
= (wxWindowID
) -1;
10970 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10971 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10972 long _arg4
= (long ) 0;
10973 PyObject
* _argo0
= 0;
10975 PyObject
* _obj2
= 0;
10977 PyObject
* _obj3
= 0;
10978 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10994 if (! wxPoint_helper(_obj2
, &_arg2
))
11000 if (! wxSize_helper(_obj3
, &_arg3
))
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) return NULL
;
11010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
11011 _resultobj
= Py_BuildValue("s",_ptemp
);
11013 Py_INCREF(Py_None
);
11014 _resultobj
= Py_None
;
11019 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
11020 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
* _resultobj
;
11022 wxDirFilterListCtrl
* _result
;
11023 char *_kwnames
[] = { NULL
};
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) return NULL
;
11036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
11037 _resultobj
= Py_BuildValue("s",_ptemp
);
11039 Py_INCREF(Py_None
);
11040 _resultobj
= Py_None
;
11045 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11046 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
* _resultobj
;
11049 wxDirFilterListCtrl
* _arg0
;
11050 wxGenericDirCtrl
* _arg1
;
11051 wxWindowID _arg2
= (wxWindowID
) -1;
11052 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11053 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11054 long _arg5
= (long ) 0;
11055 PyObject
* _argo0
= 0;
11056 PyObject
* _argo1
= 0;
11058 PyObject
* _obj3
= 0;
11060 PyObject
* _obj4
= 0;
11061 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
11067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
11069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
11074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
11076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
11083 if (! wxPoint_helper(_obj3
, &_arg3
))
11089 if (! wxSize_helper(_obj4
, &_arg4
))
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) return NULL
;
11098 } _resultobj
= Py_BuildValue("i",_result
);
11102 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
11103 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
* _resultobj
;
11105 wxDirFilterListCtrl
* _arg0
;
11108 PyObject
* _argo0
= 0;
11109 PyObject
* _obj1
= 0;
11110 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
11116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
11118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
11123 _arg1
= wxString_in_helper(_obj1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) return NULL
;
11133 } Py_INCREF(Py_None
);
11134 _resultobj
= Py_None
;
11142 #define new_wxFileIconsTable() (new wxFileIconsTable())
11143 static PyObject
*_wrap_new_wxFileIconsTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
* _resultobj
;
11145 wxFileIconsTable
* _result
;
11146 char *_kwnames
[] = { NULL
};
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileIconsTable",_kwnames
))
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 _result
= (wxFileIconsTable
*)new_wxFileIconsTable();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) return NULL
;
11159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileIconsTable_p");
11160 _resultobj
= Py_BuildValue("s",_ptemp
);
11162 Py_INCREF(Py_None
);
11163 _resultobj
= Py_None
;
11168 #define delete_wxFileIconsTable(_swigobj) (delete _swigobj)
11169 static PyObject
*_wrap_delete_wxFileIconsTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
* _resultobj
;
11171 wxFileIconsTable
* _arg0
;
11172 PyObject
* _argo0
= 0;
11173 char *_kwnames
[] = { "self", NULL
};
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileIconsTable",_kwnames
,&_argo0
))
11179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileIconsTable_p")) {
11181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileIconsTable. Expected _wxFileIconsTable_p.");
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 delete_wxFileIconsTable(_arg0
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) return NULL
;
11191 } Py_INCREF(Py_None
);
11192 _resultobj
= Py_None
;
11196 #define wxFileIconsTable_GetIconID(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetIconID(_swigarg0,_swigarg1))
11197 static PyObject
*_wrap_wxFileIconsTable_GetIconID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
* _resultobj
;
11200 wxFileIconsTable
* _arg0
;
11202 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
11203 PyObject
* _argo0
= 0;
11204 PyObject
* _obj1
= 0;
11205 PyObject
* _obj2
= 0;
11206 char *_kwnames
[] = { "self","extension","mime", NULL
};
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileIconsTable_GetIconID",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileIconsTable_p")) {
11214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileIconsTable_GetIconID. Expected _wxFileIconsTable_p.");
11219 _arg1
= wxString_in_helper(_obj1
);
11225 _arg2
= wxString_in_helper(_obj2
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 _result
= (int )wxFileIconsTable_GetIconID(_arg0
,*_arg1
,*_arg2
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) return NULL
;
11235 } _resultobj
= Py_BuildValue("i",_result
);
11247 #define wxFileIconsTable_GetSmallImageList(_swigobj) (_swigobj->GetSmallImageList())
11248 static PyObject
*_wrap_wxFileIconsTable_GetSmallImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
* _resultobj
;
11250 wxImageList
* _result
;
11251 wxFileIconsTable
* _arg0
;
11252 PyObject
* _argo0
= 0;
11253 char *_kwnames
[] = { "self", NULL
};
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileIconsTable_GetSmallImageList",_kwnames
,&_argo0
))
11259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileIconsTable_p")) {
11261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileIconsTable_GetSmallImageList. Expected _wxFileIconsTable_p.");
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 _result
= (wxImageList
*)wxFileIconsTable_GetSmallImageList(_arg0
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) return NULL
;
11271 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11275 static PyMethodDef controls2cMethods
[] = {
11276 { "wxFileIconsTable_GetSmallImageList", (PyCFunction
) _wrap_wxFileIconsTable_GetSmallImageList
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxFileIconsTable_GetIconID", (PyCFunction
) _wrap_wxFileIconsTable_GetIconID
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "delete_wxFileIconsTable", (PyCFunction
) _wrap_delete_wxFileIconsTable
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "new_wxFileIconsTable", (PyCFunction
) _wrap_new_wxFileIconsTable
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxGenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_wxGenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxTreeCtrl_GetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxTreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxTreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxTreeEvent_SetEditCanceled", (PyCFunction
) _wrap_wxTreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxTreeEvent_IsEditCancelled", (PyCFunction
) _wrap_wxTreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxTreeEvent_SetLabel", (PyCFunction
) _wrap_wxTreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxTreeEvent_SetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxTreeEvent_GetKeyCode", (PyCFunction
) _wrap_wxTreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxTreeEvent_SetPoint", (PyCFunction
) _wrap_wxTreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxTreeEvent_SetOldItem", (PyCFunction
) _wrap_wxTreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxTreeEvent_SetItem", (PyCFunction
) _wrap_wxTreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxListCtrl_GetMainWindow", (PyCFunction
) _wrap_wxListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxListCtrl_GetViewRect", (PyCFunction
) _wrap_wxListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxListEvent_SetEditCanceled", (PyCFunction
) _wrap_wxListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxListEvent_IsEditCancelled", (PyCFunction
) _wrap_wxListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxListEvent_GetKeyCode", (PyCFunction
) _wrap_wxListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11591 * This table is used by the pointer type-checker
11593 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11594 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11595 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11596 { "_signed_long","_long",0},
11597 { "_wxPrintQuality","_wxCoord",0},
11598 { "_wxPrintQuality","_int",0},
11599 { "_wxPrintQuality","_signed_int",0},
11600 { "_wxPrintQuality","_unsigned_int",0},
11601 { "_wxPrintQuality","_wxWindowID",0},
11602 { "_wxPrintQuality","_uint",0},
11603 { "_wxPrintQuality","_EBool",0},
11604 { "_wxPrintQuality","_size_t",0},
11605 { "_wxPrintQuality","_time_t",0},
11606 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11607 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11608 { "_byte","_unsigned_char",0},
11609 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11610 { "_long","_unsigned_long",0},
11611 { "_long","_signed_long",0},
11612 { "_size_t","_wxCoord",0},
11613 { "_size_t","_wxPrintQuality",0},
11614 { "_size_t","_time_t",0},
11615 { "_size_t","_unsigned_int",0},
11616 { "_size_t","_int",0},
11617 { "_size_t","_wxWindowID",0},
11618 { "_size_t","_uint",0},
11619 { "_uint","_wxCoord",0},
11620 { "_uint","_wxPrintQuality",0},
11621 { "_uint","_time_t",0},
11622 { "_uint","_size_t",0},
11623 { "_uint","_unsigned_int",0},
11624 { "_uint","_int",0},
11625 { "_uint","_wxWindowID",0},
11626 { "_wxChar","_char",0},
11627 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11628 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11629 { "_char","_wxChar",0},
11630 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11631 { "_EBool","_wxCoord",0},
11632 { "_EBool","_wxPrintQuality",0},
11633 { "_EBool","_signed_int",0},
11634 { "_EBool","_int",0},
11635 { "_EBool","_wxWindowID",0},
11636 { "_unsigned_long","_long",0},
11637 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11638 { "_signed_int","_wxCoord",0},
11639 { "_signed_int","_wxPrintQuality",0},
11640 { "_signed_int","_EBool",0},
11641 { "_signed_int","_wxWindowID",0},
11642 { "_signed_int","_int",0},
11643 { "_WXTYPE","_short",0},
11644 { "_WXTYPE","_signed_short",0},
11645 { "_WXTYPE","_unsigned_short",0},
11646 { "_unsigned_short","_WXTYPE",0},
11647 { "_unsigned_short","_short",0},
11648 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11649 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11650 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11651 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11652 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11653 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11654 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11655 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11656 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11657 { "_signed_short","_WXTYPE",0},
11658 { "_signed_short","_short",0},
11659 { "_unsigned_char","_byte",0},
11660 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11661 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11662 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11663 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11664 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11665 { "_unsigned_int","_wxCoord",0},
11666 { "_unsigned_int","_wxPrintQuality",0},
11667 { "_unsigned_int","_time_t",0},
11668 { "_unsigned_int","_size_t",0},
11669 { "_unsigned_int","_uint",0},
11670 { "_unsigned_int","_wxWindowID",0},
11671 { "_unsigned_int","_int",0},
11672 { "_short","_WXTYPE",0},
11673 { "_short","_unsigned_short",0},
11674 { "_short","_signed_short",0},
11675 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11676 { "_wxWindowID","_wxCoord",0},
11677 { "_wxWindowID","_wxPrintQuality",0},
11678 { "_wxWindowID","_time_t",0},
11679 { "_wxWindowID","_size_t",0},
11680 { "_wxWindowID","_EBool",0},
11681 { "_wxWindowID","_uint",0},
11682 { "_wxWindowID","_int",0},
11683 { "_wxWindowID","_signed_int",0},
11684 { "_wxWindowID","_unsigned_int",0},
11685 { "_int","_wxCoord",0},
11686 { "_int","_wxPrintQuality",0},
11687 { "_int","_time_t",0},
11688 { "_int","_size_t",0},
11689 { "_int","_EBool",0},
11690 { "_int","_uint",0},
11691 { "_int","_wxWindowID",0},
11692 { "_int","_unsigned_int",0},
11693 { "_int","_signed_int",0},
11694 { "_time_t","_wxCoord",0},
11695 { "_time_t","_wxPrintQuality",0},
11696 { "_time_t","_unsigned_int",0},
11697 { "_time_t","_int",0},
11698 { "_time_t","_wxWindowID",0},
11699 { "_time_t","_uint",0},
11700 { "_time_t","_size_t",0},
11701 { "_wxCoord","_int",0},
11702 { "_wxCoord","_signed_int",0},
11703 { "_wxCoord","_unsigned_int",0},
11704 { "_wxCoord","_wxWindowID",0},
11705 { "_wxCoord","_uint",0},
11706 { "_wxCoord","_EBool",0},
11707 { "_wxCoord","_size_t",0},
11708 { "_wxCoord","_time_t",0},
11709 { "_wxCoord","_wxPrintQuality",0},
11710 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11711 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11712 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11713 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11714 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11715 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11716 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11717 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11718 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11719 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11720 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11723 static PyObject
*SWIG_globals
;
11727 SWIGEXPORT(void) initcontrols2c() {
11729 SWIG_globals
= SWIG_newvarlink();
11730 m
= Py_InitModule("controls2c", controls2cMethods
);
11731 d
= PyModule_GetDict(m
);
11732 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11733 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11734 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11735 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11736 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11737 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11738 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11739 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11740 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11741 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11742 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11743 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11744 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11745 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11746 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11747 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11748 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11749 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11750 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11751 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11752 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11753 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11754 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11755 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11756 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11757 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11758 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11759 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11760 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11761 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11762 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11763 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11764 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11765 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11766 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11767 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11768 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11769 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11770 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11771 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11772 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11773 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11774 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11775 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11776 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11777 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11778 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11779 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11780 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11781 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11782 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11783 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11784 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11785 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11786 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11787 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11788 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11789 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11790 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11791 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11792 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11793 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11794 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11795 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11796 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11797 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11798 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11799 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11800 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11801 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11802 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11803 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11804 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11805 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11806 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11807 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11808 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11809 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11810 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11811 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11812 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11813 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11814 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11815 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11816 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11817 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11818 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11819 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11820 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11821 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11822 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11823 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11824 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11825 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11826 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11827 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11828 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11829 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11830 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11831 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11832 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11833 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11834 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11835 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11836 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11837 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11838 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11839 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11840 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11841 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11842 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11843 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11844 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11845 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11846 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11847 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11848 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11849 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11850 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11851 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11852 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11853 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11854 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11855 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11856 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11857 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11858 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11859 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11860 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11861 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11862 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11863 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11864 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11865 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11866 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11867 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11868 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11869 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11870 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11871 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
11872 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11873 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11874 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11875 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11876 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11877 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11878 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11880 // Map renamed classes back to their common name for OOR
11881 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11882 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11883 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11884 PyDict_SetItemString(d
,"wxFileIconsTable_folder", PyInt_FromLong((long) wxFileIconsTable::folder
));
11885 PyDict_SetItemString(d
,"wxFileIconsTable_folder_open", PyInt_FromLong((long) wxFileIconsTable::folder_open
));
11886 PyDict_SetItemString(d
,"wxFileIconsTable_computer", PyInt_FromLong((long) wxFileIconsTable::computer
));
11887 PyDict_SetItemString(d
,"wxFileIconsTable_drive", PyInt_FromLong((long) wxFileIconsTable::drive
));
11888 PyDict_SetItemString(d
,"wxFileIconsTable_cdrom", PyInt_FromLong((long) wxFileIconsTable::cdrom
));
11889 PyDict_SetItemString(d
,"wxFileIconsTable_floppy", PyInt_FromLong((long) wxFileIconsTable::floppy
));
11890 PyDict_SetItemString(d
,"wxFileIconsTable_removeable", PyInt_FromLong((long) wxFileIconsTable::removeable
));
11891 PyDict_SetItemString(d
,"wxFileIconsTable_file", PyInt_FromLong((long) wxFileIconsTable::file
));
11892 PyDict_SetItemString(d
,"wxFileIconsTable_executable", PyInt_FromLong((long) wxFileIconsTable::executable
));
11895 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11896 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);