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