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