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 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2661 src
= (wxPyListCtrl
*) ptr
;
2662 dest
= (wxControl
*) src
;
2663 return (void *) dest
;
2666 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2669 src
= (wxPyListCtrl
*) ptr
;
2670 dest
= (wxWindow
*) src
;
2671 return (void *) dest
;
2674 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2677 src
= (wxPyListCtrl
*) ptr
;
2678 dest
= (wxEvtHandler
*) src
;
2679 return (void *) dest
;
2682 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2685 src
= (wxPyListCtrl
*) ptr
;
2686 dest
= (wxObject
*) src
;
2687 return (void *) dest
;
2690 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2691 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2693 wxPyListCtrl
* _result
;
2695 wxWindowID _arg1
= (wxWindowID
) -1;
2696 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2697 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2698 long _arg4
= (long ) (wxLC_ICON
);
2699 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2700 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
2701 PyObject
* _argo0
= 0;
2703 PyObject
* _obj2
= 0;
2705 PyObject
* _obj3
= 0;
2706 PyObject
* _argo5
= 0;
2707 PyObject
* _obj6
= 0;
2708 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2724 if (! wxPoint_helper(_obj2
, &_arg2
))
2730 if (! wxSize_helper(_obj3
, &_arg3
))
2734 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2741 _arg6
= wxString_in_helper(_obj6
);
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) return NULL
;
2752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2753 _resultobj
= Py_BuildValue("s",_ptemp
);
2756 _resultobj
= Py_None
;
2765 #define new_wxPreListCtrl() (new wxPyListCtrl())
2766 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2768 wxPyListCtrl
* _result
;
2769 char *_kwnames
[] = { NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2786 _resultobj
= Py_None
;
2791 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2792 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2795 wxPyListCtrl
* _arg0
;
2797 wxWindowID _arg2
= (wxWindowID
) -1;
2798 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2799 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2800 long _arg5
= (long ) (wxLC_ICON
);
2801 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2802 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
2803 PyObject
* _argo0
= 0;
2804 PyObject
* _argo1
= 0;
2806 PyObject
* _obj3
= 0;
2808 PyObject
* _obj4
= 0;
2809 PyObject
* _argo6
= 0;
2810 PyObject
* _obj7
= 0;
2811 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2833 if (! wxPoint_helper(_obj3
, &_arg3
))
2839 if (! wxSize_helper(_obj4
, &_arg4
))
2843 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2850 _arg7
= wxString_in_helper(_obj7
);
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) return NULL
;
2860 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2869 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2871 wxPyListCtrl
* _arg0
;
2874 PyObject
* _argo0
= 0;
2875 PyObject
* _obj1
= 0;
2876 PyObject
* _obj2
= 0;
2877 char *_kwnames
[] = { "self","self","_class", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2907 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2910 wxPyListCtrl
* _arg0
;
2912 PyObject
* _argo0
= 0;
2914 PyObject
* _obj1
= 0;
2915 char *_kwnames
[] = { "self","col", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
2929 if (! wxColour_helper(_obj1
, &_arg1
))
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } _resultobj
= Py_BuildValue("i",_result
);
2942 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2943 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2946 wxPyListCtrl
* _arg0
;
2948 PyObject
* _argo0
= 0;
2950 PyObject
* _obj1
= 0;
2951 char *_kwnames
[] = { "self","col", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
2965 if (! wxColour_helper(_obj1
, &_arg1
))
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) return NULL
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
2980 item
.SetMask(0xFFFF);
2981 if (self
->GetColumn(col
, item
))
2982 return new wxListItem(item
);
2986 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxListItem
* _result
;
2989 wxPyListCtrl
* _arg0
;
2991 PyObject
* _argo0
= 0;
2992 char *_kwnames
[] = { "self","col", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) return NULL
;
3010 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3014 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3015 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3018 wxPyListCtrl
* _arg0
;
3021 PyObject
* _argo0
= 0;
3022 PyObject
* _argo2
= 0;
3023 char *_kwnames
[] = { "self","col","item", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3036 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3047 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3052 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3055 wxPyListCtrl
* _arg0
;
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self","col", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3081 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3084 wxPyListCtrl
* _arg0
;
3087 PyObject
* _argo0
= 0;
3088 char *_kwnames
[] = { "self","col","width", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3111 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 wxPyListCtrl
* _arg0
;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 } _resultobj
= Py_BuildValue("i",_result
);
3138 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3139 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxTextCtrl
* _result
;
3142 wxPyListCtrl
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) return NULL
;
3162 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3166 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3167 wxListItem
* info
= new wxListItem
;
3168 info
->m_itemId
= itemId
;
3170 info
->m_mask
= 0xFFFF;
3171 self
->GetItem(*info
);
3174 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
* _resultobj
;
3176 wxListItem
* _result
;
3177 wxPyListCtrl
* _arg0
;
3179 int _arg2
= (int ) 0;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self","itemId","col", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) return NULL
;
3199 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3203 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3204 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3207 wxPyListCtrl
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 PyObject
* _argo1
= 0;
3211 char *_kwnames
[] = { "self","info", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3224 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) return NULL
;
3235 } _resultobj
= Py_BuildValue("i",_result
);
3239 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3240 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3243 wxPyListCtrl
* _arg0
;
3247 int _arg4
= (int ) -1;
3248 PyObject
* _argo0
= 0;
3249 PyObject
* _obj3
= 0;
3250 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3263 _arg3
= wxString_in_helper(_obj3
);
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } _resultobj
= Py_BuildValue("l",_result
);
3281 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3282 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3285 wxPyListCtrl
* _arg0
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) return NULL
;
3307 } _resultobj
= Py_BuildValue("i",_result
);
3311 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3312 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3315 wxPyListCtrl
* _arg0
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) return NULL
;
3338 } _resultobj
= Py_BuildValue("i",_result
);
3342 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3343 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3346 wxPyListCtrl
* _arg0
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) return NULL
;
3369 } _resultobj
= Py_BuildValue("i",_result
);
3373 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3374 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3377 wxPyListCtrl
* _arg0
;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "self","item", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) return NULL
;
3400 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3411 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3412 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
* _resultobj
;
3414 wxPyListCtrl
* _arg0
;
3417 PyObject
* _argo0
= 0;
3418 PyObject
* _obj2
= 0;
3419 char *_kwnames
[] = { "self","item","str", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3432 _arg2
= wxString_in_helper(_obj2
);
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3451 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3452 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3455 wxPyListCtrl
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","item", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) return NULL
;
3476 } _resultobj
= Py_BuildValue("l",_result
);
3480 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3481 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxPyListCtrl
* _arg0
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self","item","data", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) return NULL
;
3506 } _resultobj
= Py_BuildValue("i",_result
);
3510 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3511 wxPoint
* pos
= new wxPoint
;
3512 self
->GetItemPosition(item
, *pos
);
3515 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3518 wxPyListCtrl
* _arg0
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self","item", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) return NULL
;
3541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3542 _resultobj
= Py_BuildValue("s",_ptemp
);
3545 _resultobj
= Py_None
;
3550 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3551 wxRect
* rect
= new wxRect
;
3552 self
->GetItemRect(item
, *rect
, code
);
3555 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
* _resultobj
;
3558 wxPyListCtrl
* _arg0
;
3560 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self","item","code", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3591 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3592 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3595 wxPyListCtrl
* _arg0
;
3598 PyObject
* _argo0
= 0;
3600 PyObject
* _obj2
= 0;
3601 char *_kwnames
[] = { "self","item","pos", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3615 if (! wxPoint_helper(_obj2
, &_arg2
))
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) return NULL
;
3624 } _resultobj
= Py_BuildValue("i",_result
);
3628 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3629 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3632 wxPyListCtrl
* _arg0
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) return NULL
;
3652 } _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3657 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3660 wxPyListCtrl
* _arg0
;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) return NULL
;
3680 } _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3685 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3688 wxPyListCtrl
* _arg0
;
3690 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self","isSmall", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3704 _arg1
= (bool ) tempbool1
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3716 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3719 wxPyListCtrl
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } _resultobj
= Py_BuildValue("i",_result
);
3743 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3744 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3747 wxPyListCtrl
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) return NULL
;
3768 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3773 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3774 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxPyListCtrl
* _arg0
;
3778 PyObject
* _argo0
= 0;
3780 PyObject
* _obj1
= 0;
3781 char *_kwnames
[] = { "self","col", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3795 if (! wxColour_helper(_obj1
, &_arg1
))
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3810 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3813 wxPyListCtrl
* _arg0
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3833 } _resultobj
= Py_BuildValue("l",_result
);
3837 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3838 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3840 wxPyListCtrl
* _arg0
;
3842 bool _arg2
= (bool ) TRUE
;
3843 PyObject
* _argo0
= 0;
3844 int tempbool2
= (int) TRUE
;
3845 char *_kwnames
[] = { "self","style","add", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3857 _arg2
= (bool ) tempbool2
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) return NULL
;
3864 } Py_INCREF(Py_None
);
3865 _resultobj
= Py_None
;
3869 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3870 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3872 wxPyListCtrl
* _arg0
;
3874 PyObject
* _argo0
= 0;
3875 char *_kwnames
[] = { "self","style", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) return NULL
;
3893 } Py_INCREF(Py_None
);
3894 _resultobj
= Py_None
;
3898 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3899 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxPyListCtrl
* _arg0
;
3904 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3905 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3906 PyObject
* _argo0
= 0;
3907 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("l",_result
);
3929 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3930 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3932 wxImageList
* _result
;
3933 wxPyListCtrl
* _arg0
;
3935 PyObject
* _argo0
= 0;
3936 char *_kwnames
[] = { "self","which", NULL
};
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) return NULL
;
3954 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3958 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3959 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3961 wxPyListCtrl
* _arg0
;
3962 wxImageList
* _arg1
;
3964 PyObject
* _argo0
= 0;
3965 PyObject
* _argo1
= 0;
3966 char *_kwnames
[] = { "self","imageList","which", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
3979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) return NULL
;
3991 } Py_INCREF(Py_None
);
3992 _resultobj
= Py_None
;
3996 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
3997 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
3999 wxPyListCtrl
* _arg0
;
4000 wxImageList
* _arg1
;
4002 PyObject
* _argo0
= 0;
4003 PyObject
* _argo1
= 0;
4004 char *_kwnames
[] = { "self","imageList","which", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } Py_INCREF(Py_None
);
4030 _resultobj
= Py_None
;
4034 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4035 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4038 wxPyListCtrl
* _arg0
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4058 } _resultobj
= Py_BuildValue("i",_result
);
4062 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4063 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4065 wxPyListCtrl
* _arg0
;
4067 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self","item", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) return NULL
;
4086 } Py_INCREF(Py_None
);
4087 _resultobj
= Py_None
;
4091 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4092 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4094 wxPyListCtrl
* _arg0
;
4097 PyObject
* _argo0
= 0;
4098 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) return NULL
;
4116 } Py_INCREF(Py_None
);
4117 _resultobj
= Py_None
;
4121 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4122 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4125 wxPyListCtrl
* _arg0
;
4126 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self","flag", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
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_Arrange. Expected _wxPyListCtrl_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4151 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4154 wxPyListCtrl
* _arg0
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self","item", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) return NULL
;
4175 } _resultobj
= Py_BuildValue("i",_result
);
4179 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4180 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4183 wxPyListCtrl
* _arg0
;
4184 PyObject
* _argo0
= 0;
4185 char *_kwnames
[] = { "self", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4207 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4208 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4211 wxPyListCtrl
* _arg0
;
4213 PyObject
* _argo0
= 0;
4214 char *_kwnames
[] = { "self","col", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) return NULL
;
4232 } _resultobj
= Py_BuildValue("i",_result
);
4236 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4237 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4240 wxPyListCtrl
* _arg0
;
4241 PyObject
* _argo0
= 0;
4242 char *_kwnames
[] = { "self", NULL
};
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) return NULL
;
4260 } _resultobj
= Py_BuildValue("i",_result
);
4264 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4265 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4267 wxPyListCtrl
* _arg0
;
4268 PyObject
* _argo0
= 0;
4269 char *_kwnames
[] = { "self", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 wxListCtrl_ClearAll(_arg0
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) return NULL
;
4287 } Py_INCREF(Py_None
);
4288 _resultobj
= Py_None
;
4292 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4293 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4295 wxTextCtrl
* _result
;
4296 wxPyListCtrl
* _arg0
;
4298 PyObject
* _argo0
= 0;
4299 char *_kwnames
[] = { "self","item", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) return NULL
;
4317 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4321 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4322 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4325 wxPyListCtrl
* _arg0
;
4327 PyObject
* _argo0
= 0;
4329 char *_kwnames
[] = { "self","cancel", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4341 _arg1
= (bool ) tempbool1
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) return NULL
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4353 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4356 wxPyListCtrl
* _arg0
;
4358 PyObject
* _argo0
= 0;
4359 char *_kwnames
[] = { "self","item", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) return NULL
;
4377 } _resultobj
= Py_BuildValue("i",_result
);
4381 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4382 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4385 wxPyListCtrl
* _arg0
;
4388 bool _arg3
= (bool ) FALSE
;
4389 PyObject
* _argo0
= 0;
4390 PyObject
* _obj2
= 0;
4391 int tempbool3
= (int) FALSE
;
4392 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4405 _arg2
= wxString_in_helper(_obj2
);
4409 _arg3
= (bool ) tempbool3
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) return NULL
;
4416 } _resultobj
= Py_BuildValue("l",_result
);
4424 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4425 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4428 wxPyListCtrl
* _arg0
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self","start","data", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4450 } _resultobj
= Py_BuildValue("l",_result
);
4454 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4455 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4458 wxPyListCtrl
* _arg0
;
4462 PyObject
* _argo0
= 0;
4464 PyObject
* _obj2
= 0;
4465 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4479 if (! wxPoint_helper(_obj2
, &_arg2
))
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) return NULL
;
4488 } _resultobj
= Py_BuildValue("l",_result
);
4492 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4493 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4496 wxPyListCtrl
* _arg0
;
4500 PyObject
* _argo0
= 0;
4502 PyObject
* _obj1
= 0;
4503 char *_kwnames
[] = { "self","point", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4520 if (! wxPoint_helper(_obj1
, &_arg1
))
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) return NULL
;
4529 } _resultobj
= Py_BuildValue("l",_result
);
4532 o
= PyInt_FromLong((long) (*_arg2
));
4533 _resultobj
= t_output_helper(_resultobj
, o
);
4538 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4539 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4542 wxPyListCtrl
* _arg0
;
4544 PyObject
* _argo0
= 0;
4545 PyObject
* _argo1
= 0;
4546 char *_kwnames
[] = { "self","info", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4559 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) return NULL
;
4570 } _resultobj
= Py_BuildValue("l",_result
);
4574 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4575 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
* _resultobj
;
4578 wxPyListCtrl
* _arg0
;
4581 PyObject
* _argo0
= 0;
4582 PyObject
* _obj2
= 0;
4583 char *_kwnames
[] = { "self","index","label", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4596 _arg2
= wxString_in_helper(_obj2
);
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) return NULL
;
4606 } _resultobj
= Py_BuildValue("l",_result
);
4614 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4615 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 wxPyListCtrl
* _arg0
;
4621 PyObject
* _argo0
= 0;
4622 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) return NULL
;
4640 } _resultobj
= Py_BuildValue("l",_result
);
4644 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4645 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4648 wxPyListCtrl
* _arg0
;
4652 PyObject
* _argo0
= 0;
4653 PyObject
* _obj2
= 0;
4654 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4667 _arg2
= wxString_in_helper(_obj2
);
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) return NULL
;
4677 } _resultobj
= Py_BuildValue("l",_result
);
4685 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4686 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4689 wxPyListCtrl
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 PyObject
* _argo2
= 0;
4694 char *_kwnames
[] = { "self","col","info", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4707 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) return NULL
;
4718 } _resultobj
= Py_BuildValue("l",_result
);
4722 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4723 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4726 wxPyListCtrl
* _arg0
;
4729 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4730 int _arg4
= (int ) -1;
4731 PyObject
* _argo0
= 0;
4732 PyObject
* _obj2
= 0;
4733 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4746 _arg2
= wxString_in_helper(_obj2
);
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) return NULL
;
4756 } _resultobj
= Py_BuildValue("l",_result
);
4764 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4765 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4767 wxPyListCtrl
* _arg0
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "self","count", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) return NULL
;
4788 } Py_INCREF(Py_None
);
4789 _resultobj
= Py_None
;
4793 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4794 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4797 wxPyListCtrl
* _arg0
;
4800 PyObject
* _argo0
= 0;
4801 char *_kwnames
[] = { "self","dx","dy", NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) return NULL
;
4819 } _resultobj
= Py_BuildValue("i",_result
);
4823 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4824 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4826 wxPyListCtrl
* _arg0
;
4829 PyObject
* _argo0
= 0;
4831 PyObject
* _obj2
= 0;
4832 char *_kwnames
[] = { "self","item","col", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4846 if (! wxColour_helper(_obj2
, &_arg2
))
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) return NULL
;
4855 } Py_INCREF(Py_None
);
4856 _resultobj
= Py_None
;
4860 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4861 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4864 wxPyListCtrl
* _arg0
;
4866 PyObject
* _argo0
= 0;
4867 char *_kwnames
[] = { "self","item", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) return NULL
;
4886 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4887 _resultobj
= Py_BuildValue("s",_ptemp
);
4891 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4892 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
* _resultobj
;
4894 wxPyListCtrl
* _arg0
;
4897 PyObject
* _argo0
= 0;
4899 PyObject
* _obj2
= 0;
4900 char *_kwnames
[] = { "self","item","col", NULL
};
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4914 if (! wxColour_helper(_obj2
, &_arg2
))
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4923 } Py_INCREF(Py_None
);
4924 _resultobj
= Py_None
;
4928 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4929 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
* _resultobj
;
4932 wxPyListCtrl
* _arg0
;
4934 PyObject
* _argo0
= 0;
4935 char *_kwnames
[] = { "self","item", NULL
};
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
4942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) return NULL
;
4954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4955 _resultobj
= Py_BuildValue("s",_ptemp
);
4959 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4960 if (!PyCallable_Check(func
))
4962 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4964 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
* _resultobj
;
4967 wxPyListCtrl
* _arg0
;
4969 PyObject
* _argo0
= 0;
4970 PyObject
* _obj1
= 0;
4971 char *_kwnames
[] = { "self","func", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) return NULL
;
4992 } _resultobj
= Py_BuildValue("i",_result
);
4996 static wxWindow
* wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
) {
5000 return (wxWindow
*)self
->m_mainWin
;
5003 static PyObject
*_wrap_wxListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5006 wxPyListCtrl
* _arg0
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetMainWindow",_kwnames
,&_argo0
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetMainWindow. Expected _wxPyListCtrl_p.");
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 _result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(_arg0
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5030 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5033 src
= (wxListView
*) ptr
;
5034 dest
= (wxPyListCtrl
*) src
;
5035 return (void *) dest
;
5038 static void *SwigwxListViewTowxControl(void *ptr
) {
5041 src
= (wxListView
*) ptr
;
5042 dest
= (wxControl
*) src
;
5043 return (void *) dest
;
5046 static void *SwigwxListViewTowxWindow(void *ptr
) {
5049 src
= (wxListView
*) ptr
;
5050 dest
= (wxWindow
*) src
;
5051 return (void *) dest
;
5054 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5057 src
= (wxListView
*) ptr
;
5058 dest
= (wxEvtHandler
*) src
;
5059 return (void *) dest
;
5062 static void *SwigwxListViewTowxObject(void *ptr
) {
5065 src
= (wxListView
*) ptr
;
5066 dest
= (wxObject
*) src
;
5067 return (void *) dest
;
5070 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5071 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5073 wxListView
* _result
;
5075 wxWindowID _arg1
= (wxWindowID
) -1;
5076 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5077 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5078 long _arg4
= (long ) (wxLC_REPORT
);
5079 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5080 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5081 PyObject
* _argo0
= 0;
5083 PyObject
* _obj2
= 0;
5085 PyObject
* _obj3
= 0;
5086 PyObject
* _argo5
= 0;
5087 PyObject
* _obj6
= 0;
5088 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5104 if (! wxPoint_helper(_obj2
, &_arg2
))
5110 if (! wxSize_helper(_obj3
, &_arg3
))
5114 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5121 _arg6
= wxString_in_helper(_obj6
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5133 _resultobj
= Py_BuildValue("s",_ptemp
);
5136 _resultobj
= Py_None
;
5145 #define new_wxPreListView() (new wxListView())
5146 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5148 wxListView
* _result
;
5149 char *_kwnames
[] = { NULL
};
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 _result
= (wxListView
*)new_wxPreListView();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5163 _resultobj
= Py_BuildValue("s",_ptemp
);
5166 _resultobj
= Py_None
;
5171 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5172 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5177 wxWindowID _arg2
= (wxWindowID
) -1;
5178 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5179 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5180 long _arg5
= (long ) (wxLC_REPORT
);
5181 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5182 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5183 PyObject
* _argo0
= 0;
5184 PyObject
* _argo1
= 0;
5186 PyObject
* _obj3
= 0;
5188 PyObject
* _obj4
= 0;
5189 PyObject
* _argo6
= 0;
5190 PyObject
* _obj7
= 0;
5191 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5213 if (! wxPoint_helper(_obj3
, &_arg3
))
5219 if (! wxSize_helper(_obj4
, &_arg4
))
5223 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5230 _arg7
= wxString_in_helper(_obj7
);
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) return NULL
;
5240 } _resultobj
= Py_BuildValue("i",_result
);
5248 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5249 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5253 bool _arg2
= (bool ) TRUE
;
5254 PyObject
* _argo0
= 0;
5255 int tempbool2
= (int) TRUE
;
5256 char *_kwnames
[] = { "self","n","on", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5268 _arg2
= (bool ) tempbool2
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 wxListView_Select(_arg0
,_arg1
,_arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) return NULL
;
5275 } Py_INCREF(Py_None
);
5276 _resultobj
= Py_None
;
5280 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5281 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
* _resultobj
;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self","index", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 wxListView_Focus(_arg0
,_arg1
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5304 } Py_INCREF(Py_None
);
5305 _resultobj
= Py_None
;
5309 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5310 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5314 PyObject
* _argo0
= 0;
5315 char *_kwnames
[] = { "self", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) return NULL
;
5333 } _resultobj
= Py_BuildValue("l",_result
);
5337 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5338 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self","item", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
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_GetNextSelected. Expected _wxListView_p.");
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) return NULL
;
5362 } _resultobj
= Py_BuildValue("l",_result
);
5366 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5367 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5371 PyObject
* _argo0
= 0;
5372 char *_kwnames
[] = { "self", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) return NULL
;
5390 } _resultobj
= Py_BuildValue("l",_result
);
5394 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5395 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5400 PyObject
* _argo0
= 0;
5401 char *_kwnames
[] = { "self","index", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) return NULL
;
5419 } _resultobj
= Py_BuildValue("i",_result
);
5423 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5424 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5429 PyObject
* _argo0
= 0;
5430 char *_kwnames
[] = { "self","col","image", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) return NULL
;
5448 } Py_INCREF(Py_None
);
5449 _resultobj
= Py_None
;
5453 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5454 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self","col", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 wxListView_ClearColumnImage(_arg0
,_arg1
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5483 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5485 wxTreeItemAttr
* _result
;
5486 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5487 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5488 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5490 PyObject
* _obj0
= 0;
5492 PyObject
* _obj1
= 0;
5493 PyObject
* _argo2
= 0;
5494 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5503 if (! wxColour_helper(_obj0
, &_arg0
))
5509 if (! wxColour_helper(_obj1
, &_arg1
))
5513 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) return NULL
;
5525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5526 _resultobj
= Py_BuildValue("s",_ptemp
);
5529 _resultobj
= Py_None
;
5534 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5535 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5537 wxTreeItemAttr
* _arg0
;
5539 PyObject
* _argo0
= 0;
5541 PyObject
* _obj1
= 0;
5542 char *_kwnames
[] = { "self","colText", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5556 if (! wxColour_helper(_obj1
, &_arg1
))
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5565 } Py_INCREF(Py_None
);
5566 _resultobj
= Py_None
;
5570 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5571 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
* _resultobj
;
5573 wxTreeItemAttr
* _arg0
;
5575 PyObject
* _argo0
= 0;
5577 PyObject
* _obj1
= 0;
5578 char *_kwnames
[] = { "self","colBack", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5592 if (! wxColour_helper(_obj1
, &_arg1
))
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } Py_INCREF(Py_None
);
5602 _resultobj
= Py_None
;
5606 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5607 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5609 wxTreeItemAttr
* _arg0
;
5611 PyObject
* _argo0
= 0;
5612 PyObject
* _argo1
= 0;
5613 char *_kwnames
[] = { "self","font", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5626 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) return NULL
;
5637 } Py_INCREF(Py_None
);
5638 _resultobj
= Py_None
;
5642 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5643 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5646 wxTreeItemAttr
* _arg0
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5666 } _resultobj
= Py_BuildValue("i",_result
);
5670 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5671 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5674 wxTreeItemAttr
* _arg0
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) return NULL
;
5694 } _resultobj
= Py_BuildValue("i",_result
);
5698 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5699 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5702 wxTreeItemAttr
* _arg0
;
5703 PyObject
* _argo0
= 0;
5704 char *_kwnames
[] = { "self", NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) return NULL
;
5722 } _resultobj
= Py_BuildValue("i",_result
);
5726 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5727 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 wxTreeItemAttr
* _arg0
;
5731 PyObject
* _argo0
= 0;
5732 char *_kwnames
[] = { "self", NULL
};
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) return NULL
;
5751 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5752 _resultobj
= Py_BuildValue("s",_ptemp
);
5756 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5757 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5760 wxTreeItemAttr
* _arg0
;
5761 PyObject
* _argo0
= 0;
5762 char *_kwnames
[] = { "self", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) return NULL
;
5781 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5782 _resultobj
= Py_BuildValue("s",_ptemp
);
5786 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5787 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5790 wxTreeItemAttr
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) return NULL
;
5811 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5812 _resultobj
= Py_BuildValue("s",_ptemp
);
5816 #define new_wxTreeItemId() (new wxTreeItemId())
5817 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5819 wxTreeItemId
* _result
;
5820 char *_kwnames
[] = { NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5834 _resultobj
= Py_BuildValue("s",_ptemp
);
5837 _resultobj
= Py_None
;
5842 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5843 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5845 wxTreeItemId
* _arg0
;
5846 PyObject
* _argo0
= 0;
5847 char *_kwnames
[] = { "self", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 delete_wxTreeItemId(_arg0
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) return NULL
;
5865 } Py_INCREF(Py_None
);
5866 _resultobj
= Py_None
;
5870 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5871 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 wxTreeItemId
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5899 if (! other
) return -1;
5900 return *self
!= *other
;
5902 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5905 wxTreeItemId
* _arg0
;
5906 wxTreeItemId
* _arg1
;
5907 PyObject
* _argo0
= 0;
5908 PyObject
* _argo1
= 0;
5909 char *_kwnames
[] = { "self","other", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) return NULL
;
5934 } _resultobj
= Py_BuildValue("i",_result
);
5938 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5939 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5941 wxPyTreeItemData
* _result
;
5942 PyObject
* _arg0
= (PyObject
*) NULL
;
5943 PyObject
* _obj0
= 0;
5944 char *_kwnames
[] = { "obj", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) return NULL
;
5961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5962 _resultobj
= Py_BuildValue("s",_ptemp
);
5965 _resultobj
= Py_None
;
5970 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5971 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5974 wxPyTreeItemData
* _arg0
;
5975 PyObject
* _argo0
= 0;
5976 char *_kwnames
[] = { "self", NULL
};
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) return NULL
;
5995 _resultobj
= _result
;
6000 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6001 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6003 wxPyTreeItemData
* _arg0
;
6005 PyObject
* _argo0
= 0;
6006 PyObject
* _obj1
= 0;
6007 char *_kwnames
[] = { "self","obj", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxTreeItemData_SetData(_arg0
,_arg1
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) return NULL
;
6028 } Py_INCREF(Py_None
);
6029 _resultobj
= Py_None
;
6033 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6034 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6036 wxTreeItemId
* _result
;
6037 wxPyTreeItemData
* _arg0
;
6038 PyObject
* _argo0
= 0;
6039 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6055 _result
= (wxTreeItemId
*) &_result_ref
;
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) return NULL
;
6060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6061 _resultobj
= Py_BuildValue("s",_ptemp
);
6064 _resultobj
= Py_None
;
6069 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6070 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6072 wxPyTreeItemData
* _arg0
;
6073 wxTreeItemId
* _arg1
;
6074 PyObject
* _argo0
= 0;
6075 PyObject
* _argo1
= 0;
6076 char *_kwnames
[] = { "self","id", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6089 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 wxTreeItemData_SetId(_arg0
,*_arg1
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) return NULL
;
6100 } Py_INCREF(Py_None
);
6101 _resultobj
= Py_None
;
6105 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6107 wxNotifyEvent
*dest
;
6108 src
= (wxTreeEvent
*) ptr
;
6109 dest
= (wxNotifyEvent
*) src
;
6110 return (void *) dest
;
6113 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6115 wxCommandEvent
*dest
;
6116 src
= (wxTreeEvent
*) ptr
;
6117 dest
= (wxCommandEvent
*) src
;
6118 return (void *) dest
;
6121 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6124 src
= (wxTreeEvent
*) ptr
;
6125 dest
= (wxEvent
*) src
;
6126 return (void *) dest
;
6129 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6132 src
= (wxTreeEvent
*) ptr
;
6133 dest
= (wxObject
*) src
;
6134 return (void *) dest
;
6137 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6138 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
* _resultobj
;
6140 wxTreeEvent
* _result
;
6141 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6142 int _arg1
= (int ) 0;
6143 char *_kwnames
[] = { "commandType","id", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) return NULL
;
6156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6157 _resultobj
= Py_BuildValue("s",_ptemp
);
6160 _resultobj
= Py_None
;
6165 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6166 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
* _resultobj
;
6168 wxTreeItemId
* _result
;
6169 wxTreeEvent
* _arg0
;
6170 PyObject
* _argo0
= 0;
6171 char *_kwnames
[] = { "self", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) return NULL
;
6190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6191 _resultobj
= Py_BuildValue("s",_ptemp
);
6195 #define wxTreeEvent_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
6196 static PyObject
*_wrap_wxTreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6198 wxTreeEvent
* _arg0
;
6199 wxTreeItemId
* _arg1
;
6200 PyObject
* _argo0
= 0;
6201 PyObject
* _argo1
= 0;
6202 char *_kwnames
[] = { "self","item", NULL
};
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetItem",_kwnames
,&_argo0
,&_argo1
))
6208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetItem. Expected _wxTreeEvent_p.");
6215 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeEvent_SetItem. Expected _wxTreeItemId_p.");
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 wxTreeEvent_SetItem(_arg0
,*_arg1
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) return NULL
;
6226 } Py_INCREF(Py_None
);
6227 _resultobj
= Py_None
;
6231 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6232 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
* _resultobj
;
6234 wxTreeItemId
* _result
;
6235 wxTreeEvent
* _arg0
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self", NULL
};
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) return NULL
;
6256 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6257 _resultobj
= Py_BuildValue("s",_ptemp
);
6261 #define wxTreeEvent_SetOldItem(_swigobj,_swigarg0) (_swigobj->SetOldItem(_swigarg0))
6262 static PyObject
*_wrap_wxTreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
* _resultobj
;
6264 wxTreeEvent
* _arg0
;
6265 wxTreeItemId
* _arg1
;
6266 PyObject
* _argo0
= 0;
6267 PyObject
* _argo1
= 0;
6268 char *_kwnames
[] = { "self","item", NULL
};
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetOldItem",_kwnames
,&_argo0
,&_argo1
))
6274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetOldItem. Expected _wxTreeEvent_p.");
6281 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeEvent_SetOldItem. Expected _wxTreeItemId_p.");
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxTreeEvent_SetOldItem(_arg0
,*_arg1
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) return NULL
;
6292 } Py_INCREF(Py_None
);
6293 _resultobj
= Py_None
;
6297 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6298 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
* _resultobj
;
6301 wxTreeEvent
* _arg0
;
6302 PyObject
* _argo0
= 0;
6303 char *_kwnames
[] = { "self", NULL
};
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) return NULL
;
6322 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6323 _resultobj
= Py_BuildValue("s",_ptemp
);
6327 #define wxTreeEvent_SetPoint(_swigobj,_swigarg0) (_swigobj->SetPoint(_swigarg0))
6328 static PyObject
*_wrap_wxTreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6330 wxTreeEvent
* _arg0
;
6332 PyObject
* _argo0
= 0;
6334 PyObject
* _obj1
= 0;
6335 char *_kwnames
[] = { "self","pt", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetPoint",_kwnames
,&_argo0
,&_obj1
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetPoint. Expected _wxTreeEvent_p.");
6349 if (! wxPoint_helper(_obj1
, &_arg1
))
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 wxTreeEvent_SetPoint(_arg0
,*_arg1
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) return NULL
;
6358 } Py_INCREF(Py_None
);
6359 _resultobj
= Py_None
;
6363 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6364 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
* _resultobj
;
6366 wxKeyEvent
* _result
;
6367 wxTreeEvent
* _arg0
;
6368 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6385 _result
= (wxKeyEvent
*) &_result_ref
;
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) return NULL
;
6390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6391 _resultobj
= Py_BuildValue("s",_ptemp
);
6394 _resultobj
= Py_None
;
6399 #define wxTreeEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
6400 static PyObject
*_wrap_wxTreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6403 wxTreeEvent
* _arg0
;
6404 PyObject
* _argo0
= 0;
6405 char *_kwnames
[] = { "self", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyCode",_kwnames
,&_argo0
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyCode. Expected _wxTreeEvent_p.");
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 _result
= (int )wxTreeEvent_GetKeyCode(_arg0
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6423 } _resultobj
= Py_BuildValue("i",_result
);
6427 #define wxTreeEvent_SetKeyEvent(_swigobj,_swigarg0) (_swigobj->SetKeyEvent(_swigarg0))
6428 static PyObject
*_wrap_wxTreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6430 wxTreeEvent
* _arg0
;
6432 PyObject
* _argo0
= 0;
6433 PyObject
* _argo1
= 0;
6434 char *_kwnames
[] = { "self","evt", NULL
};
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetKeyEvent",_kwnames
,&_argo0
,&_argo1
))
6440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetKeyEvent. Expected _wxTreeEvent_p.");
6447 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeEvent_SetKeyEvent. Expected _wxKeyEvent_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxTreeEvent_SetKeyEvent(_arg0
,*_arg1
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } Py_INCREF(Py_None
);
6459 _resultobj
= Py_None
;
6463 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6464 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6467 wxTreeEvent
* _arg0
;
6468 PyObject
* _argo0
= 0;
6469 char *_kwnames
[] = { "self", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6484 _result
= (wxString
*) &_result_ref
;
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) return NULL
;
6490 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6492 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6498 #define wxTreeEvent_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
6499 static PyObject
*_wrap_wxTreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6501 wxTreeEvent
* _arg0
;
6503 PyObject
* _argo0
= 0;
6504 PyObject
* _obj1
= 0;
6505 char *_kwnames
[] = { "self","label", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeEvent_SetLabel",_kwnames
,&_argo0
,&_obj1
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetLabel. Expected _wxTreeEvent_p.");
6518 _arg1
= wxString_in_helper(_obj1
);
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxTreeEvent_SetLabel(_arg0
,*_arg1
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) return NULL
;
6528 } Py_INCREF(Py_None
);
6529 _resultobj
= Py_None
;
6537 #define wxTreeEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
6538 static PyObject
*_wrap_wxTreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6541 wxTreeEvent
* _arg0
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_IsEditCancelled",_kwnames
,&_argo0
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_IsEditCancelled. Expected _wxTreeEvent_p.");
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 _result
= (bool )wxTreeEvent_IsEditCancelled(_arg0
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) return NULL
;
6561 } _resultobj
= Py_BuildValue("i",_result
);
6565 #define wxTreeEvent_SetEditCanceled(_swigobj,_swigarg0) (_swigobj->SetEditCanceled(_swigarg0))
6566 static PyObject
*_wrap_wxTreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6568 wxTreeEvent
* _arg0
;
6570 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self","editCancelled", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeEvent_SetEditCanceled",_kwnames
,&_argo0
,&tempbool1
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_SetEditCanceled. Expected _wxTreeEvent_p.");
6584 _arg1
= (bool ) tempbool1
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 wxTreeEvent_SetEditCanceled(_arg0
,_arg1
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6591 } Py_INCREF(Py_None
);
6592 _resultobj
= Py_None
;
6596 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6599 src
= (wxPyTreeCtrl
*) ptr
;
6600 dest
= (wxControl
*) src
;
6601 return (void *) dest
;
6604 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6607 src
= (wxPyTreeCtrl
*) ptr
;
6608 dest
= (wxWindow
*) src
;
6609 return (void *) dest
;
6612 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6615 src
= (wxPyTreeCtrl
*) ptr
;
6616 dest
= (wxEvtHandler
*) src
;
6617 return (void *) dest
;
6620 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6623 src
= (wxPyTreeCtrl
*) ptr
;
6624 dest
= (wxObject
*) src
;
6625 return (void *) dest
;
6628 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6629 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6631 wxPyTreeCtrl
* _result
;
6633 wxWindowID _arg1
= (wxWindowID
) -1;
6634 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6635 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6636 long _arg4
= (long ) (wxTR_DEFAULT_STYLE
);
6637 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6638 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6639 PyObject
* _argo0
= 0;
6641 PyObject
* _obj2
= 0;
6643 PyObject
* _obj3
= 0;
6644 PyObject
* _argo5
= 0;
6645 PyObject
* _obj6
= 0;
6646 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6662 if (! wxPoint_helper(_obj2
, &_arg2
))
6668 if (! wxSize_helper(_obj3
, &_arg3
))
6672 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6679 _arg6
= wxString_in_helper(_obj6
);
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) return NULL
;
6690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6691 _resultobj
= Py_BuildValue("s",_ptemp
);
6694 _resultobj
= Py_None
;
6703 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6704 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxPyTreeCtrl
* _result
;
6707 char *_kwnames
[] = { NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) return NULL
;
6720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6721 _resultobj
= Py_BuildValue("s",_ptemp
);
6724 _resultobj
= Py_None
;
6729 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6730 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6733 wxPyTreeCtrl
* _arg0
;
6735 wxWindowID _arg2
= (wxWindowID
) -1;
6736 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6737 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6738 long _arg5
= (long ) (wxTR_DEFAULT_STYLE
);
6739 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6740 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6741 PyObject
* _argo0
= 0;
6742 PyObject
* _argo1
= 0;
6744 PyObject
* _obj3
= 0;
6746 PyObject
* _obj4
= 0;
6747 PyObject
* _argo6
= 0;
6748 PyObject
* _obj7
= 0;
6749 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6771 if (! wxPoint_helper(_obj3
, &_arg3
))
6777 if (! wxSize_helper(_obj4
, &_arg4
))
6781 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6788 _arg7
= wxString_in_helper(_obj7
);
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6798 } _resultobj
= Py_BuildValue("i",_result
);
6806 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6807 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
* _resultobj
;
6809 wxPyTreeCtrl
* _arg0
;
6812 PyObject
* _argo0
= 0;
6813 PyObject
* _obj1
= 0;
6814 PyObject
* _obj2
= 0;
6815 char *_kwnames
[] = { "self","self","_class", NULL
};
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) return NULL
;
6839 } Py_INCREF(Py_None
);
6840 _resultobj
= Py_None
;
6844 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6845 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6848 wxPyTreeCtrl
* _arg0
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6868 } _resultobj
= Py_BuildValue("i",_result
);
6872 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6873 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6875 unsigned int _result
;
6876 wxPyTreeCtrl
* _arg0
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) return NULL
;
6896 } _resultobj
= Py_BuildValue("i",_result
);
6900 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6901 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6903 wxPyTreeCtrl
* _arg0
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self","indent", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } Py_INCREF(Py_None
);
6925 _resultobj
= Py_None
;
6929 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6930 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6932 wxImageList
* _result
;
6933 wxPyTreeCtrl
* _arg0
;
6934 PyObject
* _argo0
= 0;
6935 char *_kwnames
[] = { "self", NULL
};
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) return NULL
;
6953 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6957 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6958 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6960 wxImageList
* _result
;
6961 wxPyTreeCtrl
* _arg0
;
6962 PyObject
* _argo0
= 0;
6963 char *_kwnames
[] = { "self", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) return NULL
;
6981 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6985 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6986 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
* _resultobj
;
6988 wxPyTreeCtrl
* _arg0
;
6989 wxImageList
* _arg1
;
6990 PyObject
* _argo0
= 0;
6991 PyObject
* _argo1
= 0;
6992 char *_kwnames
[] = { "self","imageList", NULL
};
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
7005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) return NULL
;
7017 } Py_INCREF(Py_None
);
7018 _resultobj
= Py_None
;
7022 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
7023 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
* _resultobj
;
7025 wxPyTreeCtrl
* _arg0
;
7026 wxImageList
* _arg1
;
7027 PyObject
* _argo0
= 0;
7028 PyObject
* _argo1
= 0;
7029 char *_kwnames
[] = { "self","imageList", NULL
};
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
7035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
7042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) return NULL
;
7054 } Py_INCREF(Py_None
);
7055 _resultobj
= Py_None
;
7059 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7060 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7062 wxPyTreeCtrl
* _arg0
;
7063 wxImageList
* _arg1
;
7064 PyObject
* _argo0
= 0;
7065 PyObject
* _argo1
= 0;
7066 char *_kwnames
[] = { "self","imageList", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } Py_INCREF(Py_None
);
7092 _resultobj
= Py_None
;
7096 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7097 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7099 wxPyTreeCtrl
* _arg0
;
7100 wxImageList
* _arg1
;
7101 PyObject
* _argo0
= 0;
7102 PyObject
* _argo1
= 0;
7103 char *_kwnames
[] = { "self","imageList", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7133 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7134 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7136 unsigned int _result
;
7137 wxPyTreeCtrl
* _arg0
;
7138 PyObject
* _argo0
= 0;
7139 char *_kwnames
[] = { "self", NULL
};
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) return NULL
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7162 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7164 wxPyTreeCtrl
* _arg0
;
7166 PyObject
* _argo0
= 0;
7167 char *_kwnames
[] = { "self","spacing", NULL
};
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) return NULL
;
7185 } Py_INCREF(Py_None
);
7186 _resultobj
= Py_None
;
7190 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7191 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7194 wxPyTreeCtrl
* _arg0
;
7195 wxTreeItemId
* _arg1
;
7196 PyObject
* _argo0
= 0;
7197 PyObject
* _argo1
= 0;
7198 char *_kwnames
[] = { "self","item", NULL
};
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7211 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) return NULL
;
7224 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7226 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7235 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7236 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7239 wxPyTreeCtrl
* _arg0
;
7240 wxTreeItemId
* _arg1
;
7241 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7242 PyObject
* _argo0
= 0;
7243 PyObject
* _argo1
= 0;
7244 char *_kwnames
[] = { "self","item","which", NULL
};
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7257 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) return NULL
;
7268 } _resultobj
= Py_BuildValue("i",_result
);
7272 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7273 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
* _resultobj
;
7276 wxPyTreeCtrl
* _arg0
;
7277 wxTreeItemId
* _arg1
;
7278 PyObject
* _argo0
= 0;
7279 PyObject
* _argo1
= 0;
7280 char *_kwnames
[] = { "self","item", NULL
};
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7293 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) return NULL
;
7304 } _resultobj
= Py_BuildValue("i",_result
);
7308 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7309 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7311 wxPyTreeCtrl
* _arg0
;
7312 wxTreeItemId
* _arg1
;
7314 PyObject
* _argo0
= 0;
7315 PyObject
* _argo1
= 0;
7316 PyObject
* _obj2
= 0;
7317 char *_kwnames
[] = { "self","item","text", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7330 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7336 _arg2
= wxString_in_helper(_obj2
);
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) return NULL
;
7346 } Py_INCREF(Py_None
);
7347 _resultobj
= Py_None
;
7355 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7356 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
* _resultobj
;
7358 wxPyTreeCtrl
* _arg0
;
7359 wxTreeItemId
* _arg1
;
7361 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7362 PyObject
* _argo0
= 0;
7363 PyObject
* _argo1
= 0;
7364 char *_kwnames
[] = { "self","item","image","which", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7377 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) return NULL
;
7388 } Py_INCREF(Py_None
);
7389 _resultobj
= Py_None
;
7393 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7394 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
* _resultobj
;
7396 wxPyTreeCtrl
* _arg0
;
7397 wxTreeItemId
* _arg1
;
7399 PyObject
* _argo0
= 0;
7400 PyObject
* _argo1
= 0;
7401 char *_kwnames
[] = { "self","item","image", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7414 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) return NULL
;
7425 } Py_INCREF(Py_None
);
7426 _resultobj
= Py_None
;
7430 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7431 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7433 wxPyTreeCtrl
* _arg0
;
7434 wxTreeItemId
* _arg1
;
7435 bool _arg2
= (bool ) TRUE
;
7436 PyObject
* _argo0
= 0;
7437 PyObject
* _argo1
= 0;
7438 int tempbool2
= (int) TRUE
;
7439 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7452 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7457 _arg2
= (bool ) tempbool2
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) return NULL
;
7464 } Py_INCREF(Py_None
);
7465 _resultobj
= Py_None
;
7469 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7470 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7472 data
= new wxPyTreeItemData();
7473 data
->SetId(item
); // set the id
7474 self
->SetItemData(item
, data
);
7478 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
* _resultobj
;
7480 wxPyTreeItemData
* _result
;
7481 wxPyTreeCtrl
* _arg0
;
7482 wxTreeItemId
* _arg1
;
7483 PyObject
* _argo0
= 0;
7484 PyObject
* _argo1
= 0;
7485 char *_kwnames
[] = { "self","item", NULL
};
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7499 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) return NULL
;
7511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7512 _resultobj
= Py_BuildValue("s",_ptemp
);
7515 _resultobj
= Py_None
;
7520 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7521 data
->SetId(item
); // set the id
7522 self
->SetItemData(item
, data
);
7524 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7526 wxPyTreeCtrl
* _arg0
;
7527 wxTreeItemId
* _arg1
;
7528 wxPyTreeItemData
* _arg2
;
7529 PyObject
* _argo0
= 0;
7530 PyObject
* _argo1
= 0;
7531 PyObject
* _argo2
= 0;
7532 char *_kwnames
[] = { "self","item","data", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7545 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7551 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } Py_INCREF(Py_None
);
7564 _resultobj
= Py_None
;
7568 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7569 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7571 data
= new wxPyTreeItemData();
7572 data
->SetId(item
); // set the id
7573 self
->SetItemData(item
, data
);
7575 return data
->GetData();
7577 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
* _resultobj
;
7580 wxPyTreeCtrl
* _arg0
;
7581 wxTreeItemId
* _arg1
;
7582 PyObject
* _argo0
= 0;
7583 PyObject
* _argo1
= 0;
7584 char *_kwnames
[] = { "self","item", NULL
};
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7597 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) return NULL
;
7609 _resultobj
= _result
;
7614 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7615 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7617 data
= new wxPyTreeItemData(obj
);
7618 data
->SetId(item
); // set the id
7619 self
->SetItemData(item
, data
);
7623 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
* _resultobj
;
7625 wxPyTreeCtrl
* _arg0
;
7626 wxTreeItemId
* _arg1
;
7628 PyObject
* _argo0
= 0;
7629 PyObject
* _argo1
= 0;
7630 PyObject
* _obj2
= 0;
7631 char *_kwnames
[] = { "self","item","obj", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7644 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) return NULL
;
7658 } Py_INCREF(Py_None
);
7659 _resultobj
= Py_None
;
7663 #define wxTreeCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
7664 static PyObject
*_wrap_wxTreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7667 wxPyTreeCtrl
* _arg0
;
7668 wxTreeItemId
* _arg1
;
7669 PyObject
* _argo0
= 0;
7670 PyObject
* _argo1
= 0;
7671 char *_kwnames
[] = { "self","item", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemTextColour",_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_GetItemTextColour. Expected _wxPyTreeCtrl_p.");
7685 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 _result
= new wxColour (wxTreeCtrl_GetItemTextColour(_arg0
,*_arg1
));
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) return NULL
;
7696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7697 _resultobj
= Py_BuildValue("s",_ptemp
);
7701 #define wxTreeCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
7702 static PyObject
*_wrap_wxTreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7705 wxPyTreeCtrl
* _arg0
;
7706 wxTreeItemId
* _arg1
;
7707 PyObject
* _argo0
= 0;
7708 PyObject
* _argo1
= 0;
7709 char *_kwnames
[] = { "self","item", NULL
};
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
7716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7723 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 _result
= new wxColour (wxTreeCtrl_GetItemBackgroundColour(_arg0
,*_arg1
));
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) return NULL
;
7734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7735 _resultobj
= Py_BuildValue("s",_ptemp
);
7739 #define wxTreeCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
7740 static PyObject
*_wrap_wxTreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7743 wxPyTreeCtrl
* _arg0
;
7744 wxTreeItemId
* _arg1
;
7745 PyObject
* _argo0
= 0;
7746 PyObject
* _argo1
= 0;
7747 char *_kwnames
[] = { "self","item", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemFont",_kwnames
,&_argo0
,&_argo1
))
7754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemFont. Expected _wxPyTreeCtrl_p.");
7761 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemFont. Expected _wxTreeItemId_p.");
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 _result
= new wxFont (wxTreeCtrl_GetItemFont(_arg0
,*_arg1
));
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) return NULL
;
7772 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7773 _resultobj
= Py_BuildValue("s",_ptemp
);
7777 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7778 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
* _resultobj
;
7781 wxPyTreeCtrl
* _arg0
;
7782 wxTreeItemId
* _arg1
;
7783 PyObject
* _argo0
= 0;
7784 PyObject
* _argo1
= 0;
7785 char *_kwnames
[] = { "self","item", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7798 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) return NULL
;
7809 } _resultobj
= Py_BuildValue("i",_result
);
7813 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7814 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
* _resultobj
;
7817 wxPyTreeCtrl
* _arg0
;
7818 wxTreeItemId
* _arg1
;
7819 PyObject
* _argo0
= 0;
7820 PyObject
* _argo1
= 0;
7821 char *_kwnames
[] = { "self","item", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7834 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) return NULL
;
7845 } _resultobj
= Py_BuildValue("i",_result
);
7849 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7850 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
* _resultobj
;
7853 wxPyTreeCtrl
* _arg0
;
7854 wxTreeItemId
* _arg1
;
7855 PyObject
* _argo0
= 0;
7856 PyObject
* _argo1
= 0;
7857 char *_kwnames
[] = { "self","item", NULL
};
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7870 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) return NULL
;
7881 } _resultobj
= Py_BuildValue("i",_result
);
7885 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7886 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxPyTreeCtrl
* _arg0
;
7890 wxTreeItemId
* _arg1
;
7891 PyObject
* _argo0
= 0;
7892 PyObject
* _argo1
= 0;
7893 char *_kwnames
[] = { "self","item", NULL
};
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7906 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) return NULL
;
7917 } _resultobj
= Py_BuildValue("i",_result
);
7921 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7922 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7924 wxTreeItemId
* _result
;
7925 wxPyTreeCtrl
* _arg0
;
7926 PyObject
* _argo0
= 0;
7927 char *_kwnames
[] = { "self", NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) return NULL
;
7946 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7947 _resultobj
= Py_BuildValue("s",_ptemp
);
7951 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7952 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
* _resultobj
;
7954 wxTreeItemId
* _result
;
7955 wxPyTreeCtrl
* _arg0
;
7956 PyObject
* _argo0
= 0;
7957 char *_kwnames
[] = { "self", NULL
};
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) return NULL
;
7976 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7977 _resultobj
= Py_BuildValue("s",_ptemp
);
7981 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetItemParent(_swigarg0))
7982 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
* _resultobj
;
7984 wxTreeItemId
* _result
;
7985 wxPyTreeCtrl
* _arg0
;
7986 wxTreeItemId
* _arg1
;
7987 PyObject
* _argo0
= 0;
7988 PyObject
* _argo1
= 0;
7989 char *_kwnames
[] = { "self","item", NULL
};
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8003 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) return NULL
;
8014 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8015 _resultobj
= Py_BuildValue("s",_ptemp
);
8019 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
8020 wxPyBeginBlockThreads();
8021 PyObject
* rval
= PyList_New(0);
8022 wxArrayTreeItemIds array
;
8024 num
= self
->GetSelections(array
);
8025 for (x
=0; x
< num
; x
++) {
8026 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
8027 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), TRUE
);
8028 PyList_Append(rval
, item
);
8030 wxPyEndBlockThreads();
8033 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8036 wxPyTreeCtrl
* _arg0
;
8037 PyObject
* _argo0
= 0;
8038 char *_kwnames
[] = { "self", NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
8044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8057 _resultobj
= _result
;
8062 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
8063 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
* _resultobj
;
8066 wxPyTreeCtrl
* _arg0
;
8067 wxTreeItemId
* _arg1
;
8068 bool _arg2
= (bool ) TRUE
;
8069 PyObject
* _argo0
= 0;
8070 PyObject
* _argo1
= 0;
8071 int tempbool2
= (int) TRUE
;
8072 char *_kwnames
[] = { "self","item","recursively", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
8085 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
8090 _arg2
= (bool ) tempbool2
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) return NULL
;
8097 } _resultobj
= Py_BuildValue("i",_result
);
8101 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
8102 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
* _resultobj
;
8104 wxTreeItemId
* _result
;
8105 wxPyTreeCtrl
* _arg0
;
8106 wxTreeItemId
* _arg1
;
8107 long * _arg2
= (long *) &longzero
;
8108 PyObject
* _argo0
= 0;
8109 PyObject
* _argo1
= 0;
8111 PyObject
* _obj2
= 0;
8112 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8126 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8133 temp
= (long) PyInt_AsLong(_obj2
);
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) return NULL
;
8142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8143 _resultobj
= Py_BuildValue("s",_ptemp
);
8146 o
= PyInt_FromLong((long) (*_arg2
));
8147 _resultobj
= t_output_helper(_resultobj
, o
);
8152 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8153 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
* _resultobj
;
8155 wxTreeItemId
* _result
;
8156 wxPyTreeCtrl
* _arg0
;
8157 wxTreeItemId
* _arg1
;
8159 PyObject
* _argo0
= 0;
8160 PyObject
* _argo1
= 0;
8162 PyObject
* _obj2
= 0;
8163 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8177 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8183 temp
= (long) PyInt_AsLong(_obj2
);
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) return NULL
;
8192 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8193 _resultobj
= Py_BuildValue("s",_ptemp
);
8196 o
= PyInt_FromLong((long) (*_arg2
));
8197 _resultobj
= t_output_helper(_resultobj
, o
);
8202 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8203 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8205 wxTreeItemId
* _result
;
8206 wxPyTreeCtrl
* _arg0
;
8207 wxTreeItemId
* _arg1
;
8208 PyObject
* _argo0
= 0;
8209 PyObject
* _argo1
= 0;
8210 char *_kwnames
[] = { "self","item", NULL
};
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8224 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) return NULL
;
8235 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8236 _resultobj
= Py_BuildValue("s",_ptemp
);
8240 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8241 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8243 wxTreeItemId
* _result
;
8244 wxPyTreeCtrl
* _arg0
;
8245 wxTreeItemId
* _arg1
;
8246 PyObject
* _argo0
= 0;
8247 PyObject
* _argo1
= 0;
8248 char *_kwnames
[] = { "self","item", NULL
};
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8262 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) return NULL
;
8273 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8274 _resultobj
= Py_BuildValue("s",_ptemp
);
8278 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8279 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
* _resultobj
;
8281 wxTreeItemId
* _result
;
8282 wxPyTreeCtrl
* _arg0
;
8283 PyObject
* _argo0
= 0;
8284 char *_kwnames
[] = { "self", NULL
};
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) return NULL
;
8303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8304 _resultobj
= Py_BuildValue("s",_ptemp
);
8308 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8309 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
* _resultobj
;
8311 wxTreeItemId
* _result
;
8312 wxPyTreeCtrl
* _arg0
;
8313 wxTreeItemId
* _arg1
;
8314 PyObject
* _argo0
= 0;
8315 PyObject
* _argo1
= 0;
8316 char *_kwnames
[] = { "self","item", NULL
};
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8330 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) return NULL
;
8341 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8342 _resultobj
= Py_BuildValue("s",_ptemp
);
8346 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8347 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
* _resultobj
;
8349 wxTreeItemId
* _result
;
8350 wxPyTreeCtrl
* _arg0
;
8351 wxTreeItemId
* _arg1
;
8352 PyObject
* _argo0
= 0;
8353 PyObject
* _argo1
= 0;
8354 char *_kwnames
[] = { "self","item", NULL
};
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8368 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8379 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8380 _resultobj
= Py_BuildValue("s",_ptemp
);
8384 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8385 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
* _resultobj
;
8387 wxTreeItemId
* _result
;
8388 wxPyTreeCtrl
* _arg0
;
8389 wxTreeItemId
* _arg1
;
8390 PyObject
* _argo0
= 0;
8391 PyObject
* _argo1
= 0;
8392 char *_kwnames
[] = { "self","item", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8406 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) return NULL
;
8417 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8418 _resultobj
= Py_BuildValue("s",_ptemp
);
8422 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8423 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
* _resultobj
;
8425 wxTreeItemId
* _result
;
8426 wxPyTreeCtrl
* _arg0
;
8428 int _arg2
= (int ) -1;
8429 int _arg3
= (int ) -1;
8430 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8431 PyObject
* _argo0
= 0;
8432 PyObject
* _obj1
= 0;
8433 PyObject
* _argo4
= 0;
8434 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8448 _arg1
= wxString_in_helper(_obj1
);
8453 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) return NULL
;
8465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8466 _resultobj
= Py_BuildValue("s",_ptemp
);
8474 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8475 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
* _resultobj
;
8477 wxTreeItemId
* _result
;
8478 wxPyTreeCtrl
* _arg0
;
8479 wxTreeItemId
* _arg1
;
8481 int _arg3
= (int ) -1;
8482 int _arg4
= (int ) -1;
8483 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8484 PyObject
* _argo0
= 0;
8485 PyObject
* _argo1
= 0;
8486 PyObject
* _obj2
= 0;
8487 PyObject
* _argo5
= 0;
8488 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8502 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8508 _arg2
= wxString_in_helper(_obj2
);
8513 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8514 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) return NULL
;
8525 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8526 _resultobj
= Py_BuildValue("s",_ptemp
);
8534 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8535 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
* _resultobj
;
8537 wxTreeItemId
* _result
;
8538 wxPyTreeCtrl
* _arg0
;
8539 wxTreeItemId
* _arg1
;
8540 wxTreeItemId
* _arg2
;
8542 int _arg4
= (int ) -1;
8543 int _arg5
= (int ) -1;
8544 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8545 PyObject
* _argo0
= 0;
8546 PyObject
* _argo1
= 0;
8547 PyObject
* _argo2
= 0;
8548 PyObject
* _obj3
= 0;
8549 PyObject
* _argo6
= 0;
8550 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8564 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8570 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8576 _arg3
= wxString_in_helper(_obj3
);
8581 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) return NULL
;
8593 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8594 _resultobj
= Py_BuildValue("s",_ptemp
);
8602 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8603 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
* _resultobj
;
8605 wxTreeItemId
* _result
;
8606 wxPyTreeCtrl
* _arg0
;
8607 wxTreeItemId
* _arg1
;
8610 int _arg4
= (int ) -1;
8611 int _arg5
= (int ) -1;
8612 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8613 PyObject
* _argo0
= 0;
8614 PyObject
* _argo1
= 0;
8615 PyObject
* _obj3
= 0;
8616 PyObject
* _argo6
= 0;
8617 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8631 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8637 _arg3
= wxString_in_helper(_obj3
);
8642 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8643 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) return NULL
;
8654 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8655 _resultobj
= Py_BuildValue("s",_ptemp
);
8663 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8664 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8666 wxTreeItemId
* _result
;
8667 wxPyTreeCtrl
* _arg0
;
8668 wxTreeItemId
* _arg1
;
8670 int _arg3
= (int ) -1;
8671 int _arg4
= (int ) -1;
8672 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8673 PyObject
* _argo0
= 0;
8674 PyObject
* _argo1
= 0;
8675 PyObject
* _obj2
= 0;
8676 PyObject
* _argo5
= 0;
8677 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8691 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8697 _arg2
= wxString_in_helper(_obj2
);
8702 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8703 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) return NULL
;
8714 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8715 _resultobj
= Py_BuildValue("s",_ptemp
);
8723 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8724 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
* _resultobj
;
8726 wxPyTreeCtrl
* _arg0
;
8727 wxTreeItemId
* _arg1
;
8728 PyObject
* _argo0
= 0;
8729 PyObject
* _argo1
= 0;
8730 char *_kwnames
[] = { "self","item", NULL
};
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8743 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) return NULL
;
8754 } Py_INCREF(Py_None
);
8755 _resultobj
= Py_None
;
8759 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8760 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
* _resultobj
;
8762 wxPyTreeCtrl
* _arg0
;
8763 wxTreeItemId
* _arg1
;
8764 PyObject
* _argo0
= 0;
8765 PyObject
* _argo1
= 0;
8766 char *_kwnames
[] = { "self","item", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
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_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8779 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) return NULL
;
8790 } Py_INCREF(Py_None
);
8791 _resultobj
= Py_None
;
8795 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8796 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
* _resultobj
;
8798 wxPyTreeCtrl
* _arg0
;
8799 PyObject
* _argo0
= 0;
8800 char *_kwnames
[] = { "self", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 wxTreeCtrl_DeleteAllItems(_arg0
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) return NULL
;
8818 } Py_INCREF(Py_None
);
8819 _resultobj
= Py_None
;
8823 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8824 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
* _resultobj
;
8826 wxPyTreeCtrl
* _arg0
;
8827 wxTreeItemId
* _arg1
;
8828 PyObject
* _argo0
= 0;
8829 PyObject
* _argo1
= 0;
8830 char *_kwnames
[] = { "self","item", NULL
};
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8843 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) return NULL
;
8854 } Py_INCREF(Py_None
);
8855 _resultobj
= Py_None
;
8859 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8860 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
* _resultobj
;
8862 wxPyTreeCtrl
* _arg0
;
8863 wxTreeItemId
* _arg1
;
8864 PyObject
* _argo0
= 0;
8865 PyObject
* _argo1
= 0;
8866 char *_kwnames
[] = { "self","item", NULL
};
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8879 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) return NULL
;
8890 } Py_INCREF(Py_None
);
8891 _resultobj
= Py_None
;
8895 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8896 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
* _resultobj
;
8898 wxPyTreeCtrl
* _arg0
;
8899 wxTreeItemId
* _arg1
;
8900 PyObject
* _argo0
= 0;
8901 PyObject
* _argo1
= 0;
8902 char *_kwnames
[] = { "self","item", NULL
};
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8915 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) return NULL
;
8926 } Py_INCREF(Py_None
);
8927 _resultobj
= Py_None
;
8931 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8932 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8934 wxPyTreeCtrl
* _arg0
;
8935 wxTreeItemId
* _arg1
;
8936 PyObject
* _argo0
= 0;
8937 PyObject
* _argo1
= 0;
8938 char *_kwnames
[] = { "self","item", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8951 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) return NULL
;
8962 } Py_INCREF(Py_None
);
8963 _resultobj
= Py_None
;
8967 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8968 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
* _resultobj
;
8970 wxPyTreeCtrl
* _arg0
;
8971 PyObject
* _argo0
= 0;
8972 char *_kwnames
[] = { "self", NULL
};
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 wxTreeCtrl_Unselect(_arg0
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) return NULL
;
8990 } Py_INCREF(Py_None
);
8991 _resultobj
= Py_None
;
8995 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8996 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
* _resultobj
;
8998 wxPyTreeCtrl
* _arg0
;
8999 PyObject
* _argo0
= 0;
9000 char *_kwnames
[] = { "self", NULL
};
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
9006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 wxTreeCtrl_UnselectAll(_arg0
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) return NULL
;
9018 } Py_INCREF(Py_None
);
9019 _resultobj
= Py_None
;
9023 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
9024 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9026 wxPyTreeCtrl
* _arg0
;
9027 wxTreeItemId
* _arg1
;
9028 PyObject
* _argo0
= 0;
9029 PyObject
* _argo1
= 0;
9030 char *_kwnames
[] = { "self","item", NULL
};
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
9036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
9043 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) return NULL
;
9054 } Py_INCREF(Py_None
);
9055 _resultobj
= Py_None
;
9059 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9060 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
* _resultobj
;
9062 wxPyTreeCtrl
* _arg0
;
9063 wxTreeItemId
* _arg1
;
9064 PyObject
* _argo0
= 0;
9065 PyObject
* _argo1
= 0;
9066 char *_kwnames
[] = { "self","item", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9079 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) return NULL
;
9090 } Py_INCREF(Py_None
);
9091 _resultobj
= Py_None
;
9095 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9096 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
* _resultobj
;
9098 wxPyTreeCtrl
* _arg0
;
9099 wxTreeItemId
* _arg1
;
9100 PyObject
* _argo0
= 0;
9101 PyObject
* _argo1
= 0;
9102 char *_kwnames
[] = { "self","item", NULL
};
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9115 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) return NULL
;
9126 } Py_INCREF(Py_None
);
9127 _resultobj
= Py_None
;
9131 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9132 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
* _resultobj
;
9134 wxTextCtrl
* _result
;
9135 wxPyTreeCtrl
* _arg0
;
9136 PyObject
* _argo0
= 0;
9137 char *_kwnames
[] = { "self", NULL
};
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) return NULL
;
9155 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9159 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9160 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
* _resultobj
;
9162 wxPyTreeCtrl
* _arg0
;
9163 wxTreeItemId
* _arg1
;
9164 PyObject
* _argo0
= 0;
9165 PyObject
* _argo1
= 0;
9166 char *_kwnames
[] = { "self","item", NULL
};
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9179 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) return NULL
;
9190 } Py_INCREF(Py_None
);
9191 _resultobj
= Py_None
;
9195 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9196 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9198 wxPyTreeCtrl
* _arg0
;
9199 wxTreeItemId
* _arg1
;
9200 int _arg2
= (int ) FALSE
;
9201 PyObject
* _argo0
= 0;
9202 PyObject
* _argo1
= 0;
9203 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9216 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) return NULL
;
9227 } Py_INCREF(Py_None
);
9228 _resultobj
= Py_None
;
9232 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9233 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
* _resultobj
;
9235 wxPyTreeCtrl
* _arg0
;
9236 wxTreeItemId
* _arg1
;
9237 PyObject
* _argo0
= 0;
9238 PyObject
* _argo1
= 0;
9239 char *_kwnames
[] = { "self","item", NULL
};
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9252 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) return NULL
;
9263 } Py_INCREF(Py_None
);
9264 _resultobj
= Py_None
;
9268 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9269 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
* _resultobj
;
9271 wxPyTreeCtrl
* _arg0
;
9272 wxTreeItemId
* _arg1
;
9273 int _arg2
= (int ) TRUE
;
9274 PyObject
* _argo0
= 0;
9275 PyObject
* _argo1
= 0;
9276 char *_kwnames
[] = { "self","item","bold", NULL
};
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9289 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) return NULL
;
9300 } Py_INCREF(Py_None
);
9301 _resultobj
= Py_None
;
9305 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9306 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
* _resultobj
;
9309 wxPyTreeCtrl
* _arg0
;
9310 wxTreeItemId
* _arg1
;
9311 PyObject
* _argo0
= 0;
9312 PyObject
* _argo1
= 0;
9313 char *_kwnames
[] = { "self","item", NULL
};
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9326 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) return NULL
;
9337 } _resultobj
= Py_BuildValue("i",_result
);
9341 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9342 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9344 wxTreeItemId
* _result
;
9345 wxPyTreeCtrl
* _arg0
;
9349 PyObject
* _argo0
= 0;
9351 PyObject
* _obj1
= 0;
9352 char *_kwnames
[] = { "self","point", NULL
};
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9370 if (! wxPoint_helper(_obj1
, &_arg1
))
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) return NULL
;
9379 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9380 _resultobj
= Py_BuildValue("s",_ptemp
);
9383 o
= PyInt_FromLong((long) (*_arg2
));
9384 _resultobj
= t_output_helper(_resultobj
, o
);
9389 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9390 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
* _resultobj
;
9392 wxPyTreeCtrl
* _arg0
;
9393 wxTreeItemId
* _arg1
;
9395 PyObject
* _argo0
= 0;
9396 PyObject
* _argo1
= 0;
9398 PyObject
* _obj2
= 0;
9399 char *_kwnames
[] = { "self","item","col", NULL
};
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9412 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9419 if (! wxColour_helper(_obj2
, &_arg2
))
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) return NULL
;
9428 } Py_INCREF(Py_None
);
9429 _resultobj
= Py_None
;
9433 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9434 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9436 wxPyTreeCtrl
* _arg0
;
9437 wxTreeItemId
* _arg1
;
9439 PyObject
* _argo0
= 0;
9440 PyObject
* _argo1
= 0;
9442 PyObject
* _obj2
= 0;
9443 char *_kwnames
[] = { "self","item","col", NULL
};
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9456 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9463 if (! wxColour_helper(_obj2
, &_arg2
))
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) return NULL
;
9472 } Py_INCREF(Py_None
);
9473 _resultobj
= Py_None
;
9477 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9478 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9480 wxPyTreeCtrl
* _arg0
;
9481 wxTreeItemId
* _arg1
;
9483 PyObject
* _argo0
= 0;
9484 PyObject
* _argo1
= 0;
9485 PyObject
* _argo2
= 0;
9486 char *_kwnames
[] = { "self","item","font", NULL
};
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9499 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9505 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) return NULL
;
9516 } Py_INCREF(Py_None
);
9517 _resultobj
= Py_None
;
9521 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9522 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
* _resultobj
;
9524 wxPyTreeCtrl
* _arg0
;
9525 wxTreeItemId
* _arg1
;
9526 int _arg2
= (int ) TRUE
;
9527 PyObject
* _argo0
= 0;
9528 PyObject
* _argo1
= 0;
9529 char *_kwnames
[] = { "self","item","highlight", NULL
};
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9542 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) return NULL
;
9553 } Py_INCREF(Py_None
);
9554 _resultobj
= Py_None
;
9558 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9560 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9561 wxPyBeginBlockThreads();
9562 wxRect
* r
= new wxRect(rect
);
9563 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), 1);
9564 wxPyEndBlockThreads();
9572 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
* _resultobj
;
9575 wxPyTreeCtrl
* _arg0
;
9576 wxTreeItemId
* _arg1
;
9577 int _arg2
= (int ) FALSE
;
9578 PyObject
* _argo0
= 0;
9579 PyObject
* _argo1
= 0;
9580 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9593 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) return NULL
;
9605 _resultobj
= _result
;
9610 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9613 src
= (wxDirItemData
*) ptr
;
9614 dest
= (wxObject
*) src
;
9615 return (void *) dest
;
9618 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9619 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
* _resultobj
;
9621 wxDirItemData
* _result
;
9625 PyObject
* _obj0
= 0;
9626 PyObject
* _obj1
= 0;
9628 char *_kwnames
[] = { "path","name","isDir", NULL
};
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9635 _arg0
= wxString_in_helper(_obj0
);
9640 _arg1
= wxString_in_helper(_obj1
);
9644 _arg2
= (bool ) tempbool2
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) return NULL
;
9652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9653 _resultobj
= Py_BuildValue("s",_ptemp
);
9656 _resultobj
= Py_None
;
9669 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9670 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
* _resultobj
;
9672 wxDirItemData
* _arg0
;
9674 PyObject
* _argo0
= 0;
9675 PyObject
* _obj1
= 0;
9676 char *_kwnames
[] = { "self","path", NULL
};
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9689 _arg1
= wxString_in_helper(_obj1
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) return NULL
;
9699 } Py_INCREF(Py_None
);
9700 _resultobj
= Py_None
;
9708 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9709 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
* _resultobj
;
9712 wxDirItemData
* _arg0
;
9714 PyObject
* _argo0
= 0;
9715 PyObject
* _obj1
= 0;
9716 char *_kwnames
[] = { "self","m_path", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9729 _arg1
= wxString_in_helper(_obj1
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) return NULL
;
9741 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9743 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9753 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9754 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
* _resultobj
;
9757 wxDirItemData
* _arg0
;
9758 PyObject
* _argo0
= 0;
9759 char *_kwnames
[] = { "self", NULL
};
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9779 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9781 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9787 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9788 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
* _resultobj
;
9791 wxDirItemData
* _arg0
;
9793 PyObject
* _argo0
= 0;
9794 PyObject
* _obj1
= 0;
9795 char *_kwnames
[] = { "self","m_name", NULL
};
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9808 _arg1
= wxString_in_helper(_obj1
);
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) return NULL
;
9820 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9822 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9832 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9833 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
* _resultobj
;
9836 wxDirItemData
* _arg0
;
9837 PyObject
* _argo0
= 0;
9838 char *_kwnames
[] = { "self", NULL
};
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) return NULL
;
9858 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9866 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9867 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
* _resultobj
;
9870 wxDirItemData
* _arg0
;
9872 PyObject
* _argo0
= 0;
9874 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9886 _arg1
= (bool ) tempbool1
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) return NULL
;
9893 } _resultobj
= Py_BuildValue("i",_result
);
9897 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9898 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
* _resultobj
;
9901 wxDirItemData
* _arg0
;
9902 PyObject
* _argo0
= 0;
9903 char *_kwnames
[] = { "self", NULL
};
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) return NULL
;
9921 } _resultobj
= Py_BuildValue("i",_result
);
9925 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9926 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
* _resultobj
;
9929 wxDirItemData
* _arg0
;
9931 PyObject
* _argo0
= 0;
9933 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9945 _arg1
= (bool ) tempbool1
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) return NULL
;
9952 } _resultobj
= Py_BuildValue("i",_result
);
9956 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9957 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
* _resultobj
;
9960 wxDirItemData
* _arg0
;
9961 PyObject
* _argo0
= 0;
9962 char *_kwnames
[] = { "self", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
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_isExpanded_get. Expected _wxDirItemData_p.");
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) return NULL
;
9980 } _resultobj
= Py_BuildValue("i",_result
);
9984 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9985 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
* _resultobj
;
9988 wxDirItemData
* _arg0
;
9990 PyObject
* _argo0
= 0;
9992 char *_kwnames
[] = { "self","m_isDir", NULL
};
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
10000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
10004 _arg1
= (bool ) tempbool1
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) return NULL
;
10011 } _resultobj
= Py_BuildValue("i",_result
);
10015 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
10016 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
* _resultobj
;
10019 wxDirItemData
* _arg0
;
10020 PyObject
* _argo0
= 0;
10021 char *_kwnames
[] = { "self", NULL
};
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
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_isDir_get. Expected _wxDirItemData_p.");
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10039 } _resultobj
= Py_BuildValue("i",_result
);
10043 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
10044 wxGenericDirCtrl
*src
;
10046 src
= (wxGenericDirCtrl
*) ptr
;
10047 dest
= (wxControl
*) src
;
10048 return (void *) dest
;
10051 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
10052 wxGenericDirCtrl
*src
;
10054 src
= (wxGenericDirCtrl
*) ptr
;
10055 dest
= (wxWindow
*) src
;
10056 return (void *) dest
;
10059 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
10060 wxGenericDirCtrl
*src
;
10061 wxEvtHandler
*dest
;
10062 src
= (wxGenericDirCtrl
*) ptr
;
10063 dest
= (wxEvtHandler
*) src
;
10064 return (void *) dest
;
10067 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
10068 wxGenericDirCtrl
*src
;
10070 src
= (wxGenericDirCtrl
*) ptr
;
10071 dest
= (wxObject
*) src
;
10072 return (void *) dest
;
10075 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10076 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
* _resultobj
;
10078 wxGenericDirCtrl
* _result
;
10080 wxWindowID _arg1
= (wxWindowID
) -1;
10081 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
10082 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10083 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10084 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10085 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
10086 int _arg7
= (int ) 0;
10087 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
10088 PyObject
* _argo0
= 0;
10089 PyObject
* _obj2
= 0;
10091 PyObject
* _obj3
= 0;
10093 PyObject
* _obj4
= 0;
10094 PyObject
* _obj6
= 0;
10095 PyObject
* _obj8
= 0;
10096 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
10103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
10111 _arg2
= wxString_in_helper(_obj2
);
10118 if (! wxPoint_helper(_obj3
, &_arg3
))
10124 if (! wxSize_helper(_obj4
, &_arg4
))
10129 _arg6
= wxString_in_helper(_obj6
);
10135 _arg8
= wxString_in_helper(_obj8
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10147 _resultobj
= Py_BuildValue("s",_ptemp
);
10149 Py_INCREF(Py_None
);
10150 _resultobj
= Py_None
;
10167 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
10168 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
* _resultobj
;
10170 wxGenericDirCtrl
* _result
;
10171 char *_kwnames
[] = { NULL
};
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) return NULL
;
10184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10185 _resultobj
= Py_BuildValue("s",_ptemp
);
10187 Py_INCREF(Py_None
);
10188 _resultobj
= Py_None
;
10193 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10194 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
* _resultobj
;
10197 wxGenericDirCtrl
* _arg0
;
10199 wxWindowID _arg2
= (wxWindowID
) -1;
10200 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
10201 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10202 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10203 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10204 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
10205 int _arg8
= (int ) 0;
10206 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
10207 PyObject
* _argo0
= 0;
10208 PyObject
* _argo1
= 0;
10209 PyObject
* _obj3
= 0;
10211 PyObject
* _obj4
= 0;
10213 PyObject
* _obj5
= 0;
10214 PyObject
* _obj7
= 0;
10215 PyObject
* _obj9
= 0;
10216 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
10222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10237 _arg3
= wxString_in_helper(_obj3
);
10244 if (! wxPoint_helper(_obj4
, &_arg4
))
10250 if (! wxSize_helper(_obj5
, &_arg5
))
10255 _arg7
= wxString_in_helper(_obj7
);
10261 _arg9
= wxString_in_helper(_obj9
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) return NULL
;
10271 } _resultobj
= Py_BuildValue("i",_result
);
10287 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10288 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
* _resultobj
;
10291 wxGenericDirCtrl
* _arg0
;
10293 PyObject
* _argo0
= 0;
10294 PyObject
* _obj1
= 0;
10295 char *_kwnames
[] = { "self","path", NULL
};
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10308 _arg1
= wxString_in_helper(_obj1
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) return NULL
;
10318 } _resultobj
= Py_BuildValue("i",_result
);
10326 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10327 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
* _resultobj
;
10329 wxString
* _result
;
10330 wxGenericDirCtrl
* _arg0
;
10331 PyObject
* _argo0
= 0;
10332 char *_kwnames
[] = { "self", NULL
};
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) return NULL
;
10352 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10354 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10363 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10364 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
* _resultobj
;
10366 wxGenericDirCtrl
* _arg0
;
10368 PyObject
* _argo0
= 0;
10369 PyObject
* _obj1
= 0;
10370 char *_kwnames
[] = { "self","path", NULL
};
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10383 _arg1
= wxString_in_helper(_obj1
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) return NULL
;
10393 } Py_INCREF(Py_None
);
10394 _resultobj
= Py_None
;
10402 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10403 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
* _resultobj
;
10405 wxString
* _result
;
10406 wxGenericDirCtrl
* _arg0
;
10407 PyObject
* _argo0
= 0;
10408 char *_kwnames
[] = { "self", NULL
};
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) return NULL
;
10428 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10430 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10439 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10440 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
* _resultobj
;
10442 wxString
* _result
;
10443 wxGenericDirCtrl
* _arg0
;
10444 PyObject
* _argo0
= 0;
10445 char *_kwnames
[] = { "self", NULL
};
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) return NULL
;
10465 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10467 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10476 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10477 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
* _resultobj
;
10479 wxGenericDirCtrl
* _arg0
;
10481 PyObject
* _argo0
= 0;
10482 PyObject
* _obj1
= 0;
10483 char *_kwnames
[] = { "self","path", NULL
};
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10496 _arg1
= wxString_in_helper(_obj1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) return NULL
;
10506 } Py_INCREF(Py_None
);
10507 _resultobj
= Py_None
;
10515 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10516 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
* _resultobj
;
10518 wxGenericDirCtrl
* _arg0
;
10520 PyObject
* _argo0
= 0;
10522 char *_kwnames
[] = { "self","show", NULL
};
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10534 _arg1
= (bool ) tempbool1
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) return NULL
;
10541 } Py_INCREF(Py_None
);
10542 _resultobj
= Py_None
;
10546 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10547 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
* _resultobj
;
10550 wxGenericDirCtrl
* _arg0
;
10551 PyObject
* _argo0
= 0;
10552 char *_kwnames
[] = { "self", NULL
};
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) return NULL
;
10570 } _resultobj
= Py_BuildValue("i",_result
);
10574 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10575 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
* _resultobj
;
10577 wxString
* _result
;
10578 wxGenericDirCtrl
* _arg0
;
10579 PyObject
* _argo0
= 0;
10580 char *_kwnames
[] = { "self", NULL
};
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) return NULL
;
10600 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10602 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10611 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10612 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
* _resultobj
;
10614 wxGenericDirCtrl
* _arg0
;
10616 PyObject
* _argo0
= 0;
10617 PyObject
* _obj1
= 0;
10618 char *_kwnames
[] = { "self","filter", NULL
};
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10631 _arg1
= wxString_in_helper(_obj1
);
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) return NULL
;
10641 } Py_INCREF(Py_None
);
10642 _resultobj
= Py_None
;
10650 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10651 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
* _resultobj
;
10654 wxGenericDirCtrl
* _arg0
;
10655 PyObject
* _argo0
= 0;
10656 char *_kwnames
[] = { "self", NULL
};
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) return NULL
;
10674 } _resultobj
= Py_BuildValue("i",_result
);
10678 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10679 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
* _resultobj
;
10681 wxGenericDirCtrl
* _arg0
;
10683 PyObject
* _argo0
= 0;
10684 char *_kwnames
[] = { "self","n", NULL
};
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) return NULL
;
10702 } Py_INCREF(Py_None
);
10703 _resultobj
= Py_None
;
10707 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10708 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
* _resultobj
;
10710 wxTreeItemId
* _result
;
10711 wxGenericDirCtrl
* _arg0
;
10712 PyObject
* _argo0
= 0;
10713 char *_kwnames
[] = { "self", NULL
};
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) return NULL
;
10732 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10733 _resultobj
= Py_BuildValue("s",_ptemp
);
10737 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10738 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
* _resultobj
;
10740 wxTreeCtrl
* _result
;
10741 wxGenericDirCtrl
* _arg0
;
10742 PyObject
* _argo0
= 0;
10743 char *_kwnames
[] = { "self", NULL
};
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) return NULL
;
10761 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10765 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10766 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
* _resultobj
;
10768 wxDirFilterListCtrl
* _result
;
10769 wxGenericDirCtrl
* _arg0
;
10770 PyObject
* _argo0
= 0;
10771 char *_kwnames
[] = { "self", NULL
};
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
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_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) return NULL
;
10791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10792 _resultobj
= Py_BuildValue("s",_ptemp
);
10794 Py_INCREF(Py_None
);
10795 _resultobj
= Py_None
;
10800 #define wxGenericDirCtrl_ReCreateTree(_swigobj) (_swigobj->ReCreateTree())
10801 static PyObject
*_wrap_wxGenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
* _resultobj
;
10803 wxGenericDirCtrl
* _arg0
;
10804 PyObject
* _argo0
= 0;
10805 char *_kwnames
[] = { "self", NULL
};
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_ReCreateTree",_kwnames
,&_argo0
))
10811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ReCreateTree. Expected _wxGenericDirCtrl_p.");
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 wxGenericDirCtrl_ReCreateTree(_arg0
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) return NULL
;
10823 } Py_INCREF(Py_None
);
10824 _resultobj
= Py_None
;
10828 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10829 wxDirFilterListCtrl
*src
;
10831 src
= (wxDirFilterListCtrl
*) ptr
;
10832 dest
= (wxChoice
*) src
;
10833 return (void *) dest
;
10836 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10837 wxDirFilterListCtrl
*src
;
10838 wxControlWithItems
*dest
;
10839 src
= (wxDirFilterListCtrl
*) ptr
;
10840 dest
= (wxControlWithItems
*) src
;
10841 return (void *) dest
;
10844 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10845 wxDirFilterListCtrl
*src
;
10847 src
= (wxDirFilterListCtrl
*) ptr
;
10848 dest
= (wxControl
*) src
;
10849 return (void *) dest
;
10852 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10853 wxDirFilterListCtrl
*src
;
10855 src
= (wxDirFilterListCtrl
*) ptr
;
10856 dest
= (wxWindow
*) src
;
10857 return (void *) dest
;
10860 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10861 wxDirFilterListCtrl
*src
;
10862 wxEvtHandler
*dest
;
10863 src
= (wxDirFilterListCtrl
*) ptr
;
10864 dest
= (wxEvtHandler
*) src
;
10865 return (void *) dest
;
10868 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10869 wxDirFilterListCtrl
*src
;
10871 src
= (wxDirFilterListCtrl
*) ptr
;
10872 dest
= (wxObject
*) src
;
10873 return (void *) dest
;
10876 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10877 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
* _resultobj
;
10879 wxDirFilterListCtrl
* _result
;
10880 wxGenericDirCtrl
* _arg0
;
10881 wxWindowID _arg1
= (wxWindowID
) -1;
10882 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10883 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10884 long _arg4
= (long ) 0;
10885 PyObject
* _argo0
= 0;
10887 PyObject
* _obj2
= 0;
10889 PyObject
* _obj3
= 0;
10890 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10906 if (! wxPoint_helper(_obj2
, &_arg2
))
10912 if (! wxSize_helper(_obj3
, &_arg3
))
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) return NULL
;
10922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10923 _resultobj
= Py_BuildValue("s",_ptemp
);
10925 Py_INCREF(Py_None
);
10926 _resultobj
= Py_None
;
10931 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10932 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
* _resultobj
;
10934 wxDirFilterListCtrl
* _result
;
10935 char *_kwnames
[] = { NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) return NULL
;
10948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10949 _resultobj
= Py_BuildValue("s",_ptemp
);
10951 Py_INCREF(Py_None
);
10952 _resultobj
= Py_None
;
10957 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10958 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
* _resultobj
;
10961 wxDirFilterListCtrl
* _arg0
;
10962 wxGenericDirCtrl
* _arg1
;
10963 wxWindowID _arg2
= (wxWindowID
) -1;
10964 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10965 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10966 long _arg5
= (long ) 0;
10967 PyObject
* _argo0
= 0;
10968 PyObject
* _argo1
= 0;
10970 PyObject
* _obj3
= 0;
10972 PyObject
* _obj4
= 0;
10973 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10995 if (! wxPoint_helper(_obj3
, &_arg3
))
11001 if (! wxSize_helper(_obj4
, &_arg4
))
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) return NULL
;
11010 } _resultobj
= Py_BuildValue("i",_result
);
11014 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
11015 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
* _resultobj
;
11017 wxDirFilterListCtrl
* _arg0
;
11020 PyObject
* _argo0
= 0;
11021 PyObject
* _obj1
= 0;
11022 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
11028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
11030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
11035 _arg1
= wxString_in_helper(_obj1
);
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) return NULL
;
11045 } Py_INCREF(Py_None
);
11046 _resultobj
= Py_None
;
11054 #define new_wxFileIconsTable() (new wxFileIconsTable())
11055 static PyObject
*_wrap_new_wxFileIconsTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
* _resultobj
;
11057 wxFileIconsTable
* _result
;
11058 char *_kwnames
[] = { NULL
};
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileIconsTable",_kwnames
))
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 _result
= (wxFileIconsTable
*)new_wxFileIconsTable();
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) return NULL
;
11071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileIconsTable_p");
11072 _resultobj
= Py_BuildValue("s",_ptemp
);
11074 Py_INCREF(Py_None
);
11075 _resultobj
= Py_None
;
11080 #define delete_wxFileIconsTable(_swigobj) (delete _swigobj)
11081 static PyObject
*_wrap_delete_wxFileIconsTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
* _resultobj
;
11083 wxFileIconsTable
* _arg0
;
11084 PyObject
* _argo0
= 0;
11085 char *_kwnames
[] = { "self", NULL
};
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileIconsTable",_kwnames
,&_argo0
))
11091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileIconsTable_p")) {
11093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileIconsTable. Expected _wxFileIconsTable_p.");
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 delete_wxFileIconsTable(_arg0
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) return NULL
;
11103 } Py_INCREF(Py_None
);
11104 _resultobj
= Py_None
;
11108 #define wxFileIconsTable_GetIconID(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetIconID(_swigarg0,_swigarg1))
11109 static PyObject
*_wrap_wxFileIconsTable_GetIconID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
* _resultobj
;
11112 wxFileIconsTable
* _arg0
;
11114 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
11115 PyObject
* _argo0
= 0;
11116 PyObject
* _obj1
= 0;
11117 PyObject
* _obj2
= 0;
11118 char *_kwnames
[] = { "self","extension","mime", NULL
};
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileIconsTable_GetIconID",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileIconsTable_p")) {
11126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileIconsTable_GetIconID. Expected _wxFileIconsTable_p.");
11131 _arg1
= wxString_in_helper(_obj1
);
11137 _arg2
= wxString_in_helper(_obj2
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 _result
= (int )wxFileIconsTable_GetIconID(_arg0
,*_arg1
,*_arg2
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) return NULL
;
11147 } _resultobj
= Py_BuildValue("i",_result
);
11159 #define wxFileIconsTable_GetSmallImageList(_swigobj) (_swigobj->GetSmallImageList())
11160 static PyObject
*_wrap_wxFileIconsTable_GetSmallImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
* _resultobj
;
11162 wxImageList
* _result
;
11163 wxFileIconsTable
* _arg0
;
11164 PyObject
* _argo0
= 0;
11165 char *_kwnames
[] = { "self", NULL
};
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileIconsTable_GetSmallImageList",_kwnames
,&_argo0
))
11171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileIconsTable_p")) {
11173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileIconsTable_GetSmallImageList. Expected _wxFileIconsTable_p.");
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 _result
= (wxImageList
*)wxFileIconsTable_GetSmallImageList(_arg0
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) return NULL
;
11183 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11187 static PyMethodDef controls2cMethods
[] = {
11188 { "wxFileIconsTable_GetSmallImageList", (PyCFunction
) _wrap_wxFileIconsTable_GetSmallImageList
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxFileIconsTable_GetIconID", (PyCFunction
) _wrap_wxFileIconsTable_GetIconID
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "delete_wxFileIconsTable", (PyCFunction
) _wrap_delete_wxFileIconsTable
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "new_wxFileIconsTable", (PyCFunction
) _wrap_new_wxFileIconsTable
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxGenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_wxGenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxTreeCtrl_GetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxTreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxTreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxTreeEvent_SetEditCanceled", (PyCFunction
) _wrap_wxTreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxTreeEvent_IsEditCancelled", (PyCFunction
) _wrap_wxTreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxTreeEvent_SetLabel", (PyCFunction
) _wrap_wxTreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxTreeEvent_SetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxTreeEvent_GetKeyCode", (PyCFunction
) _wrap_wxTreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxTreeEvent_SetPoint", (PyCFunction
) _wrap_wxTreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxTreeEvent_SetOldItem", (PyCFunction
) _wrap_wxTreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxTreeEvent_SetItem", (PyCFunction
) _wrap_wxTreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxListCtrl_GetMainWindow", (PyCFunction
) _wrap_wxListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxListEvent_GetKeyCode", (PyCFunction
) _wrap_wxListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11500 * This table is used by the pointer type-checker
11502 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11503 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11504 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11505 { "_signed_long","_long",0},
11506 { "_wxPrintQuality","_wxCoord",0},
11507 { "_wxPrintQuality","_int",0},
11508 { "_wxPrintQuality","_signed_int",0},
11509 { "_wxPrintQuality","_unsigned_int",0},
11510 { "_wxPrintQuality","_wxWindowID",0},
11511 { "_wxPrintQuality","_uint",0},
11512 { "_wxPrintQuality","_EBool",0},
11513 { "_wxPrintQuality","_size_t",0},
11514 { "_wxPrintQuality","_time_t",0},
11515 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11516 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11517 { "_byte","_unsigned_char",0},
11518 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11519 { "_long","_unsigned_long",0},
11520 { "_long","_signed_long",0},
11521 { "_size_t","_wxCoord",0},
11522 { "_size_t","_wxPrintQuality",0},
11523 { "_size_t","_time_t",0},
11524 { "_size_t","_unsigned_int",0},
11525 { "_size_t","_int",0},
11526 { "_size_t","_wxWindowID",0},
11527 { "_size_t","_uint",0},
11528 { "_uint","_wxCoord",0},
11529 { "_uint","_wxPrintQuality",0},
11530 { "_uint","_time_t",0},
11531 { "_uint","_size_t",0},
11532 { "_uint","_unsigned_int",0},
11533 { "_uint","_int",0},
11534 { "_uint","_wxWindowID",0},
11535 { "_wxChar","_char",0},
11536 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11537 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11538 { "_char","_wxChar",0},
11539 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11540 { "_EBool","_wxCoord",0},
11541 { "_EBool","_wxPrintQuality",0},
11542 { "_EBool","_signed_int",0},
11543 { "_EBool","_int",0},
11544 { "_EBool","_wxWindowID",0},
11545 { "_unsigned_long","_long",0},
11546 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11547 { "_signed_int","_wxCoord",0},
11548 { "_signed_int","_wxPrintQuality",0},
11549 { "_signed_int","_EBool",0},
11550 { "_signed_int","_wxWindowID",0},
11551 { "_signed_int","_int",0},
11552 { "_WXTYPE","_short",0},
11553 { "_WXTYPE","_signed_short",0},
11554 { "_WXTYPE","_unsigned_short",0},
11555 { "_unsigned_short","_WXTYPE",0},
11556 { "_unsigned_short","_short",0},
11557 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11558 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11559 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11560 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11561 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11562 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11563 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11564 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11565 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11566 { "_signed_short","_WXTYPE",0},
11567 { "_signed_short","_short",0},
11568 { "_unsigned_char","_byte",0},
11569 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11570 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11571 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11572 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11573 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11574 { "_unsigned_int","_wxCoord",0},
11575 { "_unsigned_int","_wxPrintQuality",0},
11576 { "_unsigned_int","_time_t",0},
11577 { "_unsigned_int","_size_t",0},
11578 { "_unsigned_int","_uint",0},
11579 { "_unsigned_int","_wxWindowID",0},
11580 { "_unsigned_int","_int",0},
11581 { "_short","_WXTYPE",0},
11582 { "_short","_unsigned_short",0},
11583 { "_short","_signed_short",0},
11584 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11585 { "_wxWindowID","_wxCoord",0},
11586 { "_wxWindowID","_wxPrintQuality",0},
11587 { "_wxWindowID","_time_t",0},
11588 { "_wxWindowID","_size_t",0},
11589 { "_wxWindowID","_EBool",0},
11590 { "_wxWindowID","_uint",0},
11591 { "_wxWindowID","_int",0},
11592 { "_wxWindowID","_signed_int",0},
11593 { "_wxWindowID","_unsigned_int",0},
11594 { "_int","_wxCoord",0},
11595 { "_int","_wxPrintQuality",0},
11596 { "_int","_time_t",0},
11597 { "_int","_size_t",0},
11598 { "_int","_EBool",0},
11599 { "_int","_uint",0},
11600 { "_int","_wxWindowID",0},
11601 { "_int","_unsigned_int",0},
11602 { "_int","_signed_int",0},
11603 { "_time_t","_wxCoord",0},
11604 { "_time_t","_wxPrintQuality",0},
11605 { "_time_t","_unsigned_int",0},
11606 { "_time_t","_int",0},
11607 { "_time_t","_wxWindowID",0},
11608 { "_time_t","_uint",0},
11609 { "_time_t","_size_t",0},
11610 { "_wxCoord","_int",0},
11611 { "_wxCoord","_signed_int",0},
11612 { "_wxCoord","_unsigned_int",0},
11613 { "_wxCoord","_wxWindowID",0},
11614 { "_wxCoord","_uint",0},
11615 { "_wxCoord","_EBool",0},
11616 { "_wxCoord","_size_t",0},
11617 { "_wxCoord","_time_t",0},
11618 { "_wxCoord","_wxPrintQuality",0},
11619 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11620 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11621 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11622 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11623 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11624 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11625 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11626 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11627 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11628 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11629 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11632 static PyObject
*SWIG_globals
;
11636 SWIGEXPORT(void) initcontrols2c() {
11638 SWIG_globals
= SWIG_newvarlink();
11639 m
= Py_InitModule("controls2c", controls2cMethods
);
11640 d
= PyModule_GetDict(m
);
11641 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11642 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11643 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11644 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11645 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11646 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11647 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11648 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11649 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11650 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11651 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11652 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11653 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11654 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11655 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11656 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11657 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11658 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11659 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11660 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11661 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11662 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11663 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11664 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11665 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11666 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11667 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11668 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11669 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11670 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11671 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11672 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11673 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11674 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11675 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11676 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11677 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11678 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11679 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11680 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11681 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11682 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11683 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11684 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11685 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11686 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11687 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11688 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11689 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11690 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11691 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11692 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11693 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11694 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11695 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11696 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11697 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11698 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11699 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11700 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11701 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11702 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11703 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11704 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11705 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11706 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11707 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11708 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11709 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11710 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11711 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11712 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11713 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11714 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11715 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11716 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11717 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11718 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11719 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11720 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11721 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11722 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11723 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11724 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11725 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11726 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11727 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11728 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11729 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11730 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11731 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11732 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11733 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11734 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11735 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11736 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11737 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11738 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11739 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11740 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11741 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11742 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11743 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11744 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11745 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11746 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11747 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11748 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11749 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11750 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11751 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11752 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11753 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11754 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11755 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11756 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11757 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11758 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11759 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11760 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11761 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11762 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11763 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11764 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11765 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11766 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11767 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11768 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11769 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11770 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11771 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11772 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11773 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11774 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11775 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11776 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11777 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11778 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11779 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11780 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
11781 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11782 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11783 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11784 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11785 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11786 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11787 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11789 // Map renamed classes back to their common name for OOR
11790 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11791 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11792 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11793 PyDict_SetItemString(d
,"wxFileIconsTable_folder", PyInt_FromLong((long) wxFileIconsTable::folder
));
11794 PyDict_SetItemString(d
,"wxFileIconsTable_folder_open", PyInt_FromLong((long) wxFileIconsTable::folder_open
));
11795 PyDict_SetItemString(d
,"wxFileIconsTable_computer", PyInt_FromLong((long) wxFileIconsTable::computer
));
11796 PyDict_SetItemString(d
,"wxFileIconsTable_drive", PyInt_FromLong((long) wxFileIconsTable::drive
));
11797 PyDict_SetItemString(d
,"wxFileIconsTable_cdrom", PyInt_FromLong((long) wxFileIconsTable::cdrom
));
11798 PyDict_SetItemString(d
,"wxFileIconsTable_floppy", PyInt_FromLong((long) wxFileIconsTable::floppy
));
11799 PyDict_SetItemString(d
,"wxFileIconsTable_removeable", PyInt_FromLong((long) wxFileIconsTable::removeable
));
11800 PyDict_SetItemString(d
,"wxFileIconsTable_file", PyInt_FromLong((long) wxFileIconsTable::file
));
11801 PyDict_SetItemString(d
,"wxFileIconsTable_executable", PyInt_FromLong((long) wxFileIconsTable::executable
));
11804 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11805 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);