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