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