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