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