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