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