]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
docstring patch has been submitted to SF
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
44127b65
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
44127b65
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
44127b65 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
44127b65
RD
91#endif
92
44127b65
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
44127b65
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
44127b65
RD
120
121
122#ifdef __cplusplus
123}
124
125#endif
126
cc6dd355 127
44127b65
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
44127b65
RD
138#include "Python.h"
139
a41e16b6
RD
140#include <limits.h>
141#include <float.h>
142
143#ifdef __cplusplus
144#define SWIG_STATIC_INLINE static inline
145#else
146#define SWIG_STATIC_INLINE static
147#endif
148
149SWIG_STATIC_INLINE long
150SPyObj_AsLong(PyObject * obj)
151{
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153}
154
155SWIG_STATIC_INLINE unsigned long
156SPyObj_AsUnsignedLong(PyObject * obj)
157{
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167}
168
169#if !defined(_MSC_VER)
170SWIG_STATIC_INLINE PyObject*
171SPyObj_FromLongLong(long long value)
172{
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175}
176#endif
177
178SWIG_STATIC_INLINE PyObject*
179SPyObj_FromUnsignedLong(unsigned long value)
180{
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183}
184
185#if !defined(_MSC_VER)
186SWIG_STATIC_INLINE PyObject*
187SPyObj_FromUnsignedLongLong(unsigned long long value)
188{
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191}
192#endif
193
194SWIG_STATIC_INLINE long
195SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196{
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206}
207
208SWIG_STATIC_INLINE unsigned long
209SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210{
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218}
219
220SWIG_STATIC_INLINE signed char
221SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223}
224
225SWIG_STATIC_INLINE short
226SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228}
229
230SWIG_STATIC_INLINE int
231SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233}
234
235SWIG_STATIC_INLINE unsigned char
236SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238}
239
240SWIG_STATIC_INLINE unsigned short
241SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243}
244
245SWIG_STATIC_INLINE unsigned int
246SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248}
249
250#if !defined(_MSC_VER)
251SWIG_STATIC_INLINE long long
252SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255}
256
257SWIG_STATIC_INLINE unsigned long long
258SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261}
262#endif
263
264SWIG_STATIC_INLINE double
265SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268}
269
270SWIG_STATIC_INLINE float
271SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281}
282
283SWIG_STATIC_INLINE char
284SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293}
294
295SWIG_STATIC_INLINE PyObject *
296SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298}
299
300SWIG_STATIC_INLINE PyObject *
301SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303}
304
305SWIG_STATIC_INLINE int
306SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308}
309
310
311
44127b65
RD
312#ifdef __cplusplus
313extern "C" {
314#endif
315
316#define SWIG_PY_INT 1
317#define SWIG_PY_FLOAT 2
318#define SWIG_PY_STRING 3
319#define SWIG_PY_POINTER 4
320#define SWIG_PY_BINARY 5
321
322/* Flags for pointer conversion */
323
324#define SWIG_POINTER_EXCEPTION 0x1
325#define SWIG_POINTER_DISOWN 0x2
326
327/* Exception handling in wrappers */
328#define SWIG_fail goto fail
329
330/* Constant information structure */
331typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338} swig_const_info;
339
44127b65
RD
340/* Common SWIG API */
341#define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343#define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345#define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 347
44127b65
RD
348/* Python-specific SWIG API */
349#define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351#define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
355#define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357#define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
cc6dd355
RD
361SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 369
44127b65
RD
370
371
372/* Contract support */
373
374#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
44127b65
RD
376#ifdef __cplusplus
377}
378#endif
379
380
381
382/* -------- TYPES TABLE (BEGIN) -------- */
383
384#define SWIGTYPE_p_wxEditableListBox swig_types[0]
385#define SWIGTYPE_p_wxObject swig_types[1]
386#define SWIGTYPE_p_wxColour swig_types[2]
387#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
388#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[4]
389#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[5]
390#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[6]
391#define SWIGTYPE_p_wxImageList swig_types[7]
392#define SWIGTYPE_p_wxScrollBar swig_types[8]
393#define SWIGTYPE_p_wxDynamicSashWindow swig_types[9]
394#define SWIGTYPE_p_wxScrolledWindow swig_types[10]
395#define SWIGTYPE_p_wxSplitterWindow swig_types[11]
396#define SWIGTYPE_p_wxWindow swig_types[12]
397#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[13]
398#define SWIGTYPE_p_wxThinSplitterWindow swig_types[14]
399#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[15]
400#define SWIGTYPE_p_wxValidator swig_types[16]
401#define SWIGTYPE_p_wxCommandEvent swig_types[17]
402#define SWIGTYPE_p_wxArrayString swig_types[18]
403#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[19]
404#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[20]
405#define SWIGTYPE_p_wxTreeItemId swig_types[21]
406#define SWIGTYPE_p_wxString swig_types[22]
407#define SWIGTYPE_p_wxEvtHandler swig_types[23]
408#define SWIGTYPE_p_wxFont swig_types[24]
409#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[25]
410#define SWIGTYPE_p_wxControl swig_types[26]
411#define SWIGTYPE_p_wxPanel swig_types[27]
412#define SWIGTYPE_p_wxPyTreeItemData swig_types[28]
413#define SWIGTYPE_p_wxEvent swig_types[29]
414#define SWIGTYPE_p_int swig_types[30]
415static swig_type_info *swig_types[32];
416
417/* -------- TYPES TABLE (END) -------- */
418
419
420/*-----------------------------------------------
421 @(target):= _gizmos.so
422 ------------------------------------------------*/
423#define SWIG_init init_gizmos
424
425#define SWIG_name "_gizmos"
426
427#include "wx/wxPython/wxPython.h"
428#include "wx/wxPython/pyclasses.h"
429
430#include <wx/gizmos/dynamicsash.h>
431#include <wx/gizmos/editlbox.h>
432#include <wx/gizmos/splittree.h>
433#include <wx/gizmos/ledctrl.h>
434
435#include <wx/listctrl.h>
436#include <wx/treectrl.h>
437#include <wx/imaglist.h>
438
439#include "treelistctrl.h"
440#include "wx/wxPython/pytree.h"
441
44127b65 442
b2dc1044
RD
443 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
444 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
445 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
446 static const wxString wxPyEmptyString(wxEmptyString);
44127b65
RD
447PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
448 wxArrayString strings;
449 self->GetStrings(strings);
450 return wxArrayString2PyList_helper(strings);
451 }
452
453 typedef wxTreeCtrl wxPyTreeCtrl;
454
455
456class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
457{
458public:
459 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
460 const wxPoint& pos = wxDefaultPosition,
461 const wxSize& size = wxDefaultSize,
462 long style = 0)
463 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
464
465
466 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
467 bool found;
468 wxPyBeginBlockThreads();
469 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
470 PyObject* dcobj = wxPyMake_wxObject(&dc);
471 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), False);
472 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), False);
473 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
474 Py_DECREF(dcobj);
475 Py_DECREF(idobj);
476 Py_DECREF(recobj);
477 }
478 wxPyEndBlockThreads();
479 if (! found)
480 wxTreeCompanionWindow::DrawItem(dc, id, rect);
481 }
482
483 PYPRIVATE;
484};
485
486 // C++ version of Python aware control
487class wxPyTreeListCtrl : public wxTreeListCtrl {
488 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
489public:
490 wxPyTreeListCtrl() : wxTreeListCtrl() {}
491 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
492 const wxPoint& pos,
493 const wxSize& size,
494 long style,
495 const wxValidator &validator,
496 const wxString& name) :
497 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
498
499 int OnCompareItems(const wxTreeItemId& item1,
500 const wxTreeItemId& item2) {
501 int rval = 0;
502 bool found;
503 wxPyBeginBlockThreads();
504 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
505 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
506 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
507 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
508 Py_DECREF(o1);
509 Py_DECREF(o2);
510 }
511 wxPyEndBlockThreads();
512 if (! found)
513 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
514 return rval;
515 }
516 PYPRIVATE;
517};
518
519IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
520
521
522wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column){
523 if (column < 0) column = self->GetMainColumn();
524 return self->GetItemText(item, column);
525 }
526int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column,wxTreeItemIcon which){
527 if (column < 0) column = self->GetMainColumn();
528 return self->GetItemImage(item, column, which);
529 }
530void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column){
531 if (column < 0) column = self->GetMainColumn();
532 self->SetItemText(item, column, text);
533 }
534void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column,wxTreeItemIcon which){
535 if (column < 0) column = self->GetMainColumn();
536 self->SetItemImage(item, column, image, which);
537 }
538wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
539 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
540 if (data == NULL) {
541 data = new wxPyTreeItemData();
542 data->SetId(item); // set the id
543 self->SetItemData(item, data);
544 }
545 return data;
546 }
547void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
548 data->SetId(item); // set the id
549 self->SetItemData(item, data);
550 }
551PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
552 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
553 if (data == NULL) {
554 data = new wxPyTreeItemData();
555 data->SetId(item); // set the id
556 self->SetItemData(item, data);
557 }
558 return data->GetData();
559 }
560void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
561 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
562 if (data == NULL) {
563 data = new wxPyTreeItemData(obj);
564 data->SetId(item); // set the id
565 self->SetItemData(item, data);
566 } else
567 data->SetData(obj);
568 }
569PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
570 wxPyBeginBlockThreads();
571 PyObject* rval = PyList_New(0);
572 wxArrayTreeItemIds array;
573 size_t num, x;
574 num = self->GetSelections(array);
575 for (x=0; x < num; x++) {
576 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
577 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
578 PyList_Append(rval, item);
579 }
580 wxPyEndBlockThreads();
581 return rval;
582 }
583PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
584 long cookie = 0;
585 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
586 wxPyBeginBlockThreads();
587 PyObject* tup = PyTuple_New(2);
588 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
589 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
590 wxPyEndBlockThreads();
591 return tup;
592 }
593PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,long cookie){
594 wxTreeItemId ritem = self->GetNextChild(item, cookie);
595 wxPyBeginBlockThreads();
596 PyObject* tup = PyTuple_New(2);
597 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
598 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
599 wxPyEndBlockThreads();
600 return tup;
601 }
602
603static PyObject* t_output_helper(PyObject* target, PyObject* o) {
604 PyObject* o2;
605 PyObject* o3;
606
607 if (!target) {
608 target = o;
609 } else if (target == Py_None) {
610 Py_DECREF(Py_None);
611 target = o;
612 } else {
613 if (!PyTuple_Check(target)) {
614 o2 = target;
615 target = PyTuple_New(1);
616 PyTuple_SetItem(target, 0, o2);
617 }
618 o3 = PyTuple_New(1);
619 PyTuple_SetItem(o3, 0, o);
620
621 o2 = target;
622 target = PySequence_Concat(o2, o3);
623 Py_DECREF(o2);
624 Py_DECREF(o3);
625 }
626 return target;
627}
628
629PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly){
630 wxRect rect;
631 if (self->GetBoundingRect(item, rect, textOnly)) {
632 wxPyBeginBlockThreads();
633 wxRect* r = new wxRect(rect);
634 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
635 wxPyEndBlockThreads();
636 return val;
637 }
638 else {
639 RETURN_NONE();
640 }
641 }
642#ifdef __cplusplus
643extern "C" {
644#endif
b2dc1044
RD
645static int _wrap_DynamicSashNameStr_set(PyObject *_val) {
646 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
647 return 1;
648}
649
650
651static PyObject *_wrap_DynamicSashNameStr_get() {
652 PyObject *pyobj;
653
654 {
655#if wxUSE_UNICODE
656 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
657#else
658 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
659#endif
660 }
661 return pyobj;
662}
663
664
665static int _wrap_EditableListBoxNameStr_set(PyObject *_val) {
666 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
667 return 1;
668}
669
670
671static PyObject *_wrap_EditableListBoxNameStr_get() {
672 PyObject *pyobj;
673
674 {
675#if wxUSE_UNICODE
676 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
677#else
678 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
679#endif
680 }
681 return pyobj;
682}
683
684
685static int _wrap_TreeListCtrlNameStr_set(PyObject *_val) {
686 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
687 return 1;
688}
689
690
691static PyObject *_wrap_TreeListCtrlNameStr_get() {
692 PyObject *pyobj;
693
694 {
695#if wxUSE_UNICODE
696 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
697#else
698 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
699#endif
700 }
701 return pyobj;
702}
703
704
44127b65
RD
705static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
706 PyObject *resultobj;
707 wxObject *arg1 = (wxObject *) 0 ;
708 wxDynamicSashSplitEvent *result;
709 PyObject * obj0 = 0 ;
710 char *kwnames[] = {
711 (char *) "target", NULL
712 };
713
714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
716 {
717 PyThreadState* __tstate = wxPyBeginAllowThreads();
718 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
719
720 wxPyEndAllowThreads(__tstate);
721 if (PyErr_Occurred()) SWIG_fail;
722 }
723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
724 return resultobj;
725 fail:
726 return NULL;
727}
728
729
730static PyObject * DynamicSashSplitEvent_swigregister(PyObject *self, PyObject *args) {
731 PyObject *obj;
732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
733 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
734 Py_INCREF(obj);
735 return Py_BuildValue((char *)"");
736}
737static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject *resultobj;
739 wxObject *arg1 = (wxObject *) 0 ;
740 wxDynamicSashUnifyEvent *result;
741 PyObject * obj0 = 0 ;
742 char *kwnames[] = {
743 (char *) "target", NULL
744 };
745
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
748 {
749 PyThreadState* __tstate = wxPyBeginAllowThreads();
750 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
751
752 wxPyEndAllowThreads(__tstate);
753 if (PyErr_Occurred()) SWIG_fail;
754 }
755 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
756 return resultobj;
757 fail:
758 return NULL;
759}
760
761
762static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *self, PyObject *args) {
763 PyObject *obj;
764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
765 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
766 Py_INCREF(obj);
767 return Py_BuildValue((char *)"");
768}
769static PyObject *_wrap_new_DynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
770 PyObject *resultobj;
771 wxWindow *arg1 = (wxWindow *) 0 ;
772 int arg2 ;
773 wxPoint const &arg3_defvalue = wxDefaultPosition ;
774 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
775 wxSize const &arg4_defvalue = wxDefaultSize ;
776 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
777 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
778 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
779 wxString *arg6 = (wxString *) &arg6_defvalue ;
780 wxDynamicSashWindow *result;
781 wxPoint temp3 ;
782 wxSize temp4 ;
783 bool temp6 = False ;
784 PyObject * obj0 = 0 ;
785 PyObject * obj2 = 0 ;
786 PyObject * obj3 = 0 ;
787 PyObject * obj5 = 0 ;
788 char *kwnames[] = {
789 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
790 };
791
792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_DynamicSashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
794 if (obj2) {
795 {
796 arg3 = &temp3;
797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
798 }
799 }
800 if (obj3) {
801 {
802 arg4 = &temp4;
803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
804 }
805 }
806 if (obj5) {
807 {
808 arg6 = wxString_in_helper(obj5);
809 if (arg6 == NULL) SWIG_fail;
810 temp6 = True;
811 }
812 }
813 {
814 PyThreadState* __tstate = wxPyBeginAllowThreads();
815 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
816
817 wxPyEndAllowThreads(__tstate);
818 if (PyErr_Occurred()) SWIG_fail;
819 }
820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashWindow, 1);
821 {
822 if (temp6)
823 delete arg6;
824 }
825 return resultobj;
826 fail:
827 {
828 if (temp6)
829 delete arg6;
830 }
831 return NULL;
832}
833
834
835static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject *resultobj;
837 wxDynamicSashWindow *result;
838 char *kwnames[] = {
839 NULL
840 };
841
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
843 {
844 PyThreadState* __tstate = wxPyBeginAllowThreads();
845 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
846
847 wxPyEndAllowThreads(__tstate);
848 if (PyErr_Occurred()) SWIG_fail;
849 }
850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashWindow, 1);
851 return resultobj;
852 fail:
853 return NULL;
854}
855
856
857static PyObject *_wrap_DynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
858 PyObject *resultobj;
859 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
860 wxWindow *arg2 = (wxWindow *) 0 ;
861 int arg3 ;
862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
864 wxSize const &arg5_defvalue = wxDefaultSize ;
865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
866 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
867 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
868 wxString *arg7 = (wxString *) &arg7_defvalue ;
869 bool result;
870 wxPoint temp4 ;
871 wxSize temp5 ;
872 bool temp7 = False ;
873 PyObject * obj0 = 0 ;
874 PyObject * obj1 = 0 ;
875 PyObject * obj3 = 0 ;
876 PyObject * obj4 = 0 ;
877 PyObject * obj6 = 0 ;
878 char *kwnames[] = {
879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
880 };
881
882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
885 if (obj3) {
886 {
887 arg4 = &temp4;
888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
889 }
890 }
891 if (obj4) {
892 {
893 arg5 = &temp5;
894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
895 }
896 }
897 if (obj6) {
898 {
899 arg7 = wxString_in_helper(obj6);
900 if (arg7 == NULL) SWIG_fail;
901 temp7 = True;
902 }
903 }
904 {
905 PyThreadState* __tstate = wxPyBeginAllowThreads();
906 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
907
908 wxPyEndAllowThreads(__tstate);
909 if (PyErr_Occurred()) SWIG_fail;
910 }
911 resultobj = PyInt_FromLong((long)result);
912 {
913 if (temp7)
914 delete arg7;
915 }
916 return resultobj;
917 fail:
918 {
919 if (temp7)
920 delete arg7;
921 }
922 return NULL;
923}
924
925
926static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject *resultobj;
928 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
929 wxWindow *arg2 = (wxWindow *) 0 ;
930 wxScrollBar *result;
931 PyObject * obj0 = 0 ;
932 PyObject * obj1 = 0 ;
933 char *kwnames[] = {
934 (char *) "self",(char *) "child", NULL
935 };
936
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
940 {
941 PyThreadState* __tstate = wxPyBeginAllowThreads();
942 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
943
944 wxPyEndAllowThreads(__tstate);
945 if (PyErr_Occurred()) SWIG_fail;
946 }
947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 0);
948 return resultobj;
949 fail:
950 return NULL;
951}
952
953
954static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
955 PyObject *resultobj;
956 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
957 wxWindow *arg2 = (wxWindow *) 0 ;
958 wxScrollBar *result;
959 PyObject * obj0 = 0 ;
960 PyObject * obj1 = 0 ;
961 char *kwnames[] = {
962 (char *) "self",(char *) "child", NULL
963 };
964
965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
968 {
969 PyThreadState* __tstate = wxPyBeginAllowThreads();
970 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
971
972 wxPyEndAllowThreads(__tstate);
973 if (PyErr_Occurred()) SWIG_fail;
974 }
975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 0);
976 return resultobj;
977 fail:
978 return NULL;
979}
980
981
982static PyObject * DynamicSashWindow_swigregister(PyObject *self, PyObject *args) {
983 PyObject *obj;
984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
985 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
986 Py_INCREF(obj);
987 return Py_BuildValue((char *)"");
988}
989static PyObject *_wrap_new_EditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
990 PyObject *resultobj;
991 wxWindow *arg1 = (wxWindow *) 0 ;
992 int arg2 ;
993 wxString *arg3 = 0 ;
994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
996 wxSize const &arg5_defvalue = wxDefaultSize ;
997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
998 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
999 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
1000 wxString *arg7 = (wxString *) &arg7_defvalue ;
1001 wxEditableListBox *result;
1002 bool temp3 = False ;
1003 wxPoint temp4 ;
1004 wxSize temp5 ;
1005 bool temp7 = False ;
1006 PyObject * obj0 = 0 ;
1007 PyObject * obj2 = 0 ;
1008 PyObject * obj3 = 0 ;
1009 PyObject * obj4 = 0 ;
1010 PyObject * obj6 = 0 ;
1011 char *kwnames[] = {
1012 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1013 };
1014
1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_EditableListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
1016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1017 {
1018 arg3 = wxString_in_helper(obj2);
1019 if (arg3 == NULL) SWIG_fail;
1020 temp3 = True;
1021 }
1022 if (obj3) {
1023 {
1024 arg4 = &temp4;
1025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1026 }
1027 }
1028 if (obj4) {
1029 {
1030 arg5 = &temp5;
1031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1032 }
1033 }
1034 if (obj6) {
1035 {
1036 arg7 = wxString_in_helper(obj6);
1037 if (arg7 == NULL) SWIG_fail;
1038 temp7 = True;
1039 }
1040 }
1041 {
1042 PyThreadState* __tstate = wxPyBeginAllowThreads();
1043 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1044
1045 wxPyEndAllowThreads(__tstate);
1046 if (PyErr_Occurred()) SWIG_fail;
1047 }
1048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEditableListBox, 1);
1049 {
1050 if (temp3)
1051 delete arg3;
1052 }
1053 {
1054 if (temp7)
1055 delete arg7;
1056 }
1057 return resultobj;
1058 fail:
1059 {
1060 if (temp3)
1061 delete arg3;
1062 }
1063 {
1064 if (temp7)
1065 delete arg7;
1066 }
1067 return NULL;
1068}
1069
1070
1071static PyObject *_wrap_EditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1074 wxArrayString *arg2 = 0 ;
1075 PyObject * obj0 = 0 ;
1076 PyObject * obj1 = 0 ;
1077 char *kwnames[] = {
1078 (char *) "self",(char *) "strings", NULL
1079 };
1080
1081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
1082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1083 {
1084 if (! PySequence_Check(obj1)) {
1085 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
1086 SWIG_fail;
1087 }
1088 arg2 = new wxArrayString;
1089 int i, len=PySequence_Length(obj1);
1090 for (i=0; i<len; i++) {
1091 PyObject* item = PySequence_GetItem(obj1, i);
1092#if wxUSE_UNICODE
1093 PyObject* str = PyObject_Unicode(item);
1094#else
1095 PyObject* str = PyObject_Str(item);
1096#endif
1097 arg2->Add(Py2wxString(str));
1098 Py_DECREF(item);
1099 Py_DECREF(str);
1100 }
1101 }
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 (arg1)->SetStrings((wxArrayString const &)*arg2);
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) SWIG_fail;
1108 }
1109 Py_INCREF(Py_None); resultobj = Py_None;
1110 {
1111 if (arg2) delete arg2;
1112 }
1113 return resultobj;
1114 fail:
1115 {
1116 if (arg2) delete arg2;
1117 }
1118 return NULL;
1119}
1120
1121
1122static PyObject *_wrap_EditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
1123 PyObject *resultobj;
1124 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1125 PyObject *result;
1126 PyObject * obj0 = 0 ;
1127 char *kwnames[] = {
1128 (char *) "self", NULL
1129 };
1130
1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
1132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1133 {
1134 PyThreadState* __tstate = wxPyBeginAllowThreads();
1135 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
1136
1137 wxPyEndAllowThreads(__tstate);
1138 if (PyErr_Occurred()) SWIG_fail;
1139 }
1140 resultobj = result;
1141 return resultobj;
1142 fail:
1143 return NULL;
1144}
1145
1146
1147static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject *resultobj;
1149 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1150 wxListCtrl *result;
1151 PyObject * obj0 = 0 ;
1152 char *kwnames[] = {
1153 (char *) "self", NULL
1154 };
1155
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
1157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1158 {
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = (wxListCtrl *)(arg1)->GetListCtrl();
1161
1162 wxPyEndAllowThreads(__tstate);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 }
1165 {
1166 resultobj = wxPyMake_wxObject(result);
1167 }
1168 return resultobj;
1169 fail:
1170 return NULL;
1171}
1172
1173
1174static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1175 PyObject *resultobj;
1176 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1177 wxBitmapButton *result;
1178 PyObject * obj0 = 0 ;
1179 char *kwnames[] = {
1180 (char *) "self", NULL
1181 };
1182
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
1184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 result = (wxBitmapButton *)(arg1)->GetDelButton();
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 {
1193 resultobj = wxPyMake_wxObject(result);
1194 }
1195 return resultobj;
1196 fail:
1197 return NULL;
1198}
1199
1200
1201static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1204 wxBitmapButton *result;
1205 PyObject * obj0 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1212 {
1213 PyThreadState* __tstate = wxPyBeginAllowThreads();
1214 result = (wxBitmapButton *)(arg1)->GetNewButton();
1215
1216 wxPyEndAllowThreads(__tstate);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 {
1220 resultobj = wxPyMake_wxObject(result);
1221 }
1222 return resultobj;
1223 fail:
1224 return NULL;
1225}
1226
1227
1228static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1229 PyObject *resultobj;
1230 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1231 wxBitmapButton *result;
1232 PyObject * obj0 = 0 ;
1233 char *kwnames[] = {
1234 (char *) "self", NULL
1235 };
1236
1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
1238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1239 {
1240 PyThreadState* __tstate = wxPyBeginAllowThreads();
1241 result = (wxBitmapButton *)(arg1)->GetUpButton();
1242
1243 wxPyEndAllowThreads(__tstate);
1244 if (PyErr_Occurred()) SWIG_fail;
1245 }
1246 {
1247 resultobj = wxPyMake_wxObject(result);
1248 }
1249 return resultobj;
1250 fail:
1251 return NULL;
1252}
1253
1254
1255static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1256 PyObject *resultobj;
1257 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1258 wxBitmapButton *result;
1259 PyObject * obj0 = 0 ;
1260 char *kwnames[] = {
1261 (char *) "self", NULL
1262 };
1263
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
1265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1266 {
1267 PyThreadState* __tstate = wxPyBeginAllowThreads();
1268 result = (wxBitmapButton *)(arg1)->GetDownButton();
1269
1270 wxPyEndAllowThreads(__tstate);
1271 if (PyErr_Occurred()) SWIG_fail;
1272 }
1273 {
1274 resultobj = wxPyMake_wxObject(result);
1275 }
1276 return resultobj;
1277 fail:
1278 return NULL;
1279}
1280
1281
1282static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1283 PyObject *resultobj;
1284 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
1285 wxBitmapButton *result;
1286 PyObject * obj0 = 0 ;
1287 char *kwnames[] = {
1288 (char *) "self", NULL
1289 };
1290
1291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
1292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1293 {
1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
1295 result = (wxBitmapButton *)(arg1)->GetEditButton();
1296
1297 wxPyEndAllowThreads(__tstate);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 {
1301 resultobj = wxPyMake_wxObject(result);
1302 }
1303 return resultobj;
1304 fail:
1305 return NULL;
1306}
1307
1308
1309static PyObject * EditableListBox_swigregister(PyObject *self, PyObject *args) {
1310 PyObject *obj;
1311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1312 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
1313 Py_INCREF(obj);
1314 return Py_BuildValue((char *)"");
1315}
1316static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1317 PyObject *resultobj;
1318 wxWindow *arg1 = (wxWindow *) 0 ;
1319 int arg2 ;
1320 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1321 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1322 wxSize const &arg4_defvalue = wxDefaultSize ;
1323 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1324 long arg5 = (long) wxTR_HAS_BUTTONS ;
1325 wxRemotelyScrolledTreeCtrl *result;
1326 wxPoint temp3 ;
1327 wxSize temp4 ;
1328 PyObject * obj0 = 0 ;
1329 PyObject * obj2 = 0 ;
1330 PyObject * obj3 = 0 ;
1331 char *kwnames[] = {
1332 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1333 };
1334
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOl:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1337 if (obj2) {
1338 {
1339 arg3 = &temp3;
1340 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1341 }
1342 }
1343 if (obj3) {
1344 {
1345 arg4 = &temp4;
1346 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1347 }
1348 }
1349 {
1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
1351 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1352
1353 wxPyEndAllowThreads(__tstate);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
1357 return resultobj;
1358 fail:
1359 return NULL;
1360}
1361
1362
1363static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject *resultobj;
1365 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1366 PyObject * obj0 = 0 ;
1367 char *kwnames[] = {
1368 (char *) "self", NULL
1369 };
1370
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
1372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1373 {
1374 PyThreadState* __tstate = wxPyBeginAllowThreads();
1375 (arg1)->HideVScrollbar();
1376
1377 wxPyEndAllowThreads(__tstate);
1378 if (PyErr_Occurred()) SWIG_fail;
1379 }
1380 Py_INCREF(Py_None); resultobj = Py_None;
1381 return resultobj;
1382 fail:
1383 return NULL;
1384}
1385
1386
1387static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1388 PyObject *resultobj;
1389 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1390 PyObject * obj0 = 0 ;
1391 char *kwnames[] = {
1392 (char *) "self", NULL
1393 };
1394
1395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
1396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 (arg1)->AdjustRemoteScrollbars();
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 Py_INCREF(Py_None); resultobj = Py_None;
1405 return resultobj;
1406 fail:
1407 return NULL;
1408}
1409
1410
1411static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1412 PyObject *resultobj;
1413 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1414 wxScrolledWindow *result;
1415 PyObject * obj0 = 0 ;
1416 char *kwnames[] = {
1417 (char *) "self", NULL
1418 };
1419
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
1421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422 {
1423 PyThreadState* __tstate = wxPyBeginAllowThreads();
1424 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
1425
1426 wxPyEndAllowThreads(__tstate);
1427 if (PyErr_Occurred()) SWIG_fail;
1428 }
1429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 0);
1430 return resultobj;
1431 fail:
1432 return NULL;
1433}
1434
1435
1436static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject *resultobj;
1438 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1439 int arg2 ;
1440 int arg3 ;
1441 PyObject * obj0 = 0 ;
1442 char *kwnames[] = {
1443 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
1444 };
1445
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&arg2,&arg3)) goto fail;
1447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1448 {
1449 PyThreadState* __tstate = wxPyBeginAllowThreads();
1450 (arg1)->ScrollToLine(arg2,arg3);
1451
1452 wxPyEndAllowThreads(__tstate);
1453 if (PyErr_Occurred()) SWIG_fail;
1454 }
1455 Py_INCREF(Py_None); resultobj = Py_None;
1456 return resultobj;
1457 fail:
1458 return NULL;
1459}
1460
1461
1462static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1463 PyObject *resultobj;
1464 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1465 wxWindow *arg2 = (wxWindow *) 0 ;
1466 PyObject * obj0 = 0 ;
1467 PyObject * obj1 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self",(char *) "companion", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 (arg1)->SetCompanionWindow(arg2);
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 Py_INCREF(Py_None); resultobj = Py_None;
1483 return resultobj;
1484 fail:
1485 return NULL;
1486}
1487
1488
1489static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1490 PyObject *resultobj;
1491 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1492 wxWindow *result;
1493 PyObject * obj0 = 0 ;
1494 char *kwnames[] = {
1495 (char *) "self", NULL
1496 };
1497
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 {
1508 resultobj = wxPyMake_wxObject(result);
1509 }
1510 return resultobj;
1511 fail:
1512 return NULL;
1513}
1514
1515
1516static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *self, PyObject *args) {
1517 PyObject *obj;
1518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1519 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
1520 Py_INCREF(obj);
1521 return Py_BuildValue((char *)"");
1522}
1523static PyObject *_wrap_new_TreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxWindow *arg1 = (wxWindow *) 0 ;
1526 int arg2 = (int) -1 ;
1527 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1528 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1529 wxSize const &arg4_defvalue = wxDefaultSize ;
1530 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1531 long arg5 = (long) 0 ;
1532 wxPyTreeCompanionWindow *result;
1533 wxPoint temp3 ;
1534 wxSize temp4 ;
1535 PyObject * obj0 = 0 ;
1536 PyObject * obj2 = 0 ;
1537 PyObject * obj3 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_TreeCompanionWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 if (obj2) {
1545 {
1546 arg3 = &temp3;
1547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1548 }
1549 }
1550 if (obj3) {
1551 {
1552 arg4 = &temp4;
1553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1554 }
1555 }
1556 {
1557 PyThreadState* __tstate = wxPyBeginAllowThreads();
1558 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1559
1560 wxPyEndAllowThreads(__tstate);
1561 if (PyErr_Occurred()) SWIG_fail;
1562 }
1563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
1564 return resultobj;
1565 fail:
1566 return NULL;
1567}
1568
1569
1570static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1571 PyObject *resultobj;
1572 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
1573 PyObject *arg2 = (PyObject *) 0 ;
1574 PyObject *arg3 = (PyObject *) 0 ;
1575 PyObject * obj0 = 0 ;
1576 PyObject * obj1 = 0 ;
1577 PyObject * obj2 = 0 ;
1578 char *kwnames[] = {
1579 (char *) "self",(char *) "self",(char *) "_class", NULL
1580 };
1581
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1584 arg2 = obj1;
1585 arg3 = obj2;
1586 {
1587 PyThreadState* __tstate = wxPyBeginAllowThreads();
1588 (arg1)->_setCallbackInfo(arg2,arg3);
1589
1590 wxPyEndAllowThreads(__tstate);
1591 if (PyErr_Occurred()) SWIG_fail;
1592 }
1593 Py_INCREF(Py_None); resultobj = Py_None;
1594 return resultobj;
1595 fail:
1596 return NULL;
1597}
1598
1599
1600static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1601 PyObject *resultobj;
1602 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
1603 wxRemotelyScrolledTreeCtrl *result;
1604 PyObject * obj0 = 0 ;
1605 char *kwnames[] = {
1606 (char *) "self", NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
1610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1611 {
1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
1613 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
1614
1615 wxPyEndAllowThreads(__tstate);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
1619 return resultobj;
1620 fail:
1621 return NULL;
1622}
1623
1624
1625static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject *resultobj;
1627 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
1628 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
1629 PyObject * obj0 = 0 ;
1630 PyObject * obj1 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "treeCtrl", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 (arg1)->SetTreeCtrl(arg2);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 Py_INCREF(Py_None); resultobj = Py_None;
1646 return resultobj;
1647 fail:
1648 return NULL;
1649}
1650
1651
1652static PyObject * TreeCompanionWindow_swigregister(PyObject *self, PyObject *args) {
1653 PyObject *obj;
1654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1655 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
1656 Py_INCREF(obj);
1657 return Py_BuildValue((char *)"");
1658}
1659static PyObject *_wrap_new_ThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxWindow *arg1 = (wxWindow *) 0 ;
1662 int arg2 = (int) -1 ;
1663 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1664 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1665 wxSize const &arg4_defvalue = wxDefaultSize ;
1666 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1667 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
1668 wxThinSplitterWindow *result;
1669 wxPoint temp3 ;
1670 wxSize temp4 ;
1671 PyObject * obj0 = 0 ;
1672 PyObject * obj2 = 0 ;
1673 PyObject * obj3 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ThinSplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 if (obj2) {
1681 {
1682 arg3 = &temp3;
1683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1684 }
1685 }
1686 if (obj3) {
1687 {
1688 arg4 = &temp4;
1689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1690 }
1691 }
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxThinSplitterWindow, 1);
1700 return resultobj;
1701 fail:
1702 return NULL;
1703}
1704
1705
1706static PyObject * ThinSplitterWindow_swigregister(PyObject *self, PyObject *args) {
1707 PyObject *obj;
1708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1709 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
1710 Py_INCREF(obj);
1711 return Py_BuildValue((char *)"");
1712}
1713static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject *resultobj;
1715 wxWindow *arg1 = (wxWindow *) 0 ;
1716 int arg2 = (int) -1 ;
1717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1719 wxSize const &arg4_defvalue = wxDefaultSize ;
1720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1721 long arg5 = (long) 0 ;
1722 wxSplitterScrolledWindow *result;
1723 wxPoint temp3 ;
1724 wxSize temp4 ;
1725 PyObject * obj0 = 0 ;
1726 PyObject * obj2 = 0 ;
1727 PyObject * obj3 = 0 ;
1728 char *kwnames[] = {
1729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1730 };
1731
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_SplitterScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1734 if (obj2) {
1735 {
1736 arg3 = &temp3;
1737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1738 }
1739 }
1740 if (obj3) {
1741 {
1742 arg4 = &temp4;
1743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1744 }
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterScrolledWindow, 1);
1754 return resultobj;
1755 fail:
1756 return NULL;
1757}
1758
1759
1760static PyObject * SplitterScrolledWindow_swigregister(PyObject *self, PyObject *args) {
1761 PyObject *obj;
1762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1763 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
1764 Py_INCREF(obj);
1765 return Py_BuildValue((char *)"");
1766}
1767static PyObject *_wrap_new_LEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxWindow *arg1 = (wxWindow *) 0 ;
1770 int arg2 = (int) -1 ;
1771 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1772 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1773 wxSize const &arg4_defvalue = wxDefaultSize ;
1774 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1775 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
1776 wxLEDNumberCtrl *result;
1777 wxPoint temp3 ;
1778 wxSize temp4 ;
1779 PyObject * obj0 = 0 ;
1780 PyObject * obj2 = 0 ;
1781 PyObject * obj3 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_LEDNumberCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 if (obj2) {
1789 {
1790 arg3 = &temp3;
1791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1792 }
1793 }
1794 if (obj3) {
1795 {
1796 arg4 = &temp4;
1797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1798 }
1799 }
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLEDNumberCtrl, 1);
1808 return resultobj;
1809 fail:
1810 return NULL;
1811}
1812
1813
1814static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxLEDNumberCtrl *result;
1817 char *kwnames[] = {
1818 NULL
1819 };
1820
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLEDNumberCtrl, 1);
1830 return resultobj;
1831 fail:
1832 return NULL;
1833}
1834
1835
1836static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1837 PyObject *resultobj;
1838 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1839 wxWindow *arg2 = (wxWindow *) 0 ;
1840 int arg3 = (int) -1 ;
1841 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1842 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1843 wxSize const &arg5_defvalue = wxDefaultSize ;
1844 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1845 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
1846 bool result;
1847 wxPoint temp4 ;
1848 wxSize temp5 ;
1849 PyObject * obj0 = 0 ;
1850 PyObject * obj1 = 0 ;
1851 PyObject * obj3 = 0 ;
1852 PyObject * obj4 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1860 if (obj3) {
1861 {
1862 arg4 = &temp4;
1863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1864 }
1865 }
1866 if (obj4) {
1867 {
1868 arg5 = &temp5;
1869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1870 }
1871 }
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 resultobj = PyInt_FromLong((long)result);
1880 return resultobj;
1881 fail:
1882 return NULL;
1883}
1884
1885
1886static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject *resultobj;
1888 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1889 int result;
1890 PyObject * obj0 = 0 ;
1891 char *kwnames[] = {
1892 (char *) "self", NULL
1893 };
1894
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
1896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1897 {
1898 PyThreadState* __tstate = wxPyBeginAllowThreads();
1899 result = (int)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
1900
1901 wxPyEndAllowThreads(__tstate);
1902 if (PyErr_Occurred()) SWIG_fail;
1903 }
1904 resultobj = PyInt_FromLong((long)result);
1905 return resultobj;
1906 fail:
1907 return NULL;
1908}
1909
1910
1911static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1912 PyObject *resultobj;
1913 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1914 bool result;
1915 PyObject * obj0 = 0 ;
1916 char *kwnames[] = {
1917 (char *) "self", NULL
1918 };
1919
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
1921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1922 {
1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
1924 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
1925
1926 wxPyEndAllowThreads(__tstate);
1927 if (PyErr_Occurred()) SWIG_fail;
1928 }
1929 resultobj = PyInt_FromLong((long)result);
1930 return resultobj;
1931 fail:
1932 return NULL;
1933}
1934
1935
1936static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject *resultobj;
1938 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1939 wxString *result;
1940 PyObject * obj0 = 0 ;
1941 char *kwnames[] = {
1942 (char *) "self", NULL
1943 };
1944
1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
1946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1947 {
1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
1949 {
1950 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
1951 result = (wxString *) &_result_ref;
1952 }
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
cc6dd355
RD
1957 {
1958#if wxUSE_UNICODE
1959 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1960#else
1961 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1962#endif
1963 }
44127b65
RD
1964 return resultobj;
1965 fail:
1966 return NULL;
1967}
1968
1969
1970static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject *resultobj;
1972 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
1973 int arg2 ;
1974 bool arg3 = (bool) true ;
1975 PyObject * obj0 = 0 ;
1976 PyObject * obj2 = 0 ;
1977 char *kwnames[] = {
1978 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&arg2,&obj2)) goto fail;
1982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1983 if (obj2) {
a41e16b6
RD
1984 {
1985 arg3 = (bool) SPyObj_AsBool(obj2);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
44127b65
RD
1988 }
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 Py_INCREF(Py_None); resultobj = Py_None;
1997 return resultobj;
1998 fail:
1999 return NULL;
2000}
2001
2002
2003static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
2006 bool arg2 ;
2007 bool arg3 = (bool) true ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj1 = 0 ;
2010 PyObject * obj2 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
2017 {
2018 arg2 = (bool) SPyObj_AsBool(obj1);
44127b65
RD
2019 if (PyErr_Occurred()) SWIG_fail;
2020 }
a41e16b6
RD
2021 if (obj2) {
2022 {
2023 arg3 = (bool) SPyObj_AsBool(obj2);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 }
2026 }
44127b65
RD
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 (arg1)->SetDrawFaded(arg2,arg3);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 Py_INCREF(Py_None); resultobj = Py_None;
2035 return resultobj;
2036 fail:
2037 return NULL;
2038}
2039
2040
2041static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
2044 wxString *arg2 = 0 ;
2045 bool arg3 = (bool) true ;
2046 bool temp2 = False ;
2047 PyObject * obj0 = 0 ;
2048 PyObject * obj1 = 0 ;
2049 PyObject * obj2 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2056 {
2057 arg2 = wxString_in_helper(obj1);
2058 if (arg2 == NULL) SWIG_fail;
2059 temp2 = True;
2060 }
2061 if (obj2) {
a41e16b6
RD
2062 {
2063 arg3 = (bool) SPyObj_AsBool(obj2);
2064 if (PyErr_Occurred()) SWIG_fail;
2065 }
44127b65
RD
2066 }
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 (arg1)->SetValue((wxString const &)*arg2,arg3);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 Py_INCREF(Py_None); resultobj = Py_None;
2075 {
2076 if (temp2)
2077 delete arg2;
2078 }
2079 return resultobj;
2080 fail:
2081 {
2082 if (temp2)
2083 delete arg2;
2084 }
2085 return NULL;
2086}
2087
2088
2089static PyObject * LEDNumberCtrl_swigregister(PyObject *self, PyObject *args) {
2090 PyObject *obj;
2091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2092 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
2093 Py_INCREF(obj);
2094 return Py_BuildValue((char *)"");
2095}
2096static PyObject *_wrap_new_TreeListColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 wxString const &arg1_defvalue = wxPyEmptyString ;
2099 wxString *arg1 = (wxString *) &arg1_defvalue ;
2100 int arg2 = (int) -1 ;
2101 size_t arg3 = (size_t) 100 ;
2102 int arg4 = (int) wxTL_ALIGN_LEFT ;
2103 wxTreeListColumnInfo *result;
2104 bool temp1 = False ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj2 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "text",(char *) "image",(char *) "width",(char *) "alignment", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOi:new_TreeListColumnInfo",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
2112 if (obj0) {
2113 {
2114 arg1 = wxString_in_helper(obj0);
2115 if (arg1 == NULL) SWIG_fail;
2116 temp1 = True;
2117 }
2118 }
2119 if (obj2) {
a41e16b6
RD
2120 {
2121 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
44127b65
RD
2124 }
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,(wxTreeListColumnAlign )arg4);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeListColumnInfo, 1);
2133 {
2134 if (temp1)
2135 delete arg1;
2136 }
2137 return resultobj;
2138 fail:
2139 {
2140 if (temp1)
2141 delete arg1;
2142 }
2143 return NULL;
2144}
2145
2146
2147static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2150 int result;
2151 PyObject * obj0 = 0 ;
2152 char *kwnames[] = {
2153 (char *) "self", NULL
2154 };
2155
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
2157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 resultobj = PyInt_FromLong((long)result);
2166 return resultobj;
2167 fail:
2168 return NULL;
2169}
2170
2171
2172static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2173 PyObject *resultobj;
2174 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2175 wxString result;
2176 PyObject * obj0 = 0 ;
2177 char *kwnames[] = {
2178 (char *) "self", NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
2182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 }
2190 {
2191#if wxUSE_UNICODE
2192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2193#else
2194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2195#endif
2196 }
2197 return resultobj;
2198 fail:
2199 return NULL;
2200}
2201
2202
2203static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2206 int result;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2221 resultobj = PyInt_FromLong((long)result);
2222 return resultobj;
2223 fail:
2224 return NULL;
2225}
2226
2227
2228static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2231 int result;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
2238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 resultobj = PyInt_FromLong((long)result);
2247 return resultobj;
2248 fail:
2249 return NULL;
2250}
2251
2252
2253static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2256 size_t result;
2257 PyObject * obj0 = 0 ;
2258 char *kwnames[] = {
2259 (char *) "self", NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
2263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2264 {
2265 PyThreadState* __tstate = wxPyBeginAllowThreads();
2266 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
2267
2268 wxPyEndAllowThreads(__tstate);
2269 if (PyErr_Occurred()) SWIG_fail;
2270 }
a41e16b6 2271 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
2272 return resultobj;
2273 fail:
2274 return NULL;
2275}
2276
2277
2278static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2279 PyObject *resultobj;
2280 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2281 int arg2 ;
2282 PyObject * obj0 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "self",(char *) "alignment", NULL
2285 };
2286
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
2288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 (arg1)->SetAlignment((wxTreeListColumnAlign )arg2);
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 }
2296 Py_INCREF(Py_None); resultobj = Py_None;
2297 return resultobj;
2298 fail:
2299 return NULL;
2300}
2301
2302
2303static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject *resultobj;
2305 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2306 wxString *arg2 = 0 ;
2307 bool temp2 = False ;
2308 PyObject * obj0 = 0 ;
2309 PyObject * obj1 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self",(char *) "text", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
2315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2316 {
2317 arg2 = wxString_in_helper(obj1);
2318 if (arg2 == NULL) SWIG_fail;
2319 temp2 = True;
2320 }
2321 {
2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
2323 (arg1)->SetText((wxString const &)*arg2);
2324
2325 wxPyEndAllowThreads(__tstate);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 }
2328 Py_INCREF(Py_None); resultobj = Py_None;
2329 {
2330 if (temp2)
2331 delete arg2;
2332 }
2333 return resultobj;
2334 fail:
2335 {
2336 if (temp2)
2337 delete arg2;
2338 }
2339 return NULL;
2340}
2341
2342
2343static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2346 int arg2 ;
2347 PyObject * obj0 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "image", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetImage",kwnames,&obj0,&arg2)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 (arg1)->SetImage(arg2);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 return resultobj;
2363 fail:
2364 return NULL;
2365}
2366
2367
2368static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2371 int arg2 ;
2372 PyObject * obj0 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self",(char *) "image", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&arg2)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 (arg1)->SetSelectedImage(arg2);
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 Py_INCREF(Py_None); resultobj = Py_None;
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
2393static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
2396 size_t arg2 ;
2397 PyObject * obj0 = 0 ;
2398 PyObject * obj1 = 0 ;
2399 char *kwnames[] = {
2400 (char *) "self",(char *) "with", NULL
2401 };
2402
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
2405 {
2406 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
44127b65
RD
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 (arg1)->SetWidth(arg2);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 Py_INCREF(Py_None); resultobj = Py_None;
2417 return resultobj;
2418 fail:
2419 return NULL;
2420}
2421
2422
2423static PyObject * TreeListColumnInfo_swigregister(PyObject *self, PyObject *args) {
2424 PyObject *obj;
2425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2426 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
2427 Py_INCREF(obj);
2428 return Py_BuildValue((char *)"");
2429}
2430static PyObject *_wrap_new_TreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 wxWindow *arg1 = (wxWindow *) 0 ;
2433 int arg2 = (int) -1 ;
2434 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2435 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2436 wxSize const &arg4_defvalue = wxDefaultSize ;
2437 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2438 long arg5 = (long) wxTR_DEFAULT_STYLE ;
2439 wxValidator const &arg6_defvalue = wxDefaultValidator ;
2440 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
2441 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
2442 wxString *arg7 = (wxString *) &arg7_defvalue ;
2443 wxPyTreeListCtrl *result;
2444 wxPoint temp3 ;
2445 wxSize temp4 ;
2446 bool temp7 = False ;
2447 PyObject * obj0 = 0 ;
2448 PyObject * obj2 = 0 ;
2449 PyObject * obj3 = 0 ;
2450 PyObject * obj5 = 0 ;
2451 PyObject * obj6 = 0 ;
2452 char *kwnames[] = {
2453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
2457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2458 if (obj2) {
2459 {
2460 arg3 = &temp3;
2461 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2462 }
2463 }
2464 if (obj3) {
2465 {
2466 arg4 = &temp4;
2467 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2468 }
2469 }
2470 if (obj5) {
2471 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2472 if (arg6 == NULL) {
2473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2474 }
2475 }
2476 if (obj6) {
2477 {
2478 arg7 = wxString_in_helper(obj6);
2479 if (arg7 == NULL) SWIG_fail;
2480 temp7 = True;
2481 }
2482 }
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
2490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeListCtrl, 1);
2491 {
2492 if (temp7)
2493 delete arg7;
2494 }
2495 return resultobj;
2496 fail:
2497 {
2498 if (temp7)
2499 delete arg7;
2500 }
2501 return NULL;
2502}
2503
2504
2505static PyObject *_wrap_new_PreTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2506 PyObject *resultobj;
2507 wxPyTreeListCtrl *result;
2508 char *kwnames[] = {
2509 NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeListCtrl, 1);
2521 return resultobj;
2522 fail:
2523 return NULL;
2524}
2525
2526
2527static PyObject *_wrap_TreeListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2530 wxWindow *arg2 = (wxWindow *) 0 ;
2531 int arg3 = (int) -1 ;
2532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2534 wxSize const &arg5_defvalue = wxDefaultSize ;
2535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2536 long arg6 = (long) wxTR_DEFAULT_STYLE ;
2537 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2538 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2539 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
2540 wxString *arg8 = (wxString *) &arg8_defvalue ;
2541 bool result;
2542 wxPoint temp4 ;
2543 wxSize temp5 ;
2544 bool temp8 = False ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 PyObject * obj3 = 0 ;
2548 PyObject * obj4 = 0 ;
2549 PyObject * obj6 = 0 ;
2550 PyObject * obj7 = 0 ;
2551 char *kwnames[] = {
2552 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2553 };
2554
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2558 if (obj3) {
2559 {
2560 arg4 = &temp4;
2561 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2562 }
2563 }
2564 if (obj4) {
2565 {
2566 arg5 = &temp5;
2567 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2568 }
2569 }
2570 if (obj6) {
2571 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 if (arg7 == NULL) {
2573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2574 }
2575 }
2576 if (obj7) {
2577 {
2578 arg8 = wxString_in_helper(obj7);
2579 if (arg8 == NULL) SWIG_fail;
2580 temp8 = True;
2581 }
2582 }
2583 {
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2586
2587 wxPyEndAllowThreads(__tstate);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 resultobj = PyInt_FromLong((long)result);
2591 {
2592 if (temp8)
2593 delete arg8;
2594 }
2595 return resultobj;
2596 fail:
2597 {
2598 if (temp8)
2599 delete arg8;
2600 }
2601 return NULL;
2602}
2603
2604
2605static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2608 PyObject *arg2 = (PyObject *) 0 ;
2609 PyObject *arg3 = (PyObject *) 0 ;
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
2612 PyObject * obj2 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self",(char *) "self",(char *) "_class", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2619 arg2 = obj1;
2620 arg3 = obj2;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 (arg1)->_setCallbackInfo(arg2,arg3);
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 Py_INCREF(Py_None); resultobj = Py_None;
2629 return resultobj;
2630 fail:
2631 return NULL;
2632}
2633
2634
2635static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2638 size_t result;
2639 PyObject * obj0 = 0 ;
2640 char *kwnames[] = {
2641 (char *) "self", NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
2645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
a41e16b6 2653 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
2654 return resultobj;
2655 fail:
2656 return NULL;
2657}
2658
2659
2660static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2663 unsigned int result;
2664 PyObject * obj0 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "self", NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
2670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
a41e16b6 2678 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
2679 return resultobj;
2680 fail:
2681 return NULL;
2682}
2683
2684
2685static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2686 PyObject *resultobj;
2687 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2688 unsigned int arg2 ;
2689 PyObject * obj0 = 0 ;
2690 PyObject * obj1 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self",(char *) "indent", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
2697 {
2698 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
44127b65
RD
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 (arg1)->SetIndent(arg2);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 return resultobj;
2710 fail:
2711 return NULL;
2712}
2713
2714
2715static PyObject *_wrap_TreeListCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2718 unsigned int result;
2719 PyObject * obj0 = 0 ;
2720 char *kwnames[] = {
2721 (char *) "self", NULL
2722 };
2723
2724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSpacing",kwnames,&obj0)) goto fail;
2725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetSpacing();
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) SWIG_fail;
2732 }
a41e16b6 2733 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
2734 return resultobj;
2735 fail:
2736 return NULL;
2737}
2738
2739
2740static PyObject *_wrap_TreeListCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2743 unsigned int arg2 ;
2744 PyObject * obj0 = 0 ;
2745 PyObject * obj1 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "self",(char *) "spacing", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
2751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
2752 {
2753 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
44127b65
RD
2756 {
2757 PyThreadState* __tstate = wxPyBeginAllowThreads();
2758 (arg1)->SetSpacing(arg2);
2759
2760 wxPyEndAllowThreads(__tstate);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
2763 Py_INCREF(Py_None); resultobj = Py_None;
2764 return resultobj;
2765 fail:
2766 return NULL;
2767}
2768
2769
2770static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj;
2772 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2773 unsigned int result;
2774 PyObject * obj0 = 0 ;
2775 char *kwnames[] = {
2776 (char *) "self", NULL
2777 };
2778
2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
2780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
2783 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) SWIG_fail;
2787 }
a41e16b6 2788 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
2789 return resultobj;
2790 fail:
2791 return NULL;
2792}
2793
2794
2795static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2798 unsigned int arg2 ;
2799 PyObject * obj0 = 0 ;
2800 PyObject * obj1 = 0 ;
2801 char *kwnames[] = {
2802 (char *) "self",(char *) "spacing", NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
2806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
2807 {
2808 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 }
44127b65
RD
2811 {
2812 PyThreadState* __tstate = wxPyBeginAllowThreads();
2813 (arg1)->SetLineSpacing(arg2);
2814
2815 wxPyEndAllowThreads(__tstate);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 Py_INCREF(Py_None); resultobj = Py_None;
2819 return resultobj;
2820 fail:
2821 return NULL;
2822}
2823
2824
2825static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj;
2827 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2828 wxImageList *result;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 {
2844 resultobj = wxPyMake_wxObject(result);
2845 }
2846 return resultobj;
2847 fail:
2848 return NULL;
2849}
2850
2851
2852static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2855 wxImageList *result;
2856 PyObject * obj0 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self", NULL
2859 };
2860
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
2862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 {
2871 resultobj = wxPyMake_wxObject(result);
2872 }
2873 return resultobj;
2874 fail:
2875 return NULL;
2876}
2877
2878
2879static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject *resultobj;
2881 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2882 wxImageList *result;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "self", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
2889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 {
2898 resultobj = wxPyMake_wxObject(result);
2899 }
2900 return resultobj;
2901 fail:
2902 return NULL;
2903}
2904
2905
2906static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject *resultobj;
2908 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2909 wxImageList *arg2 = (wxImageList *) 0 ;
2910 PyObject * obj0 = 0 ;
2911 PyObject * obj1 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "self",(char *) "imageList", NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
2917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2919 {
2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2921 (arg1)->SetImageList(arg2);
2922
2923 wxPyEndAllowThreads(__tstate);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 Py_INCREF(Py_None); resultobj = Py_None;
2927 return resultobj;
2928 fail:
2929 return NULL;
2930}
2931
2932
2933static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2936 wxImageList *arg2 = (wxImageList *) 0 ;
2937 PyObject * obj0 = 0 ;
2938 PyObject * obj1 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self",(char *) "imageList", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
2944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 (arg1)->SetStateImageList(arg2);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957}
2958
2959
2960static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj;
2962 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2963 wxImageList *arg2 = (wxImageList *) 0 ;
2964 PyObject * obj0 = 0 ;
2965 PyObject * obj1 = 0 ;
2966 char *kwnames[] = {
2967 (char *) "self",(char *) "imageList", NULL
2968 };
2969
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
2971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 (arg1)->SetButtonsImageList(arg2);
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) SWIG_fail;
2979 }
2980 Py_INCREF(Py_None); resultobj = Py_None;
2981 return resultobj;
2982 fail:
2983 return NULL;
2984}
2985
2986
2987static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
2990 wxImageList *arg2 = (wxImageList *) 0 ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "imageList", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3000 {
3001 PyThreadState* __tstate = wxPyBeginAllowThreads();
3002 (arg1)->AssignImageList(arg2);
3003
3004 wxPyEndAllowThreads(__tstate);
3005 if (PyErr_Occurred()) SWIG_fail;
3006 }
3007 Py_INCREF(Py_None); resultobj = Py_None;
3008 return resultobj;
3009 fail:
3010 return NULL;
3011}
3012
3013
3014static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3015 PyObject *resultobj;
3016 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3017 wxImageList *arg2 = (wxImageList *) 0 ;
3018 PyObject * obj0 = 0 ;
3019 PyObject * obj1 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "self",(char *) "imageList", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
3025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 (arg1)->AssignStateImageList(arg2);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 Py_INCREF(Py_None); resultobj = Py_None;
3035 return resultobj;
3036 fail:
3037 return NULL;
3038}
3039
3040
3041static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3044 wxImageList *arg2 = (wxImageList *) 0 ;
3045 PyObject * obj0 = 0 ;
3046 PyObject * obj1 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "imageList", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->AssignButtonsImageList(arg2);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065}
3066
3067
3068static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3071 wxString *arg2 = 0 ;
3072 bool temp2 = False ;
3073 PyObject * obj0 = 0 ;
3074 PyObject * obj1 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self",(char *) "text", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
3080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 {
3082 arg2 = wxString_in_helper(obj1);
3083 if (arg2 == NULL) SWIG_fail;
3084 temp2 = True;
3085 }
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->AddColumn((wxString const &)*arg2);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 {
3095 if (temp2)
3096 delete arg2;
3097 }
3098 return resultobj;
3099 fail:
3100 {
3101 if (temp2)
3102 delete arg2;
3103 }
3104 return NULL;
3105}
3106
3107
3108static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3109 PyObject *resultobj;
3110 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3111 wxTreeListColumnInfo *arg2 = 0 ;
3112 PyObject * obj0 = 0 ;
3113 PyObject * obj1 = 0 ;
3114 char *kwnames[] = {
3115 (char *) "self",(char *) "col", NULL
3116 };
3117
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
3119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3121 if (arg2 == NULL) {
3122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3123 }
3124 {
3125 PyThreadState* __tstate = wxPyBeginAllowThreads();
3126 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
3127
3128 wxPyEndAllowThreads(__tstate);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
3131 Py_INCREF(Py_None); resultobj = Py_None;
3132 return resultobj;
3133 fail:
3134 return NULL;
3135}
3136
3137
3138static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3141 size_t arg2 ;
3142 wxString *arg3 = 0 ;
3143 bool temp3 = False ;
3144 PyObject * obj0 = 0 ;
3145 PyObject * obj1 = 0 ;
3146 PyObject * obj2 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "self",(char *) "before",(char *) "text", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
3152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3153 {
3154 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3155 if (PyErr_Occurred()) SWIG_fail;
3156 }
44127b65
RD
3157 {
3158 arg3 = wxString_in_helper(obj2);
3159 if (arg3 == NULL) SWIG_fail;
3160 temp3 = True;
3161 }
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 Py_INCREF(Py_None); resultobj = Py_None;
3170 {
3171 if (temp3)
3172 delete arg3;
3173 }
3174 return resultobj;
3175 fail:
3176 {
3177 if (temp3)
3178 delete arg3;
3179 }
3180 return NULL;
3181}
3182
3183
3184static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3187 size_t arg2 ;
3188 wxTreeListColumnInfo *arg3 = 0 ;
3189 PyObject * obj0 = 0 ;
3190 PyObject * obj1 = 0 ;
3191 PyObject * obj2 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "before",(char *) "col", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3198 {
3199 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
44127b65
RD
3202 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3203 if (arg3 == NULL) {
3204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3205 }
3206 {
3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
3208 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 Py_INCREF(Py_None); resultobj = Py_None;
3214 return resultobj;
3215 fail:
3216 return NULL;
3217}
3218
3219
3220static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3223 size_t arg2 ;
3224 PyObject * obj0 = 0 ;
3225 PyObject * obj1 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self",(char *) "column", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3232 {
3233 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
44127b65
RD
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 (arg1)->RemoveColumn(arg2);
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 Py_INCREF(Py_None); resultobj = Py_None;
3244 return resultobj;
3245 fail:
3246 return NULL;
3247}
3248
3249
3250static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3253 size_t result;
3254 PyObject * obj0 = 0 ;
3255 char *kwnames[] = {
3256 (char *) "self", NULL
3257 };
3258
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
3260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
a41e16b6 3268 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
3269 return resultobj;
3270 fail:
3271 return NULL;
3272}
3273
3274
3275static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3278 size_t arg2 ;
3279 size_t arg3 ;
3280 PyObject * obj0 = 0 ;
3281 PyObject * obj1 = 0 ;
3282 PyObject * obj2 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self",(char *) "column",(char *) "width", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3289 {
3290 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 {
3294 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
44127b65
RD
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->SetColumnWidth(arg2,arg3);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308}
3309
3310
3311static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3314 size_t arg2 ;
3315 int result;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "column", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3324 {
3325 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
44127b65
RD
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 resultobj = PyInt_FromLong((long)result);
3336 return resultobj;
3337 fail:
3338 return NULL;
3339}
3340
3341
3342static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3345 size_t arg2 ;
3346 PyObject * obj0 = 0 ;
3347 PyObject * obj1 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self",(char *) "column", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3354 {
3355 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
44127b65
RD
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 (arg1)->SetMainColumn(arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 Py_INCREF(Py_None); resultobj = Py_None;
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
3372static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3375 size_t result;
3376 PyObject * obj0 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
a41e16b6 3390 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
3391 return resultobj;
3392 fail:
3393 return NULL;
3394}
3395
3396
3397static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3400 size_t arg2 ;
3401 wxString *arg3 = 0 ;
3402 bool temp3 = False ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 PyObject * obj2 = 0 ;
3406 char *kwnames[] = {
3407 (char *) "self",(char *) "column",(char *) "text", NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3412 {
3413 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
44127b65
RD
3416 {
3417 arg3 = wxString_in_helper(obj2);
3418 if (arg3 == NULL) SWIG_fail;
3419 temp3 = True;
3420 }
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
3428 Py_INCREF(Py_None); resultobj = Py_None;
3429 {
3430 if (temp3)
3431 delete arg3;
3432 }
3433 return resultobj;
3434 fail:
3435 {
3436 if (temp3)
3437 delete arg3;
3438 }
3439 return NULL;
3440}
3441
3442
3443static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj;
3445 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3446 size_t arg2 ;
3447 wxString result;
3448 PyObject * obj0 = 0 ;
3449 PyObject * obj1 = 0 ;
3450 char *kwnames[] = {
3451 (char *) "self",(char *) "column", NULL
3452 };
3453
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
3455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3456 {
3457 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
44127b65
RD
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 {
3468#if wxUSE_UNICODE
3469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3470#else
3471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3472#endif
3473 }
3474 return resultobj;
3475 fail:
3476 return NULL;
3477}
3478
3479
3480static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3483 size_t arg2 ;
3484 wxTreeListColumnInfo *arg3 = 0 ;
3485 PyObject * obj0 = 0 ;
3486 PyObject * obj1 = 0 ;
3487 PyObject * obj2 = 0 ;
3488 char *kwnames[] = {
3489 (char *) "self",(char *) "column",(char *) "info", NULL
3490 };
3491
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
3493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3494 {
3495 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
44127b65
RD
3498 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3499 if (arg3 == NULL) {
3500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3501 }
3502 {
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
3505
3506 wxPyEndAllowThreads(__tstate);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 Py_INCREF(Py_None); resultobj = Py_None;
3510 return resultobj;
3511 fail:
3512 return NULL;
3513}
3514
3515
3516static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj;
3518 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3519 size_t arg2 ;
3520 wxTreeListColumnInfo *result;
3521 PyObject * obj0 = 0 ;
3522 PyObject * obj1 = 0 ;
3523 char *kwnames[] = {
3524 (char *) "self",(char *) "column", NULL
3525 };
3526
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
3528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3529 {
3530 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
44127b65
RD
3533 {
3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
3535 {
3536 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
3537 result = (wxTreeListColumnInfo *) &_result_ref;
3538 }
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeListColumnInfo, 0);
3544 return resultobj;
3545 fail:
3546 return NULL;
3547}
3548
3549
3550static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3553 size_t arg2 ;
3554 int arg3 ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "column",(char *) "align", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&arg3)) goto fail;
3562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3563 {
3564 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
44127b65
RD
3567 {
3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
3569 (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3);
3570
3571 wxPyEndAllowThreads(__tstate);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 Py_INCREF(Py_None); resultobj = Py_None;
3575 return resultobj;
3576 fail:
3577 return NULL;
3578}
3579
3580
3581static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject *resultobj;
3583 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3584 size_t arg2 ;
3585 int result;
3586 PyObject * obj0 = 0 ;
3587 PyObject * obj1 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "column", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3594 {
3595 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
44127b65
RD
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 resultobj = PyInt_FromLong((long)result);
3606 return resultobj;
3607 fail:
3608 return NULL;
3609}
3610
3611
3612static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3615 size_t arg2 ;
3616 int arg3 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "column",(char *) "image", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3625 {
3626 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
44127b65
RD
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 (arg1)->SetColumnImage(arg2,arg3);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 Py_INCREF(Py_None); resultobj = Py_None;
3637 return resultobj;
3638 fail:
3639 return NULL;
3640}
3641
3642
3643static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject *resultobj;
3645 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3646 size_t arg2 ;
3647 int result;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "column", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
3655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6
RD
3656 {
3657 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
44127b65
RD
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 resultobj = PyInt_FromLong((long)result);
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
3674static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3677 wxTreeItemId *arg2 = 0 ;
3678 int arg3 = (int) -1 ;
3679 wxString result;
3680 PyObject * obj0 = 0 ;
3681 PyObject * obj1 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self",(char *) "item",(char *) "column", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 if (arg2 == NULL) {
3690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3691 }
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 {
3700#if wxUSE_UNICODE
3701 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3702#else
3703 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3704#endif
3705 }
3706 return resultobj;
3707 fail:
3708 return NULL;
3709}
3710
3711
3712static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3715 wxTreeItemId *arg2 = 0 ;
3716 int arg3 = (int) -1 ;
3717 int arg4 = (int) wxTreeItemIcon_Normal ;
3718 int result;
3719 PyObject * obj0 = 0 ;
3720 PyObject * obj1 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3728 if (arg2 == NULL) {
3729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3730 }
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 resultobj = PyInt_FromLong((long)result);
3739 return resultobj;
3740 fail:
3741 return NULL;
3742}
3743
3744
3745static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj;
3747 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3748 wxTreeItemId *arg2 = 0 ;
3749 wxString *arg3 = 0 ;
3750 int arg4 = (int) -1 ;
3751 bool temp3 = False ;
3752 PyObject * obj0 = 0 ;
3753 PyObject * obj1 = 0 ;
3754 PyObject * obj2 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
3760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3762 if (arg2 == NULL) {
3763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3764 }
3765 {
3766 arg3 = wxString_in_helper(obj2);
3767 if (arg3 == NULL) SWIG_fail;
3768 temp3 = True;
3769 }
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 Py_INCREF(Py_None); resultobj = Py_None;
3778 {
3779 if (temp3)
3780 delete arg3;
3781 }
3782 return resultobj;
3783 fail:
3784 {
3785 if (temp3)
3786 delete arg3;
3787 }
3788 return NULL;
3789}
3790
3791
3792static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3795 wxTreeItemId *arg2 = 0 ;
3796 int arg3 ;
3797 int arg4 = (int) -1 ;
3798 int arg5 = (int) wxTreeItemIcon_Normal ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|ii:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3808 if (arg2 == NULL) {
3809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3810 }
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5);
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 Py_INCREF(Py_None); resultobj = Py_None;
3819 return resultobj;
3820 fail:
3821 return NULL;
3822}
3823
3824
3825static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3828 wxTreeItemId *arg2 = 0 ;
3829 wxPyTreeItemData *result;
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
3832 char *kwnames[] = {
3833 (char *) "self",(char *) "item", NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
3837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3839 if (arg2 == NULL) {
3840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3841 }
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
3856static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3859 wxTreeItemId *arg2 = 0 ;
3860 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 PyObject * obj2 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "item",(char *) "data", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3871 if (arg2 == NULL) {
3872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3873 }
3874 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
3889static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3892 wxTreeItemId *arg2 = 0 ;
3893 PyObject *result;
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 char *kwnames[] = {
3897 (char *) "self",(char *) "item", NULL
3898 };
3899
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
3901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3903 if (arg2 == NULL) {
3904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3905 }
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = result;
3914 return resultobj;
3915 fail:
3916 return NULL;
3917}
3918
3919
3920static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3923 wxTreeItemId *arg2 = 0 ;
3924 PyObject *arg3 = (PyObject *) 0 ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 PyObject * obj2 = 0 ;
3928 char *kwnames[] = {
3929 (char *) "self",(char *) "item",(char *) "obj", NULL
3930 };
3931
3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
3933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3935 if (arg2 == NULL) {
3936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3937 }
3938 arg3 = obj2;
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 Py_INCREF(Py_None); resultobj = Py_None;
3947 return resultobj;
3948 fail:
3949 return NULL;
3950}
3951
3952
3953static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject *resultobj;
3955 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3956 wxTreeItemId *arg2 = 0 ;
3957 bool arg3 = (bool) True ;
3958 PyObject * obj0 = 0 ;
3959 PyObject * obj1 = 0 ;
3960 PyObject * obj2 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self",(char *) "item",(char *) "has", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3968 if (arg2 == NULL) {
3969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3970 }
3971 if (obj2) {
a41e16b6
RD
3972 {
3973 arg3 = (bool) SPyObj_AsBool(obj2);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
44127b65
RD
3976 }
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 Py_INCREF(Py_None); resultobj = Py_None;
3985 return resultobj;
3986 fail:
3987 return NULL;
3988}
3989
3990
3991static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
3994 wxTreeItemId *arg2 = 0 ;
3995 bool arg3 = (bool) True ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj1 = 0 ;
3998 PyObject * obj2 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self",(char *) "item",(char *) "bold", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4006 if (arg2 == NULL) {
4007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4008 }
4009 if (obj2) {
a41e16b6
RD
4010 {
4011 arg3 = (bool) SPyObj_AsBool(obj2);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
44127b65
RD
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026}
4027
4028
4029static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4032 wxTreeItemId *arg2 = 0 ;
4033 wxColour *arg3 = 0 ;
4034 wxColour temp3 ;
4035 PyObject * obj0 = 0 ;
4036 PyObject * obj1 = 0 ;
4037 PyObject * obj2 = 0 ;
4038 char *kwnames[] = {
4039 (char *) "self",(char *) "item",(char *) "col", NULL
4040 };
4041
4042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
4043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4045 if (arg2 == NULL) {
4046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4047 }
4048 {
4049 arg3 = &temp3;
4050 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4051 }
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
4055
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 Py_INCREF(Py_None); resultobj = Py_None;
4060 return resultobj;
4061 fail:
4062 return NULL;
4063}
4064
4065
4066static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4069 wxTreeItemId *arg2 = 0 ;
4070 wxColour *arg3 = 0 ;
4071 wxColour temp3 ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj1 = 0 ;
4074 PyObject * obj2 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "self",(char *) "item",(char *) "col", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
4080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 if (arg2 == NULL) {
4083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4084 }
4085 {
4086 arg3 = &temp3;
4087 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4088 }
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 Py_INCREF(Py_None); resultobj = Py_None;
4097 return resultobj;
4098 fail:
4099 return NULL;
4100}
4101
4102
4103static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject *resultobj;
4105 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4106 wxTreeItemId *arg2 = 0 ;
4107 wxFont *arg3 = 0 ;
4108 PyObject * obj0 = 0 ;
4109 PyObject * obj1 = 0 ;
4110 PyObject * obj2 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self",(char *) "item",(char *) "font", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4118 if (arg2 == NULL) {
4119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4120 }
4121 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4122 if (arg3 == NULL) {
4123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4124 }
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 Py_INCREF(Py_None); resultobj = Py_None;
4133 return resultobj;
4134 fail:
4135 return NULL;
4136}
4137
4138
4139static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4142 wxTreeItemId *arg2 = 0 ;
4143 bool result;
4144 PyObject * obj0 = 0 ;
4145 PyObject * obj1 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "self",(char *) "item", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
4151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4153 if (arg2 == NULL) {
4154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4155 }
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 resultobj = PyInt_FromLong((long)result);
4164 return resultobj;
4165 fail:
4166 return NULL;
4167}
4168
4169
4170static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4173 wxTreeItemId *arg2 = 0 ;
4174 wxColour result;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "item", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 if (arg2 == NULL) {
4185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4186 }
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 {
4195 wxColour * resultptr;
4196 resultptr = new wxColour((wxColour &) result);
4197 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4198 }
4199 return resultobj;
4200 fail:
4201 return NULL;
4202}
4203
4204
4205static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4208 wxTreeItemId *arg2 = 0 ;
4209 wxColour result;
4210 PyObject * obj0 = 0 ;
4211 PyObject * obj1 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self",(char *) "item", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 if (arg2 == NULL) {
4220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 wxColour * resultptr;
4231 resultptr = new wxColour((wxColour &) result);
4232 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4233 }
4234 return resultobj;
4235 fail:
4236 return NULL;
4237}
4238
4239
4240static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4243 wxTreeItemId *arg2 = 0 ;
4244 wxFont result;
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "item", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4254 if (arg2 == NULL) {
4255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4256 }
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 {
4265 wxFont * resultptr;
4266 resultptr = new wxFont((wxFont &) result);
4267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
4268 }
4269 return resultobj;
4270 fail:
4271 return NULL;
4272}
4273
4274
4275static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4278 wxTreeItemId *arg2 = 0 ;
4279 bool result;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "item", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4289 if (arg2 == NULL) {
4290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4291 }
4292 {
4293 PyThreadState* __tstate = wxPyBeginAllowThreads();
4294 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
4295
4296 wxPyEndAllowThreads(__tstate);
4297 if (PyErr_Occurred()) SWIG_fail;
4298 }
4299 resultobj = PyInt_FromLong((long)result);
4300 return resultobj;
4301 fail:
4302 return NULL;
4303}
4304
4305
4306static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject *resultobj;
4308 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4309 wxTreeItemId *arg2 = 0 ;
4310 bool result;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "item", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
4318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4320 if (arg2 == NULL) {
4321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4322 }
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 resultobj = PyInt_FromLong((long)result);
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
4337static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4340 wxTreeItemId *arg2 = 0 ;
4341 bool result;
4342 PyObject * obj0 = 0 ;
4343 PyObject * obj1 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self",(char *) "item", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
4349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 if (arg2 == NULL) {
4352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4353 }
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
4357
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 resultobj = PyInt_FromLong((long)result);
4362 return resultobj;
4363 fail:
4364 return NULL;
4365}
4366
4367
4368static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj;
4370 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4371 wxTreeItemId *arg2 = 0 ;
4372 bool result;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375 char *kwnames[] = {
4376 (char *) "self",(char *) "item", NULL
4377 };
4378
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
4380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4382 if (arg2 == NULL) {
4383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4384 }
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 resultobj = PyInt_FromLong((long)result);
4393 return resultobj;
4394 fail:
4395 return NULL;
4396}
4397
4398
4399static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4402 wxTreeItemId *arg2 = 0 ;
4403 bool result;
4404 PyObject * obj0 = 0 ;
4405 PyObject * obj1 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self",(char *) "item", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 if (arg2 == NULL) {
4414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4415 }
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
4419
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = PyInt_FromLong((long)result);
4424 return resultobj;
4425 fail:
4426 return NULL;
4427}
4428
4429
4430static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj;
4432 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4433 wxTreeItemId *arg2 = 0 ;
4434 bool arg3 = (bool) True ;
4435 size_t result;
4436 PyObject * obj0 = 0 ;
4437 PyObject * obj1 = 0 ;
4438 PyObject * obj2 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self",(char *) "item",(char *) "recursively", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 if (arg2 == NULL) {
4447 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4448 }
4449 if (obj2) {
a41e16b6
RD
4450 {
4451 arg3 = (bool) SPyObj_AsBool(obj2);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
44127b65
RD
4454 }
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
a41e16b6 4462 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
44127b65
RD
4463 return resultobj;
4464 fail:
4465 return NULL;
4466}
4467
4468
4469static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4472 wxTreeItemId result;
4473 PyObject * obj0 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
4479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 {
4488 wxTreeItemId * resultptr;
4489 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4490 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4491 }
4492 return resultobj;
4493 fail:
4494 return NULL;
4495}
4496
4497
4498static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4501 wxTreeItemId result;
4502 PyObject * obj0 = 0 ;
4503 char *kwnames[] = {
4504 (char *) "self", NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
4508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 {
4517 wxTreeItemId * resultptr;
4518 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4520 }
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4530 PyObject *result;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 resultobj = result;
4546 return resultobj;
4547 fail:
4548 return NULL;
4549}
4550
4551
4552static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4555 wxTreeItemId *arg2 = 0 ;
4556 wxTreeItemId result;
4557 PyObject * obj0 = 0 ;
4558 PyObject * obj1 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self",(char *) "item", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4566 if (arg2 == NULL) {
4567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4568 }
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 result = ((wxPyTreeListCtrl const *)arg1)->GetParent((wxTreeItemId const &)*arg2);
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
4576 {
4577 wxTreeItemId * resultptr;
4578 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4580 }
4581 return resultobj;
4582 fail:
4583 return NULL;
4584}
4585
4586
4587static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj;
4589 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4590 wxTreeItemId *arg2 = 0 ;
4591 PyObject *result;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "self",(char *) "item", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
4599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4601 if (arg2 == NULL) {
4602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4603 }
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
4607
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 resultobj = result;
4612 return resultobj;
4613 fail:
4614 return NULL;
4615}
4616
4617
4618static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4619 PyObject *resultobj;
4620 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4621 wxTreeItemId *arg2 = 0 ;
4622 long arg3 ;
4623 PyObject *result;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "item",(char *) "cookie", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&arg3)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 if (arg2 == NULL) {
4634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 resultobj = result;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647}
4648
4649
4650static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4653 wxTreeItemId *arg2 = 0 ;
4654 wxTreeItemId result;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self",(char *) "item", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 if (arg2 == NULL) {
4665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4666 }
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 {
4675 wxTreeItemId * resultptr;
4676 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4677 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4678 }
4679 return resultobj;
4680 fail:
4681 return NULL;
4682}
4683
4684
4685static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj;
4687 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4688 wxTreeItemId *arg2 = 0 ;
4689 wxTreeItemId result;
4690 PyObject * obj0 = 0 ;
4691 PyObject * obj1 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "self",(char *) "item", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
4697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4699 if (arg2 == NULL) {
4700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4701 }
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 {
4710 wxTreeItemId * resultptr;
4711 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4712 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4713 }
4714 return resultobj;
4715 fail:
4716 return NULL;
4717}
4718
4719
4720static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj;
4722 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4723 wxTreeItemId *arg2 = 0 ;
4724 wxTreeItemId result;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 char *kwnames[] = {
4728 (char *) "self",(char *) "item", NULL
4729 };
4730
4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
4732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4734 if (arg2 == NULL) {
4735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4736 }
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 {
4745 wxTreeItemId * resultptr;
4746 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4748 }
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
4755static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4756 PyObject *resultobj;
4757 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4758 wxTreeItemId result;
4759 PyObject * obj0 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
4765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 {
4774 wxTreeItemId * resultptr;
4775 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4776 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4777 }
4778 return resultobj;
4779 fail:
4780 return NULL;
4781}
4782
4783
4784static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4787 wxTreeItemId *arg2 = 0 ;
4788 wxTreeItemId result;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self",(char *) "item", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4798 if (arg2 == NULL) {
4799 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4800 }
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4803 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 {
4809 wxTreeItemId * resultptr;
4810 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4812 }
4813 return resultobj;
4814 fail:
4815 return NULL;
4816}
4817
4818
4819static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4822 wxTreeItemId *arg2 = 0 ;
4823 wxTreeItemId result;
4824 PyObject * obj0 = 0 ;
4825 PyObject * obj1 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "self",(char *) "item", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
4831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4833 if (arg2 == NULL) {
4834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4835 }
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 {
4844 wxTreeItemId * resultptr;
4845 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4847 }
4848 return resultobj;
4849 fail:
4850 return NULL;
4851}
4852
4853
4854static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4857 wxTreeItemId *arg2 = 0 ;
4858 wxTreeItemId result;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "item", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4868 if (arg2 == NULL) {
4869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4870 }
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 {
4879 wxTreeItemId * resultptr;
4880 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4881 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4882 }
4883 return resultobj;
4884 fail:
4885 return NULL;
4886}
4887
4888
4889static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4892 wxString *arg2 = 0 ;
4893 int arg3 = (int) -1 ;
4894 int arg4 = (int) -1 ;
4895 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
4896 wxTreeItemId result;
4897 bool temp2 = False ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 PyObject * obj4 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4907 {
4908 arg2 = wxString_in_helper(obj1);
4909 if (arg2 == NULL) SWIG_fail;
4910 temp2 = True;
4911 }
4912 if (obj4) {
4913 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 {
4923 wxTreeItemId * resultptr;
4924 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4925 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4926 }
4927 {
4928 if (temp2)
4929 delete arg2;
4930 }
4931 return resultobj;
4932 fail:
4933 {
4934 if (temp2)
4935 delete arg2;
4936 }
4937 return NULL;
4938}
4939
4940
4941static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4944 wxTreeItemId *arg2 = 0 ;
4945 wxString *arg3 = 0 ;
4946 int arg4 = (int) -1 ;
4947 int arg5 = (int) -1 ;
4948 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
4949 wxTreeItemId result;
4950 bool temp3 = False ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 PyObject * obj2 = 0 ;
4954 PyObject * obj5 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
4960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4962 if (arg2 == NULL) {
4963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4964 }
4965 {
4966 arg3 = wxString_in_helper(obj2);
4967 if (arg3 == NULL) SWIG_fail;
4968 temp3 = True;
4969 }
4970 if (obj5) {
4971 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4972 }
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 {
4981 wxTreeItemId * resultptr;
4982 resultptr = new wxTreeItemId((wxTreeItemId &) result);
4983 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
4984 }
4985 {
4986 if (temp3)
4987 delete arg3;
4988 }
4989 return resultobj;
4990 fail:
4991 {
4992 if (temp3)
4993 delete arg3;
4994 }
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5002 wxTreeItemId *arg2 = 0 ;
5003 wxTreeItemId *arg3 = 0 ;
5004 wxString *arg4 = 0 ;
5005 int arg5 = (int) -1 ;
5006 int arg6 = (int) -1 ;
5007 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
5008 wxTreeItemId result;
5009 bool temp4 = False ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 PyObject * obj2 = 0 ;
5013 PyObject * obj3 = 0 ;
5014 PyObject * obj6 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (arg2 == NULL) {
5023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5024 }
5025 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5026 if (arg3 == NULL) {
5027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5028 }
5029 {
5030 arg4 = wxString_in_helper(obj3);
5031 if (arg4 == NULL) SWIG_fail;
5032 temp4 = True;
5033 }
5034 if (obj6) {
5035 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 {
5045 wxTreeItemId * resultptr;
5046 resultptr = new wxTreeItemId((wxTreeItemId &) result);
5047 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
5048 }
5049 {
5050 if (temp4)
5051 delete arg4;
5052 }
5053 return resultobj;
5054 fail:
5055 {
5056 if (temp4)
5057 delete arg4;
5058 }
5059 return NULL;
5060}
5061
5062
5063static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5066 wxTreeItemId *arg2 = 0 ;
5067 size_t arg3 ;
5068 wxString *arg4 = 0 ;
5069 int arg5 = (int) -1 ;
5070 int arg6 = (int) -1 ;
5071 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
5072 wxTreeItemId result;
5073 bool temp4 = False ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
5076 PyObject * obj2 = 0 ;
5077 PyObject * obj3 = 0 ;
5078 PyObject * obj6 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5086 if (arg2 == NULL) {
5087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5088 }
a41e16b6
RD
5089 {
5090 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
44127b65
RD
5093 {
5094 arg4 = wxString_in_helper(obj3);
5095 if (arg4 == NULL) SWIG_fail;
5096 temp4 = True;
5097 }
5098 if (obj6) {
5099 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 }
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 {
5109 wxTreeItemId * resultptr;
5110 resultptr = new wxTreeItemId((wxTreeItemId &) result);
5111 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
5112 }
5113 {
5114 if (temp4)
5115 delete arg4;
5116 }
5117 return resultobj;
5118 fail:
5119 {
5120 if (temp4)
5121 delete arg4;
5122 }
5123 return NULL;
5124}
5125
5126
5127static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5130 wxTreeItemId *arg2 = 0 ;
5131 wxString *arg3 = 0 ;
5132 int arg4 = (int) -1 ;
5133 int arg5 = (int) -1 ;
5134 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
5135 wxTreeItemId result;
5136 bool temp3 = False ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 PyObject * obj2 = 0 ;
5140 PyObject * obj5 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5148 if (arg2 == NULL) {
5149 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5150 }
5151 {
5152 arg3 = wxString_in_helper(obj2);
5153 if (arg3 == NULL) SWIG_fail;
5154 temp3 = True;
5155 }
5156 if (obj5) {
5157 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5158 }
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 {
5167 wxTreeItemId * resultptr;
5168 resultptr = new wxTreeItemId((wxTreeItemId &) result);
5169 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
5170 }
5171 {
5172 if (temp3)
5173 delete arg3;
5174 }
5175 return resultobj;
5176 fail:
5177 {
5178 if (temp3)
5179 delete arg3;
5180 }
5181 return NULL;
5182}
5183
5184
5185static PyObject *_wrap_TreeListCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5188 wxTreeItemId *arg2 = 0 ;
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "item", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
5196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198 if (arg2 == NULL) {
5199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5200 }
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 (arg1)->Delete((wxTreeItemId const &)*arg2);
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 Py_INCREF(Py_None); resultobj = Py_None;
5209 return resultobj;
5210 fail:
5211 return NULL;
5212}
5213
5214
5215static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5218 wxTreeItemId *arg2 = 0 ;
5219 PyObject * obj0 = 0 ;
5220 PyObject * obj1 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self",(char *) "item", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5228 if (arg2 == NULL) {
5229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5230 }
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 Py_INCREF(Py_None); resultobj = Py_None;
5239 return resultobj;
5240 fail:
5241 return NULL;
5242}
5243
5244
5245static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj;
5247 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5248 PyObject * obj0 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "self", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
5254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 (arg1)->DeleteAllItems();
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 Py_INCREF(Py_None); resultobj = Py_None;
5263 return resultobj;
5264 fail:
5265 return NULL;
5266}
5267
5268
5269static PyObject *_wrap_TreeListCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
5270 PyObject *resultobj;
5271 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5272 wxTreeItemId *arg2 = 0 ;
5273 PyObject * obj0 = 0 ;
5274 PyObject * obj1 = 0 ;
5275 char *kwnames[] = {
5276 (char *) "self",(char *) "item", NULL
5277 };
5278
5279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
5280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5282 if (arg2 == NULL) {
5283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5284 }
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 (arg1)->Expand((wxTreeItemId const &)*arg2);
5288
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 Py_INCREF(Py_None); resultobj = Py_None;
5293 return resultobj;
5294 fail:
5295 return NULL;
5296}
5297
5298
5299static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5302 wxTreeItemId *arg2 = 0 ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "self",(char *) "item", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
5310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 if (arg2 == NULL) {
5313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326}
5327
5328
5329static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5332 wxTreeItemId *arg2 = 0 ;
5333 PyObject * obj0 = 0 ;
5334 PyObject * obj1 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self",(char *) "item", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
5340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5342 if (arg2 == NULL) {
5343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5344 }
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 (arg1)->Collapse((wxTreeItemId const &)*arg2);
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 Py_INCREF(Py_None); resultobj = Py_None;
5353 return resultobj;
5354 fail:
5355 return NULL;
5356}
5357
5358
5359static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj;
5361 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5362 wxTreeItemId *arg2 = 0 ;
5363 PyObject * obj0 = 0 ;
5364 PyObject * obj1 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self",(char *) "item", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
5370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5372 if (arg2 == NULL) {
5373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5374 }
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 Py_INCREF(Py_None); resultobj = Py_None;
5383 return resultobj;
5384 fail:
5385 return NULL;
5386}
5387
5388
5389static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject *resultobj;
5391 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5392 wxTreeItemId *arg2 = 0 ;
5393 PyObject * obj0 = 0 ;
5394 PyObject * obj1 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self",(char *) "item", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
5400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 if (arg2 == NULL) {
5403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5404 }
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 (arg1)->Toggle((wxTreeItemId const &)*arg2);
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 Py_INCREF(Py_None); resultobj = Py_None;
5413 return resultobj;
5414 fail:
5415 return NULL;
5416}
5417
5418
5419static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5422 PyObject * obj0 = 0 ;
5423 char *kwnames[] = {
5424 (char *) "self", NULL
5425 };
5426
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
5428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 (arg1)->Unselect();
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 Py_INCREF(Py_None); resultobj = Py_None;
5437 return resultobj;
5438 fail:
5439 return NULL;
5440}
5441
5442
5443static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj;
5445 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5446 PyObject * obj0 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
5452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->UnselectAll();
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 Py_INCREF(Py_None); resultobj = Py_None;
5461 return resultobj;
5462 fail:
5463 return NULL;
5464}
5465
5466
5467static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5470 wxTreeItemId *arg2 = 0 ;
5471 bool arg3 = (bool) True ;
5472 bool arg4 = (bool) False ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 PyObject * obj2 = 0 ;
5476 PyObject * obj3 = 0 ;
5477 char *kwnames[] = {
5478 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
5479 };
5480
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5484 if (arg2 == NULL) {
5485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5486 }
5487 if (obj2) {
a41e16b6
RD
5488 {
5489 arg3 = (bool) SPyObj_AsBool(obj2);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
44127b65
RD
5492 }
5493 if (obj3) {
a41e16b6
RD
5494 {
5495 arg4 = (bool) SPyObj_AsBool(obj3);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
44127b65
RD
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 Py_INCREF(Py_None); resultobj = Py_None;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510}
5511
5512
5513static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5516 wxTreeItemId *arg2 = 0 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "item", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5525 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5526 if (arg2 == NULL) {
5527 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5528 }
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 Py_INCREF(Py_None); resultobj = Py_None;
5537 return resultobj;
5538 fail:
5539 return NULL;
5540}
5541
5542
5543static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5546 wxTreeItemId *arg2 = 0 ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "item", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5556 if (arg2 == NULL) {
5557 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5558 }
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570}
5571
5572
5573static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5576 wxPoint *arg2 = 0 ;
5577 int *arg3 = 0 ;
5578 int *arg4 = 0 ;
5579 wxTreeItemId result;
5580 wxPoint temp2 ;
5581 int temp3 ;
5582 int temp4 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "point", NULL
5587 };
5588
5589 arg3 = &temp3;
5590 arg4 = &temp4;
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 {
5594 arg2 = &temp2;
5595 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 {
5605 wxTreeItemId * resultptr;
5606 resultptr = new wxTreeItemId((wxTreeItemId &) result);
5607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
5608 }
5609 {
5610 PyObject *o = PyInt_FromLong((long) (*arg3));
5611 resultobj = t_output_helper(resultobj,o);
5612 }
5613 {
5614 PyObject *o = PyInt_FromLong((long) (*arg4));
5615 resultobj = t_output_helper(resultobj,o);
5616 }
5617 return resultobj;
5618 fail:
5619 return NULL;
5620}
5621
5622
5623static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5626 wxTreeItemId *arg2 = 0 ;
5627 bool arg3 = (bool) False ;
5628 PyObject *result;
5629 PyObject * obj0 = 0 ;
5630 PyObject * obj1 = 0 ;
5631 PyObject * obj2 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self",(char *) "item",(char *) "textOnly", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5639 if (arg2 == NULL) {
5640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5641 }
5642 if (obj2) {
a41e16b6
RD
5643 {
5644 arg3 = (bool) SPyObj_AsBool(obj2);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
44127b65
RD
5647 }
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = result;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
5662static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5665 wxTreeItemId *arg2 = 0 ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "item", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 if (arg2 == NULL) {
5676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689}
5690
5691
5692static PyObject *_wrap_TreeListCtrl_Edit(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5695 wxTreeItemId *arg2 = 0 ;
5696 PyObject * obj0 = 0 ;
5697 PyObject * obj1 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self",(char *) "item", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5705 if (arg2 == NULL) {
5706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5707 }
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 (arg1)->Edit((wxTreeItemId const &)*arg2);
5711
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 Py_INCREF(Py_None); resultobj = Py_None;
5716 return resultobj;
5717 fail:
5718 return NULL;
5719}
5720
5721
5722static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5725 wxTreeItemId *arg2 = 0 ;
5726 PyObject * obj0 = 0 ;
5727 PyObject * obj1 = 0 ;
5728 char *kwnames[] = {
5729 (char *) "self",(char *) "item", NULL
5730 };
5731
5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
5733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 if (arg2 == NULL) {
5736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5737 }
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749}
5750
5751
5752static PyObject *_wrap_TreeListCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5755 wxTreeItemId *arg2 = 0 ;
5756 int result;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char *kwnames[] = {
5760 (char *) "self",(char *) "item", NULL
5761 };
5762
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemSelectedImage",kwnames,&obj0,&obj1)) goto fail;
5764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5766 if (arg2 == NULL) {
5767 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5768 }
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 result = (int)((wxPyTreeListCtrl const *)arg1)->GetItemSelectedImage((wxTreeItemId const &)*arg2);
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 resultobj = PyInt_FromLong((long)result);
5777 return resultobj;
5778 fail:
5779 return NULL;
5780}
5781
5782
5783static PyObject *_wrap_TreeListCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject *resultobj;
5785 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5786 wxTreeItemId *arg2 = 0 ;
5787 int arg3 ;
5788 PyObject * obj0 = 0 ;
5789 PyObject * obj1 = 0 ;
5790 char *kwnames[] = {
5791 (char *) "self",(char *) "item",(char *) "image", NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetItemSelectedImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
5795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 if (arg2 == NULL) {
5798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5799 }
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 (arg1)->SetItemSelectedImage((wxTreeItemId const &)*arg2,arg3);
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 Py_INCREF(Py_None); resultobj = Py_None;
5808 return resultobj;
5809 fail:
5810 return NULL;
5811}
5812
5813
5814static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5817 wxWindow *result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
5828
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 {
5833 resultobj = wxPyMake_wxObject(result);
5834 }
5835 return resultobj;
5836 fail:
5837 return NULL;
5838}
5839
5840
5841static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5844 wxWindow *result;
5845 PyObject * obj0 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 {
5860 resultobj = wxPyMake_wxObject(result);
5861 }
5862 return resultobj;
5863 fail:
5864 return NULL;
5865}
5866
5867
5868static PyObject * TreeListCtrl_swigregister(PyObject *self, PyObject *args) {
5869 PyObject *obj;
5870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5871 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
5872 Py_INCREF(obj);
5873 return Py_BuildValue((char *)"");
5874}
5875static PyMethodDef SwigMethods[] = {
5876 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS },
5877 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS },
5878 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS },
5879 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS },
5880 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
5881 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
5882 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
5883 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS },
5884 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS },
5885 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS },
5886 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS },
5887 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS },
5888 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS },
5889 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS },
5890 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS },
5891 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS },
5892 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS },
5893 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS },
5894 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS },
5895 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS },
5896 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5897 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS },
5898 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS },
5899 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS },
5900 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
5901 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
5902 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
5903 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS },
5904 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS },
5905 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5906 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5907 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5908 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS },
5909 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5910 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS },
5911 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS },
5912 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS },
5913 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
5914 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
5915 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS },
5916 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5917 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS },
5918 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
5919 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5920 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS },
5921 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
5922 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS },
5923 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS },
5924 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5925 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS },
5926 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS },
5927 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS },
5928 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS },
5929 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5930 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS },
5931 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS },
5932 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS },
5933 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS },
5934 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS },
5935 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS },
5936 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS },
5937 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
5938 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5939 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
5940 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
5941 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
5942 { (char *)"TreeListCtrl_GetSpacing", (PyCFunction) _wrap_TreeListCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
5943 { (char *)"TreeListCtrl_SetSpacing", (PyCFunction) _wrap_TreeListCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
5944 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS },
5945 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS },
5946 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5947 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
5948 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS },
5949 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5950 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
5951 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS },
5952 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
5953 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
5954 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS },
5955 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS },
5956 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS },
5957 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
5958 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
5959 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS },
5960 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
5961 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5962 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5963 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS },
5964 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS },
5965 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS },
5966 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS },
5967 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
5968 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
5969 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS },
5970 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS },
5971 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
5972 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS },
5973 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5974 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
5975 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5976 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5977 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5978 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5979 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
5980 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
5981 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5982 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
5983 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
5984 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5985 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
5986 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS },
5987 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
5988 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5989 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
5990 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
5991 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5992 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
5993 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
5994 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
5995 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
5996 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
5997 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5998 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
5999 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
6000 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
6001 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
6002 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
6003 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
6004 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
6005 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
6006 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
6007 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
6008 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS },
6009 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
6010 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
6011 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
6012 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
6013 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
6014 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
6015 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
6016 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
6017 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
6018 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS },
6019 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
6020 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
6021 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
6022 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
6023 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
6024 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
6025 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
6026 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
6027 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
6028 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
6029 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
6030 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS },
6031 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
6032 { (char *)"TreeListCtrl_GetItemSelectedImage", (PyCFunction) _wrap_TreeListCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
6033 { (char *)"TreeListCtrl_SetItemSelectedImage", (PyCFunction) _wrap_TreeListCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
6034 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS },
6035 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
6036 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS },
6037 { NULL, NULL }
6038};
6039
6040
6041/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
6042
6043static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
6044 return (void *)((wxValidator *) ((wxPyValidator *) x));
6045}
6046static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
6047 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
6048}
6049static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
6050 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
6051}
6052static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
6053 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
6054}
6055static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
6056 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
6057}
6058static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
6059 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
6060}
6061static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
6062 return (void *)((wxPanel *) ((wxPyPanel *) x));
6063}
6064static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
6065 return (void *)((wxPanel *) ((wxEditableListBox *) x));
6066}
6067static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
6068 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
6069}
6070static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
6071 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
6072}
6073static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
6074 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
6075}
6076static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
6077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
6078}
6079static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
6080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
6081}
6082static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
6083 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
6084}
6085static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
6086 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
6087}
6088static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
6089 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
6090}
6091static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
6092 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
6093}
6094static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
6095 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
6096}
6097static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
6098 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
6099}
6100static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
6101 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
6102}
6103static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
6104 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
6105}
6106static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
6107 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
6108}
6109static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
6110 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
6111}
6112static void *_p_wxPyControlTo_p_wxWindow(void *x) {
6113 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
6114}
6115static void *_p_wxControlTo_p_wxWindow(void *x) {
6116 return (void *)((wxWindow *) ((wxControl *) x));
6117}
6118static void *_p_wxGaugeTo_p_wxWindow(void *x) {
6119 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
6120}
6121static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
6122 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
6123}
6124static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
6125 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
6126}
6127static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
6128 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
6129}
6130static void *_p_wxChoiceTo_p_wxWindow(void *x) {
6131 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
6132}
6133static void *_p_wxListViewTo_p_wxWindow(void *x) {
6134 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
6135}
6136static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
6137 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
6138}
6139static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6140 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
6141}
6142static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
6143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
6144}
6145static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
6146 return (void *)((wxWindow *) ((wxPyWindow *) x));
6147}
6148static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
6149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
6150}
6151static void *_p_wxListbookTo_p_wxWindow(void *x) {
6152 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
6153}
6154static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
6155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
6156}
6157static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
6158 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
6159}
6160static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
6161 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
6162}
6163static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
6164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
6165}
6166static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
6167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
6168}
6169static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
6170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
6171}
6172static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
6173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
6174}
6175static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
6176 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
6177}
6178static void *_p_wxSliderTo_p_wxWindow(void *x) {
6179 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
6180}
6181static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
6182 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
6183}
6184static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
6185 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
6186}
6187static void *_p_wxListBoxTo_p_wxWindow(void *x) {
6188 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
6189}
6190static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
6191 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
6192}
6193static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
6194 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
6195}
6196static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
6197 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
6198}
6199static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
6200 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
6201}
6202static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
6203 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
6204}
6205static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
6206 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
6207}
6208static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
6209 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
6210}
6211static void *_p_wxButtonTo_p_wxWindow(void *x) {
6212 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
6213}
6214static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
6215 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
6216}
6217static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
6218 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
6219}
6220static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
6221 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
6222}
6223static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
6224 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
6225}
6226static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
6227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
6228}
6229static void *_p_wxFrameTo_p_wxWindow(void *x) {
6230 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
6231}
6232static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
6233 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
6234}
6235static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
6236 return (void *)((wxWindow *) ((wxStatusBar *) x));
6237}
6238static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
6239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
6240}
6241static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
6242 return (void *)((wxWindow *) ((wxSashWindow *) x));
6243}
6244static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
6245 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
6246}
6247static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
6248 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
6249}
6250static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
6251 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
6252}
6253static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
6254 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
6255}
6256static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
6257 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
6258}
6259static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
6260 return (void *)((wxWindow *) ((wxPopupWindow *) x));
6261}
6262static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
6263 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
6264}
6265static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
6266 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
6267}
6268static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
6269 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
6270}
6271static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
6272 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
6273}
6274static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
6275 return (void *)((wxWindow *) ((wxMenuBar *) x));
6276}
6277static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
6278 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
6279}
6280static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
6281 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
6282}
6283static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
6284 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
6285}
6286static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
6287 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
6288}
6289static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
6290 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
6291}
6292static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
6293 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
6294}
6295static void *_p_wxDialogTo_p_wxWindow(void *x) {
6296 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
6297}
6298static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
6299 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
6300}
6301static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
6302 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
6303}
6304static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
6305 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
6306}
6307static void *_p_wxPanelTo_p_wxWindow(void *x) {
6308 return (void *)((wxWindow *) ((wxPanel *) x));
6309}
6310static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
6311 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
6312}
6313static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
6314 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
6315}
6316static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
6317 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
6318}
6319static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
6320 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
6321}
6322static void *_p_wxToolBarTo_p_wxWindow(void *x) {
6323 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
6324}
6325static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
6326 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
6327}
6328static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
6329 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
6330}
6331static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
6332 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
6333}
6334static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
6335 return (void *)((wxControl *) ((wxBookCtrl *) x));
6336}
6337static void *_p_wxToolBarTo_p_wxControl(void *x) {
6338 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
6339}
6340static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
6341 return (void *)((wxControl *) ((wxToggleButton *) x));
6342}
6343static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
6344 return (void *)((wxControl *) ((wxRadioButton *) x));
6345}
6346static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
6347 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
6348}
6349static void *_p_wxPyControlTo_p_wxControl(void *x) {
6350 return (void *)((wxControl *) ((wxPyControl *) x));
6351}
6352static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
6353 return (void *)((wxControl *) ((wxToolBarBase *) x));
6354}
6355static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
6356 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
6357}
6358static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
6359 return (void *)((wxControl *) ((wxPyListCtrl *) x));
6360}
6361static void *_p_wxComboBoxTo_p_wxControl(void *x) {
6362 return (void *)((wxControl *) ((wxComboBox *) x));
6363}
6364static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
6365 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
6366}
6367static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
6368 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
6369}
6370static void *_p_wxScrollBarTo_p_wxControl(void *x) {
6371 return (void *)((wxControl *) ((wxScrollBar *) x));
6372}
6373static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
6374 return (void *)((wxControl *) ((wxControlWithItems *) x));
6375}
6376static void *_p_wxGaugeTo_p_wxControl(void *x) {
6377 return (void *)((wxControl *) ((wxGauge *) x));
6378}
6379static void *_p_wxStaticLineTo_p_wxControl(void *x) {
6380 return (void *)((wxControl *) ((wxStaticLine *) x));
6381}
6382static void *_p_wxListbookTo_p_wxControl(void *x) {
6383 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
6384}
6385static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
6386 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
6387}
6388static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
6389 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
6390}
6391static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
6392 return (void *)((wxControl *) ((wxCheckBox *) x));
6393}
6394static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
6395 return (void *)((wxControl *) ((wxRadioBox *) x));
6396}
6397static void *_p_wxChoiceTo_p_wxControl(void *x) {
6398 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
6399}
6400static void *_p_wxListBoxTo_p_wxControl(void *x) {
6401 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
6402}
6403static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
6404 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
6405}
6406static void *_p_wxListViewTo_p_wxControl(void *x) {
6407 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
6408}
6409static void *_p_wxNotebookTo_p_wxControl(void *x) {
6410 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
6411}
6412static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
6413 return (void *)((wxControl *) ((wxStaticBitmap *) x));
6414}
6415static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
6416 return (void *)((wxControl *) ((wxSpinCtrl *) x));
6417}
6418static void *_p_wxStaticTextTo_p_wxControl(void *x) {
6419 return (void *)((wxControl *) ((wxStaticText *) x));
6420}
6421static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
6422 return (void *)((wxControl *) ((wxStaticBox *) x));
6423}
6424static void *_p_wxSliderTo_p_wxControl(void *x) {
6425 return (void *)((wxControl *) ((wxSlider *) x));
6426}
6427static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
6428 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
6429}
6430static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
6431 return (void *)((wxControl *) ((wxSpinButton *) x));
6432}
6433static void *_p_wxButtonTo_p_wxControl(void *x) {
6434 return (void *)((wxControl *) ((wxButton *) x));
6435}
6436static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
6437 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
6438}
6439static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
6440 return (void *)((wxControl *) ((wxTextCtrl *) x));
6441}
6442static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
6443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
6444}
6445static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
6446 return (void *)((wxEvent *) ((wxMenuEvent *) x));
6447}
6448static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
6449 return (void *)((wxEvent *) ((wxCloseEvent *) x));
6450}
6451static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
6452 return (void *)((wxEvent *) ((wxMouseEvent *) x));
6453}
6454static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
6455 return (void *)((wxEvent *) ((wxEraseEvent *) x));
6456}
6457static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
6458 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
6459}
6460static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
6461 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
6462}
6463static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
6464 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
6465}
6466static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
6467 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
6468}
6469static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
6470 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
6471}
6472static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
6473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
6474}
6475static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
6476 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
6477}
6478static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
6479 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
6480}
6481static void *_p_wxPyEventTo_p_wxEvent(void *x) {
6482 return (void *)((wxEvent *) ((wxPyEvent *) x));
6483}
6484static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
6485 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
6486}
6487static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
6488 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
6489}
6490static void *_p_wxListEventTo_p_wxEvent(void *x) {
6491 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
6492}
6493static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
6494 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
6495}
6496static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
6497 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
6498}
6499static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6500 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
6501}
6502static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6503 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
6504}
6505static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
6506 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
6507}
6508static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
6509 return (void *)((wxEvent *) ((wxIdleEvent *) x));
6510}
6511static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
6512 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
6513}
6514static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
6515 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
6516}
6517static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
6518 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
6519}
6520static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
6521 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
6522}
6523static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
6524 return (void *)((wxEvent *) ((wxActivateEvent *) x));
6525}
6526static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
6527 return (void *)((wxEvent *) ((wxSizeEvent *) x));
6528}
6529static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
6530 return (void *)((wxEvent *) ((wxMoveEvent *) x));
6531}
6532static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
6533 return (void *)((wxEvent *) ((wxPaintEvent *) x));
6534}
6535static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
6536 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
6537}
6538static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
6539 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
6540}
6541static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
6542 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
6543}
6544static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
6545 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
6546}
6547static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
6548 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
6549}
6550static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
6551 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
6552}
6553static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
6554 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
6555}
6556static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
6557 return (void *)((wxEvent *) ((wxFocusEvent *) x));
6558}
6559static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
6560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
6561}
6562static void *_p_wxSashEventTo_p_wxEvent(void *x) {
6563 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
6564}
6565static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
6566 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
6567}
6568static void *_p_wxShowEventTo_p_wxEvent(void *x) {
6569 return (void *)((wxEvent *) ((wxShowEvent *) x));
6570}
6571static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
6572 return (void *)((wxEvent *) ((wxCommandEvent *) x));
6573}
6574static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
6575 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
6576}
6577static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
6578 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
6579}
6580static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
6581 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
6582}
6583static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
6584 return (void *)((wxEvent *) ((wxKeyEvent *) x));
6585}
6586static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
6587 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
6588}
6589static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
6590 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
6591}
d1e20054
RD
6592static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
6593 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
6594}
44127b65
RD
6595static void *_p_wxScrollBarTo_p_wxObject(void *x) {
6596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
6597}
6598static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
6599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
6600}
6601static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
6602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
6603}
6604static void *_p_wxEventTo_p_wxObject(void *x) {
6605 return (void *)((wxObject *) ((wxEvent *) x));
6606}
6607static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
6608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
6609}
6610static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
6611 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
6612}
6613static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
6614 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
6615}
6616static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
6617 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
6618}
6619static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
6620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
6621}
6622static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
6623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
6624}
6625static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
6626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
6627}
6628static void *_p_wxMenuItemTo_p_wxObject(void *x) {
6629 return (void *)((wxObject *) ((wxMenuItem *) x));
6630}
6631static void *_p_wxImageTo_p_wxObject(void *x) {
6632 return (void *)((wxObject *) ((wxImage *) x));
6633}
6634static void *_p_wxPySizerTo_p_wxObject(void *x) {
6635 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
6636}
6637static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
6638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
6639}
6640static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
6641 return (void *)((wxObject *) ((wxGenericDragImage *) x));
6642}
6643static void *_p_wxComboBoxTo_p_wxObject(void *x) {
6644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
6645}
6646static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
6647 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
6648}
6649static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
6650 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
6651}
6652static void *_p_wxPyAppTo_p_wxObject(void *x) {
6653 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
6654}
6655static void *_p_wxNotebookTo_p_wxObject(void *x) {
6656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
6657}
6658static void *_p_wxListItemTo_p_wxObject(void *x) {
6659 return (void *)((wxObject *) ((wxListItem *) x));
6660}
6661static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
6662 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
6663}
6664static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
6665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
6666}
6667static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
6668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
6669}
6670static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
6671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
6672}
6673static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
6674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
6675}
6676static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
6677 return (void *)((wxObject *) ((wxFindReplaceData *) x));
6678}
6679static void *_p_wxStaticLineTo_p_wxObject(void *x) {
6680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
6681}
6682static void *_p_wxValidatorTo_p_wxObject(void *x) {
6683 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
6684}
6685static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
6686 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
6687}
6688static void *_p_wxEraseEventTo_p_wxObject(void *x) {
6689 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
6690}
6691static void *_p_wxMouseEventTo_p_wxObject(void *x) {
6692 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
6693}
6694static void *_p_wxCloseEventTo_p_wxObject(void *x) {
6695 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
6696}
6697static void *_p_wxTreeEventTo_p_wxObject(void *x) {
6698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
6699}
6700static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
6701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
6702}
6703static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
6704 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
6705}
6706static void *_p_wxScrollEventTo_p_wxObject(void *x) {
6707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
6708}
6709static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
6710 return (void *)((wxObject *) ((wxPrintDialogData *) x));
6711}
6712static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
6713 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
6714}
6715static void *_p_wxPrinterTo_p_wxObject(void *x) {
6716 return (void *)((wxObject *) ((wxPrinter *) x));
6717}
6718static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
6719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
6720}
6721static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
6722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
6723}
6724static void *_p_wxGridSizerTo_p_wxObject(void *x) {
6725 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
6726}
6727static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
6728 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
6729}
6730static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
6731 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
6732}
6733static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
6734 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
6735}
6736static void *_p_wxControlTo_p_wxObject(void *x) {
6737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
6738}
6739static void *_p_wxPyControlTo_p_wxObject(void *x) {
6740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
6741}
6742static void *_p_wxContextHelpTo_p_wxObject(void *x) {
6743 return (void *)((wxObject *) ((wxContextHelp *) x));
6744}
6745static void *_p_wxColourDataTo_p_wxObject(void *x) {
6746 return (void *)((wxObject *) ((wxColourData *) x));
6747}
6748static void *_p_wxActivateEventTo_p_wxObject(void *x) {
6749 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
6750}
6751static void *_p_wxMoveEventTo_p_wxObject(void *x) {
6752 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
6753}
6754static void *_p_wxSizeEventTo_p_wxObject(void *x) {
6755 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
6756}
6757static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
6758 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
6759}
6760static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
6761 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
6762}
6763static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
6764 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
6765}
6766static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
6767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
6768}
6769static void *_p_wxIdleEventTo_p_wxObject(void *x) {
6770 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
6771}
6772static void *_p_wxStaticTextTo_p_wxObject(void *x) {
6773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
6774}
6775static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
6776 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
6777}
6778static void *_p_wxListEventTo_p_wxObject(void *x) {
6779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
6780}
6781static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
6782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
6783}
6784static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
6785 return (void *)((wxObject *) ((wxPyPrintout *) x));
6786}
6787static void *_p_wxGaugeTo_p_wxObject(void *x) {
6788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
6789}
6790static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
6791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
6792}
6793static void *_p_wxChoiceTo_p_wxObject(void *x) {
6794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
6795}
6796static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
6797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
6798}
6799static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
6800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
6801}
6802static void *_p_wxButtonTo_p_wxObject(void *x) {
6803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
6804}
6805static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
6806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
6807}
6808static void *_p_wxKeyEventTo_p_wxObject(void *x) {
6809 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
6810}
6811static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
6812 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
6813}
6814static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
6815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
6816}
6817static void *_p_wxSashEventTo_p_wxObject(void *x) {
6818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
6819}
6820static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
6821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
6822}
6823static void *_p_wxListBoxTo_p_wxObject(void *x) {
6824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
6825}
6826static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
6827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
6828}
6829static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
6830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
6831}
6832static void *_p_wxPrintDataTo_p_wxObject(void *x) {
6833 return (void *)((wxObject *) ((wxPrintData *) x));
6834}
6835static void *_p_wxFontDataTo_p_wxObject(void *x) {
6836 return (void *)((wxObject *) ((wxFontData *) x));
6837}
6838static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
6839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
6840}
6841static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
6842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
6843}
6844static void *_p_wxListbookTo_p_wxObject(void *x) {
6845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
6846}
6847static void *_p_wxFrameTo_p_wxObject(void *x) {
6848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
6849}
6850static void *_p_wxPyPanelTo_p_wxObject(void *x) {
6851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
6852}
6853static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
6854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
6855}
6856static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
6857 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
6858}
6859static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
6860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
6861}
6862static void *_p_wxFileSystemTo_p_wxObject(void *x) {
6863 return (void *)((wxObject *) ((wxFileSystem *) x));
6864}
6865static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
6866 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
6867}
6868static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
6869 return (void *)((wxObject *) ((wxPrintPreview *) x));
6870}
6871static void *_p_wxListViewTo_p_wxObject(void *x) {
6872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
6873}
6874static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
6875 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
6876}
6877static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
6878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
6879}
6880static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
6881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
6882}
6883static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
6884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
6885}
6886static void *_p_wxSizerTo_p_wxObject(void *x) {
6887 return (void *)((wxObject *) ((wxSizer *) x));
6888}
6889static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
6890 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
6891}
6892static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
6893 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
6894}
6895static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
6896 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
6897}
6898static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
6899 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
6900}
6901static void *_p_wxPaintEventTo_p_wxObject(void *x) {
6902 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
6903}
6904static void *_p_wxFSFileTo_p_wxObject(void *x) {
6905 return (void *)((wxObject *) ((wxFSFile *) x));
6906}
6907static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
6908 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
6909}
6910static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
6911 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
6912}
6913static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
6914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
6915}
6916static void *_p_wxMenuTo_p_wxObject(void *x) {
6917 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
6918}
6919static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
6920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
6921}
6922static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
6923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
6924}
6925static void *_p_wxSizerItemTo_p_wxObject(void *x) {
6926 return (void *)((wxObject *) ((wxSizerItem *) x));
6927}
6928static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
6929 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
6930}
6931static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
6932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
6933}
6934static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
6936}
6937static void *_p_wxFontDialogTo_p_wxObject(void *x) {
6938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
6939}
6940static void *_p_wxDirDialogTo_p_wxObject(void *x) {
6941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
6942}
6943static void *_p_wxColourDialogTo_p_wxObject(void *x) {
6944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
6945}
6946static void *_p_wxDialogTo_p_wxObject(void *x) {
6947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
6948}
6949static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
6950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
6951}
6952static void *_p_wxPyEventTo_p_wxObject(void *x) {
6953 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
6954}
6955static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
6956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
6957}
6958static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
6959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
6960}
6961static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
6962 return (void *)((wxObject *) ((wxEvtHandler *) x));
6963}
6964static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
6965 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
6966}
6967static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
6968 return (void *)((wxObject *) ((wxImageHandler *) x));
6969}
6970static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
6971 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
6972}
6973static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
6974 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
6975}
6976static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
6977 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
6978}
6979static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
6980 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
6981}
6982static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
6983 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
6984}
6985static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
6986 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
6987}
6988static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
6989 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
6990}
6991static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
6992 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
6993}
6994static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
6995 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
6996}
6997static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
6998 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
6999}
7000static void *_p_wxShowEventTo_p_wxObject(void *x) {
7001 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
7002}
7003static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
7004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
7005}
7006static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
7007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
7008}
7009static void *_p_wxTipWindowTo_p_wxObject(void *x) {
7010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
7011}
7012static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
7013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
7014}
7015static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
7016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
7017}
7018static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
7019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
7020}
7021static void *_p_wxSashWindowTo_p_wxObject(void *x) {
7022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
7023}
7024static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
7025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
7026}
7027static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
7028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
7029}
7030static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
7031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
7032}
44127b65
RD
7033static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
7034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
7035}
0df68c9f
RD
7036static void *_p_wxWindowTo_p_wxObject(void *x) {
7037 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
7038}
44127b65
RD
7039static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
7040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
7041}
7042static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
7043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
7044}
7045static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
7046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
7047}
7048static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
7049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
7050}
7051static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
7052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
7053}
44127b65
RD
7054static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
7055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
7056}
d1e20054
RD
7057static void *_p_wxListbookEventTo_p_wxObject(void *x) {
7058 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
7059}
44127b65
RD
7060static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
7061 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
7062}
7063static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
7064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
7065}
7066static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
7067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
7068}
7069static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
7070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
7071}
7072static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
7073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
7074}
7075static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
7076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
7077}
7078static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
7079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
7080}
7081static void *_p_wxFileDialogTo_p_wxObject(void *x) {
7082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
7083}
7084static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
7085 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
7086}
7087static void *_p_wxSliderTo_p_wxObject(void *x) {
7088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
7089}
7090static void *_p_wxPyWindowTo_p_wxObject(void *x) {
7091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
7092}
7093static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
7094 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
7095}
7096static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
7097 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
7098}
7099static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
7100 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
7101}
7102static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
7103 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
7104}
7105static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
7106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
7107}
7108static void *_p_wxHelpEventTo_p_wxObject(void *x) {
7109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
7110}
7111static void *_p_wxPanelTo_p_wxObject(void *x) {
7112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
7113}
d1e20054
RD
7114static void *_p_wxSpinEventTo_p_wxObject(void *x) {
7115 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
7116}
44127b65
RD
7117static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
7118 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
7119}
7120static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
7121 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
7122}
7123static void *_p_wxMenuEventTo_p_wxObject(void *x) {
7124 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
7125}
7126static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
7127 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
7128}
7129static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
7130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
7131}
7132static void *_p_wxCommandEventTo_p_wxObject(void *x) {
7133 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
7134}
7135static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
7136 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
7137}
7138static void *_p_wxToolBarTo_p_wxObject(void *x) {
7139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
7140}
7141static void *_p_wxStatusBarTo_p_wxObject(void *x) {
7142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
7143}
7144static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
7145 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
7146}
7147static void *_p_wxFocusEventTo_p_wxObject(void *x) {
7148 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
7149}
7150static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
7151 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
7152}
7153static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
7154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
7155}
7156static void *_p_wxMenuBarTo_p_wxObject(void *x) {
7157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
7158}
7159static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
7160 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
7161}
7162static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
7163 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
7164}
7165static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
7166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
7167}
7168static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
7169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
7170}
7171static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
7172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
7173}
7174static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
7175 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
7176}
7177static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
7178 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
7179}
7180static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
7181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
7182}
7183static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
7184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
7185}
7186static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
7187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
7188}
7189static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
7190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
7191}
7192static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
7193 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
7194}
7195static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
7196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
7197}
7198static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
7199 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
7200}
7201static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
7202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
7203}
7204static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
7205 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
7206}
7207static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
7208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
7209}
7210static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
7211 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
7212}
7213static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
7214 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
7215}
7216static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
7217 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
7218}
7219static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
7220 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
7221}
7222static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
7223 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
7224}
7225static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
7226 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
7227}
7228static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
7229 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
7230}
7231static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
7232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
7233}
7234static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
7235 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
7236}
7237static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
7238 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
7239}
7240static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
7241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
7242}
7243static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
7244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
7245}
7246static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
7247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
7248}
7249static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
7250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
7251}
7252static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
7253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
7254}
7255static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
7256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
7257}
7258static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
7259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
7260}
7261static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
7262 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
7263}
7264static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
7265 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
7266}
7267static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
7268 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
7269}
7270static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
7271 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
7272}
7273static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
7274 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
7275}
7276static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
7277 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
7278}
7279static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
7280 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
7281}
7282static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
7283 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
7284}
7285static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
7286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
7287}
7288static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
7289 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
7290}
7291static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
7292 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
7293}
7294static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
7295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
7296}
7297static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
7298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
7299}
7300static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
7301 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
7302}
7303static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
7304 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
7305}
7306static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
7307 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
7308}
7309static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
7310 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
7311}
7312static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
7313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
7314}
7315static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
7316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
7317}
7318static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
7319 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
7320}
7321static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
7322 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
7323}
7324static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
7325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
7326}
7327static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
7328 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
7329}
7330static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
7331 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
7332}
7333static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
7334 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
7335}
7336static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
7337 return (void *)((wxEvtHandler *) ((wxWindow *) x));
7338}
7339static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
7340 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
7341}
7342static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
7343 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
7344}
7345static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
7346 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
7347}
7348static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
7349 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
7350}
7351static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
7352 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
7353}
7354static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
7355 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
7356}
7357static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
7358 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
7359}
7360static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
7361 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
7362}
7363static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
7364 return (void *)((wxEvtHandler *) ((wxMenu *) x));
7365}
7366static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
7367 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
7368}
7369static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
7370 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
7371}
7372static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
7373 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
7374}
7375static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
7376 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
7377}
7378static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
7379 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
7380}
7381static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
7382 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
7383}
7384static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
7385 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
7386}
7387static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
7388 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
7389}
7390static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
7391 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
7392}
7393static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
7394 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
7395}
7396static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
7397 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
7398}
7399static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
7400 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
7401}
7402static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
7403 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
7404}
7405static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
7406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
7407}
7408static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
7409 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
7410}
7411static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
7412 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
7413}
7414static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
7415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
7416}
7417static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
7418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
7419}
7420static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
7421 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
7422}
7423static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
7424 return (void *)((wxEvtHandler *) ((wxValidator *) x));
7425}
7426static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
7427 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
7428}
7429static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
7430 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
7431}
7432static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
7433 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
7434}
7435static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
7436 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
7437}
7438static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
7439 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
7440}
7441static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
7442 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
7443}
7444static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
7445 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
7446}
7447static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
7448 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
7449}
7450static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
7451 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
7452}
7453static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
7454 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
7455}
7456static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
7457 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
7458}
7459static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
7460 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
7461}
7462static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
7463 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
7464}
7465static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
7466 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
7467}
7468static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
7469 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
7470}
7471static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
7472 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
7473}
d1e20054
RD
7474static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
7475 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
7476}
44127b65
RD
7477static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
7478 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
7479}
7480static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
7481 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
7482}
7483static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
7484 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
7485}
7486static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
7487 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
7488}
7489static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
7490 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
7491}
7492static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0},{"_p_wxEditableListBox"},{0}};
d1e20054 7493static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxObject"},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{0}};
44127b65
RD
7494static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
7495static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl},{0}};
7496static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0},{"_p_wxRemotelyScrolledTreeCtrl"},{0}};
7497static swig_type_info _swigt__p_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0},{"_p_wxTreeListColumnInfo"},{0}};
7498static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0},{"_p_wxPyTreeListCtrl"},{0}};
7499static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
7500static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
7501static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0},{"_p_wxDynamicSashWindow"},{0}};
7502static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
7503static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow},{0}};
7504static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{0}};
7505static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0},{"_p_wxPyTreeCompanionWindow"},{0}};
7506static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0},{"_p_wxThinSplitterWindow"},{0}};
7507static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0},{"_p_wxSplitterScrolledWindow"},{0}};
7508static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
d1e20054 7509static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
44127b65
RD
7510static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
7511static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0},{"_p_wxLEDNumberCtrl"},{0}};
7512static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0},{"_p_wxDynamicSashSplitEvent"},{0}};
7513static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
7514static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
7515static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{0}};
7516static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
7517static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0},{"_p_wxDynamicSashUnifyEvent"},{0}};
7518static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl},{"_p_wxListbook", _p_wxListbookTo_p_wxControl},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl},{"_p_wxListView", _p_wxListViewTo_p_wxControl},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl},{"_p_wxSlider", _p_wxSliderTo_p_wxControl},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl},{"_p_wxButton", _p_wxButtonTo_p_wxControl},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl},{0}};
7519static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
7520static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
d1e20054 7521static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
44127b65
RD
7522static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
7523
7524static swig_type_info *swig_types_initial[] = {
7525_swigt__p_wxEditableListBox,
7526_swigt__p_wxObject,
7527_swigt__p_wxColour,
7528_swigt__p_wxPyTreeCtrl,
7529_swigt__p_wxRemotelyScrolledTreeCtrl,
7530_swigt__p_wxTreeListColumnInfo,
7531_swigt__p_wxPyTreeListCtrl,
7532_swigt__p_wxImageList,
7533_swigt__p_wxScrollBar,
7534_swigt__p_wxDynamicSashWindow,
7535_swigt__p_wxScrolledWindow,
7536_swigt__p_wxSplitterWindow,
7537_swigt__p_wxWindow,
7538_swigt__p_wxPyTreeCompanionWindow,
7539_swigt__p_wxThinSplitterWindow,
7540_swigt__p_wxSplitterScrolledWindow,
7541_swigt__p_wxValidator,
7542_swigt__p_wxCommandEvent,
7543_swigt__p_wxArrayString,
7544_swigt__p_wxLEDNumberCtrl,
7545_swigt__p_wxDynamicSashSplitEvent,
7546_swigt__p_wxTreeItemId,
7547_swigt__p_wxString,
7548_swigt__p_wxEvtHandler,
7549_swigt__p_wxFont,
7550_swigt__p_wxDynamicSashUnifyEvent,
7551_swigt__p_wxControl,
7552_swigt__p_wxPanel,
7553_swigt__p_wxPyTreeItemData,
7554_swigt__p_wxEvent,
7555_swigt__p_int,
75560
7557};
7558
7559
7560/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
7561
7562static swig_const_info swig_const_table[] = {
7563{ SWIG_PY_INT, (char *)"wxEVT_DYNAMIC_SASH_SPLIT", (long) wxEVT_DYNAMIC_SASH_SPLIT, 0, 0, 0},
7564{ SWIG_PY_INT, (char *)"wxEVT_DYNAMIC_SASH_UNIFY", (long) wxEVT_DYNAMIC_SASH_UNIFY, 0, 0, 0},
7565{ SWIG_PY_INT, (char *)"DS_MANAGE_SCROLLBARS", (long) wxDS_MANAGE_SCROLLBARS, 0, 0, 0},
7566{ SWIG_PY_INT, (char *)"DS_DRAG_CORNER", (long) wxDS_DRAG_CORNER, 0, 0, 0},
7567{ SWIG_PY_INT, (char *)"EL_ALLOW_NEW", (long) wxEL_ALLOW_NEW, 0, 0, 0},
7568{ SWIG_PY_INT, (char *)"EL_ALLOW_EDIT", (long) wxEL_ALLOW_EDIT, 0, 0, 0},
7569{ SWIG_PY_INT, (char *)"EL_ALLOW_DELETE", (long) wxEL_ALLOW_DELETE, 0, 0, 0},
7570{ SWIG_PY_INT, (char *)"LED_ALIGN_LEFT", (long) wxLED_ALIGN_LEFT, 0, 0, 0},
7571{ SWIG_PY_INT, (char *)"LED_ALIGN_RIGHT", (long) wxLED_ALIGN_RIGHT, 0, 0, 0},
7572{ SWIG_PY_INT, (char *)"LED_ALIGN_CENTER", (long) wxLED_ALIGN_CENTER, 0, 0, 0},
7573{ SWIG_PY_INT, (char *)"LED_ALIGN_MASK", (long) wxLED_ALIGN_MASK, 0, 0, 0},
7574{ SWIG_PY_INT, (char *)"LED_DRAW_FADED", (long) wxLED_DRAW_FADED, 0, 0, 0},
7575{ SWIG_PY_INT, (char *)"TL_ALIGN_LEFT", (long) wxTL_ALIGN_LEFT, 0, 0, 0},
7576{ SWIG_PY_INT, (char *)"TL_ALIGN_RIGHT", (long) wxTL_ALIGN_RIGHT, 0, 0, 0},
7577{ SWIG_PY_INT, (char *)"TL_ALIGN_CENTER", (long) wxTL_ALIGN_CENTER, 0, 0, 0},
7578{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMCOLUMN", (long) wxTREE_HITTEST_ONITEMCOLUMN, 0, 0, 0},
7579{0}};
7580
7581#ifdef __cplusplus
7582}
7583#endif
7584
7585#ifdef __cplusplus
7586extern "C"
7587#endif
7588SWIGEXPORT(void) SWIG_init(void) {
7589 static PyObject *SWIG_globals = 0;
7590 static int typeinit = 0;
7591 PyObject *m, *d;
7592 int i;
7593 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
7594 m = Py_InitModule((char *) SWIG_name, SwigMethods);
7595 d = PyModule_GetDict(m);
7596
7597 if (!typeinit) {
7598 for (i = 0; swig_types_initial[i]; i++) {
7599 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
7600 }
7601 typeinit = 1;
7602 }
7603 SWIG_InstallConstants(d,swig_const_table);
7604
b2dc1044
RD
7605 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
7606 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
7607 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
7608 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
44127b65
RD
7609
7610
7611 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
7612 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
7613
7614}
7615