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